Jean-Marc Lasgouttes wrote: > > >>>>> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: > > Helge> Dropping --enable-shared didn't seem to help: > > The problem is probably to know why configure decided that you do not > have strchr or bcopy. Could you send the snippet of your config.log > file that mention them?
configure:12832: checking for strchr configure:12860: gcc -o conftest -g -O2 -isystem /usr/X11R6/include conftest.c -ljpeg -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 1>&5 /usr/bin/ld: cannot find -ljpeg collect2: ld returned 1 exit status configure: failed program was: #line 12837 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char strchr(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strchr(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_strchr) || defined (__stub___strchr) choke me #else strchr(); #endif Hm. Looks like the test program for "strchr" failed because it wouldn't link! I'll install libjpeg-dev and see if that fixes this. Thanks for the tip! Ideally, the test ought to be more robust - or why bother having it... Helge Hafting