우분투 7.04에서 FreeDCE 설치시 오류 사항
dcethreads 2.0.2
freedce 1.1.0.7
를 설치하기 위해, 우선 dcethreades 2.0.2를 ./configure 한후, ./make를 했습니다.
이에 오류가 발생하였는데, 어떻게 오류를 수정해야 할지 몰라서 이렇게 질문을 올리게 되
었습니다.
/*혹시 몰라 소스파일과 오류난 부분에 대한 txt 화일도 첨부합니다.*/
./configure 결과화면
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ksic@ksic-desktop:~/Desktop/backup-files/dcethreads-2.0.2$ sudo ./configure
Password:
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for mawk... (cached) mawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking for pthread_create in -lpthread... (cached) yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for fcntl.h... (cached) yes
checking for malloc.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for features.h... (cached) yes
checking for sys/cdefs.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for 8-bit clean memcmp... (cached) yes
checking for gettimeofday... (cached) yes
creating ./config.status
creating Makefile
creating include/Makefile
creating include/dce/Makefile
creating src/Makefile
creating tests/Makefile
creating include/dce/dcethreads_conf.h
include/dce/dcethreads_conf.h is unchanged
ksic@ksic-desktop:~/Desktop/backup-files/dcethreads-2.0.2$
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
./make 시 오류화면
---------------------------------------------------------------------------------------
ksic@ksic-desktop:~/Desktop/backup-files/dcethreads-2.0.2$ sudo make
Making all in include
make[1]: Entering directory `/home/ksic/Desktop/backup-files/dcethreads-2.0.2/include'
Making all in dce
make[2]: Entering directory `/home/ksic/Desktop/backup-files/dcethreads-2.0.2/include/dce'
make[2]: Leaving directory `/home/ksic/Desktop/backup-files/dcethreads-2.0.2/include/dce'
make[2]: Entering directory `/home/ksic/Desktop/backup-files/dcethreads-2.0.2/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ksic/Desktop/backup-files/dcethreads-2.0.2/include'
make[1]: Leaving directory `/home/ksic/Desktop/backup-files/dcethreads-2.0.2/include'
Making all in src
make[1]: Entering directory `/home/ksic/Desktop/backup-files/dcethreads-2.0.2/src'
/bin/sh ../libtool --mode=compile gcc -DCOMPILING_DCETHREADS -D_GNU_SOURCE -D_REENTRANT -I../include -Wall -W -Werror -pipe -g -O2 -c exc_handling.c
rm -f .libs/exc_handling.lo
gcc -DCOMPILING_DCETHREADS -D_GNU_SOURCE -D_REENTRANT -I../include -Wall -W -Werror -pipe -g -O2 -c exc_handling.c -fPIC -DPIC -o .libs/exc_handling.lo
cc1: warnings being treated as errors
In file included from exc_handling.c:112:
../include/dce/exc_handling.h: In function '_exc_push_buf':
../include/dce/exc_handling.h:568: warning: dereferencing type-punned pointer will break strict-aliasing rules
../include/dce/exc_handling.h:575: warning: implicit declaration of function '_pthread_cleanup_push_defer'
../include/dce/exc_handling.h: In function '_exc_pop_buf':
../include/dce/exc_handling.h:584: warning: dereferencing type-punned pointer will break strict-aliasing rules
../include/dce/exc_handling.h:591: warning: implicit declaration of function '_pthread_cleanup_pop_restore'
exc_handling.c: In function 'exc_library_fatal_error':
exc_handling.c:745: warning: implicit declaration of function 'pthread_kill_other_threads_np'
make[1]: *** [exc_handling.lo] Error 1
make[1]: Leaving directory `/home/ksic/Desktop/backup-files/dcethreads-2.0.2/src'
make: *** [all-recursive] Error 1
ksic@ksic-desktop:~/Desktop/backup-files/dcethreads-2.0.2$
----------------------------------------------------------------------------------------------------------------------
첨부 | 파일 크기 |
---|---|
![]() | 670 KB |
포기하세요
dcethreads는 요즘 리눅스에서 별로 돌아갈 가망이 없습니다. 포기하시기를 권합니다.
당장 에러난 부분은 경고를 에러로 처리하는 -Werror 옵션 때문에 난 것이니 make 하는 대신 make CFLAGS=-Wno-error 하면 해결되겠습니다만 다른 에러가 계속 발생할 것입니다.
댓글 달기