From: Christian B. <chr...@gm...> - 2006-04-30 14:09:52
|
Daichi Kawahata wrote: > Checking whether socker_get() is available... > (Could not compile the test program, socker will not be used) =20 > $ socker-config --libs > -L/usr/local/lib32 -Wl,-rpath,/usr/local/lib32 -lsocker > $ socker-config --cflags > -I/usr/local/include > $ socker-config --version > 1 >=20 > I've changed d_socker_get.U so that $socker_ldflags is located > right after try.c: >=20 > 40 elif $cc $ccflags $socker_cflags $ldflags $socker_ldflags \ > 41 -o try try.c $socker_ldflags >/dev/null 2>&1 >=20 > 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 =3D socker_get(1, 2, 3, "", 5); return 0; } EOC cc $(socker-config --cflags) $(socker-config --libs) -o try try.c --=20 Christian |