python3 rebuild libtdb hata
['x86_64-pc-linux-gnu-gcc', 'test.c.1.o', '-o/var/pisi/libtdb-1.4.3-8/work/tdb-1.4.3/bin/.conf_check_5ee5b14e530ad9d2301d004a6951bc7a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lpython3.8', '-lcrypt', '-ldl', '-lutil', '-lm', '-lm', '-lpython3.8', '-lcrypt', '-ldl', '-lutil', '-lm', '-lm', '-Wl,-O1', '-Wl,-z,relro', '-Wl,--hash-style=gnu', '-Wl,--as-needed', '-Wl,--sort-common'] err: /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_detach' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `sem_post' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_sigmask' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_attr_setstacksize' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_getspecific' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `sem_trywait' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_condattr_setclock' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `sem_timedwait' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_key_create' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_kill' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `sem_wait' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_setspecific' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `sem_init' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_key_delete' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_create' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `sem_destroy' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib/libpython3.8.so: undefined reference to `pthread_getcpuclockid' collect2: error: ld returned 1 exit status
This commit is contained in:
@@ -31,7 +31,7 @@ def setup():
|
||||
shelltools.export("CFLAGS", "-I%s/temp/include -O3" %get.workDIR())
|
||||
shelltools.export("LDFLAGS", "-L%s/temp/lib -lbz2 -lpthread -ldl" %get.workDIR())
|
||||
# fix unused direct dependency analysis
|
||||
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
|
||||
#shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
|
||||
autotools.rawConfigure("\
|
||||
--prefix=/usr \
|
||||
--enable-shared \
|
||||
|
||||
Reference in New Issue
Block a user