[htdig] Compiler problems (unrelated to ht://Dig)


Brett Baugh (brett.baugh@cyberplex.com)
Wed, 12 May 1999 10:10:08 -0500


This actually doesn't happen with ht://Dig, but I've exhausted all
other programming resources I can think of and haven't found an answer
to this question yet. I'm assuming the reason it doesn't happen with
htdig is because it doesn't use threads, or has its own thread lib...
but I could be wrong. Anyway, as the only untapped source of
compiler-savvy persons, you're my only hope, and all that... :)

Whenever I try to compile something like mysql, or apache, or
windowmaker, or anything else fairly complex that uses threads of some
form or another (pthreads, linuxthreads, the threads that come in
libc6, etc) the compile goes flawlessly but when it goes to link it, I
get... well, here's an example of what I get from trying to compile
apache 1.3.6:

----------------------------------------
gcc -DLINUX=2 -DUSE_HSREGEX `./apaci` \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/libregex.a -Lmodules/php3 -L../modules/php3
-L../../modules/php3 -lmodphp3 -Wl,-rpath,/usr/local/lib/mysql
-L/usr/local/lib/mysql -lmysqlclient -L/usr/local/lib -lgd
-L/usr/local/lib -lz -L/usr/local/lib
/usr/local/lib/c-client.a -lm -ldl -lm -ldbm -lgdbm
main/libmain.a(http_main.o): In function `child_main':
http_main.o(.text+0x2d0b): undefined reference to `__sigsetjmp'
main/libmain.a(http_main.o): In function `main':
http_main.o(.text+0x4250): undefined reference to `__sigsetjmp'
main/libmain.a(rfc1413.o): In function `ap_rfc1413':
rfc1413.o(.text+0x3a2): undefined reference to `__sigsetjmp'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
----------------------------------------

Now, __sigsetjmp I know should be in libc6. This is happening on a
fresh, new slackware 3.6 install, 2.2.6 kernel, gcc version 2.91.66
19990314 (egcs-1.1.2), and with the runtime glibc libs installed. If
anyone has any ideas, I would be vastly interested in hearing them...

Thanks,
-Brett Baugh
 System Administrator, CyberPlex Southwest
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Wed May 12 1999 - 08:21:34 PDT