cubrid team mailing list archive
-
cubrid team
-
Mailing list archive
-
Message #00024
Re: 컴파일 중 오류...
LDFLAGS 관련 빌드 에러는
https://bugs.launchpad.net/ubuntu/+source/lives/+bug/481085
<https://bugs.launchpad.net/ubuntu/+source/lives/+bug/481085>와 관련되어있는 듯 하고요
위의 버전에서 해결되었다하네요.
그리고,
../src/base/dynamic_load.c:2087: error: ‘struct nlist’ has no member named
‘n_name’
관련 에러는
libelf-dev 패키지를 설치하면 해결되는 것으로 기억합니다~ (/usr/include/nlist.h 헤더파일이 있어야 합니다.)
2010/1/19 jc k <shriekout@xxxxxxxxx>
> 일단 configure 에서 LDFLAGS 플래그 문제는 호환성 무시하고
> ./configure --prefix=/usr --with-jdk=/usr/lib/jvm/default-java
> --with-libedit=/usr --with-lzo2=/usr --with-pcre=/usr --with-gc=/usr
> 'CFLAGS=-g -O2' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' 'FFLAGS=-g -O2'
> 'LDFLAGS=-Wl,-Bsymbolic-functions' --cache-file=/dev/null --srcdir=.
> 이렇게 옵션을 줘서 통과했습니다만..
> 이번에는 make 도중에 오류가 나는군요 ;;
>
> ../src/base/dynamic_load.c: In function ‘dl_resolve_symbol’:
> ../src/base/dynamic_load.c:2087: error: ‘struct nlist’ has no member named
> ‘n_name’
> ../src/base/dynamic_load.c:2093: error: ‘struct nlist’ has no member named
> ‘n_name’
> ../src/base/dynamic_load.c:2110: error: ‘struct nlist’ has no member named
> ‘n_name’
> ../src/base/dynamic_load.c:2121: error: ‘struct nlist’ has no member named
> ‘n_name’
> ../src/base/dynamic_load.c:2130: error: ‘struct nlist’ has no member named
> ‘n_name’
> ../src/base/dynamic_load.c:2137: error: ‘struct nlist’ has no member named
> ‘n_name’
> make[3]: *** [dynamic_load.lo] 오류 1
> make[3]: Leaving directory
> `/home/shriekout/source/cubrid/cubrid-8.2.1.661/sa'
> make[2]: *** [all-recursive] 오류 1
> make[2]: Leaving directory `/home/shriekout/source/cubrid/cubrid-8.2.1.661'
> make[1]: *** [all] 오류 2
> make[1]: Leaving directory `/home/shriekout/source/cubrid/cubrid-8.2.1.661'
> dh_auto_build: make returned exit code 2
> make: *** [binary] 오류 1
>
> /usr/include/a.out.h 를 보니...
> #if !defined (N_NLIST_DECLARED)
> struct nlist
> {
> union
> {
> char *n_name;
> struct nlist *n_next;
> long n_strx;
> } n_un;
> unsigned char n_type;
> char n_other;
> short n_desc;
> unsigned long n_value;
> };
> #endif /* no N_NLIST_DECLARED. */
>
> 이렇게 되어 있는데요...
> 전에 제 시스템에서 컴파일은 잘 되었었는데...
> 제가 유저 불량일까요? ㅠㅠ
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cubrid
> Post to : cubrid@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~cubrid
> More help : https://help.launchpad.net/ListHelp
>
>
References