On Sun, Oct 30, 2005, Alex Judd wrote: > gcc -shared .libs/mms_billing_shell.o -ldl > -L//kannel_installation_directory/lib/kannel -lwap -lgwlib -lrt > /usr/lib64/libbind.so -L/usr/kerberos/lib -L/usr/kerberos/lib64 -lresolv > -lnsl -lxml2 -lz -lpthread -lm -Wl,-soname > -Wl,libmmsc_billing_shell.so.0 -o .libs/libmmsc_billing_shell.so.0.0.0 > /usr/bin/ld: > /kannel_installation_directory/lib/kannel/libgwlib.a(gwmem-native.o): > relocation R_X86_64_32 against `a local symbol' can not be used when > making a shared object; recompile with -fPIC
Ouch, your Kannel is built without -fPIC, that means the code is not relocatable. This seems to prevent any linking with it. I suggest you rebuild your kannel with -fPIC in your CFLAGS. You seem to be using an amd64 host or similar, and I never tried building Kannel or Mbuni on that. > /kannel_installation_direcotry/lib/kannel/libgwlib.a: could not read > symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [libmmsc_billing_shell.la] Error 1 Also, your toolchain seems borken if it can't read the symbols of objects it creates. Cheers, -- Loïc Minier <[EMAIL PROTECTED]> "What do we want? BRAINS! When do we want it? BRAINS!" _______________________________________________ Devel mailing list Devel@mbuni.org http://mbuni.org/mailman/listinfo/devel_mbuni.org