Daichi Kawahata wrote: > Checking whether socker_get() is available... > (Could not compile the test program, socker will not be used) > $ socker-config --libs > -L/usr/local/lib32 -Wl,-rpath,/usr/local/lib32 -lsocker > $ socker-config --cflags > -I/usr/local/include > $ socker-config --version > 1 > > I've changed d_socker_get.U so that $socker_ldflags is located > right after try.c: > > 40 elif $cc $ccflags $socker_cflags $ldflags $socker_ldflags \ > 41 -o try try.c $socker_ldflags >/dev/null 2>&1 > > But that doesn't help (at least manually compilation works here).
Is the duplicate $socker_ldflags above the problem? Could you
try to the following and tell me what compiler or linker
errors you get?
cat <<EOC > try.c
#include <socker.h>
int main(void) { int fd = socker_get(1, 2, 3, "", 5); return 0; }
EOC
cc $(socker-config --cflags) $(socker-config --libs) -o try try.c
--
Christian
pgpPt65xXL0ir.pgp
Description: PGP signature
