The work around is to compile Kannel with extra CFlash of -fPIC and
then reinstall, recompile MBuni and then it works fine. Here's the relevant configures for reference for anyone else doing this in the future Kannel sh configure --prefix=/kannel_installation_directory --disable-ssl --with-cflags=-fPIC MBuni sh configure --with-kannel-dir=/kannel_installation_directory --prefix=/mbuni_installation_directory -verbose --disable-bind --disable-ssl On the automake/autoconf/bootstrap issue I think the only confusing thing there is that the INSTALL file still talks about using the `configure' shell script, which was what confused me. Might be happy to rewrite this - I'm more than happy to do it and re-submit to cvs if that helps Thanks again Alex Skywire | www.skywire.co.uk T: 020 7229 0208 M: 07740 305 115 E: [EMAIL PROTECTED] 240 Portobello Road | Notting Hill | London W11 1LL Registered in England No. 04362840 | VAT No: 795 5843 67 Loïc Minier wrote: 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 -fPICOuch, 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 1Also, your toolchain seems borken if it can't read the symbols of objects it creates. Cheers, |
_______________________________________________ Devel mailing list Devel@mbuni.org http://mbuni.org/mailman/listinfo/devel_mbuni.org