[EMAIL PROTECTED], le Wed 05 Mar 2008 10:19:50 +0100, a écrit : > gcc -Wall -static -Wl,-export-dynamic -o tbltest tbltest.o program.o > options.o misc.o io_misc.o queue.o async.o keyboard.o sys_linux.o lock.o > charset.o tbl.o tbl_native.o tbl_gnome.o -ldl -lpthread -lsupc++ -L. > -lbrlapi -lncurses > ../libbrlapi.a(brlapi_client.o): In function `tryHost': > /home/mrkiko/src/brltty/Programs/./brlapi_client.c:468: warning: Using > 'getaddrinfo' in statically linked applications requires at runtime the > shared libraries from the glibc version used for linking > ../libbrlapi.a(brlapi_client.o): In function `brlapi__waitForPacket': > brlapi_client.c:(.text+0x136e): undefined reference to `sem_init'
Ah, the order in the -l flags is incorrect: -lpthread should happen (or repeated) after -lbrlapi. BTW, Dave, I can see -licuuc -lsupc++ in API_LIBRARIES. These shouldn't be set, because that makes libbrlapi.so depend on libicuuc.so and libsupc++.so (and then a packaging dependency) for no reason. [EMAIL PROTECTED], le Wed 05 Mar 2008 10:19:50 +0100, a écrit : > ../autogen && ./configure --disable-relocatable-install > --disable-table-selection --disable-contracted-braille > --enable-beeper-support --disable-midi-support --disable-fm-support > --disable-pm-configfile --disable-api --enable-standalone-programs > --disable-usb-support --disable-bluetooth-support --disable-speech-support > --with-braille-driver=al --with-text-table=de --with-screen-driver=lx > --prefix=/ --exec-prefix=/ --disable-gpm &&make && strip Programs/brltty Now, that said, I'd say --disable-api here should have disabled the compilation of libbrlapi. Issue in configure.ac. Samuel _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty