Hi Fellas,
I'm new to this list and also to sofia-sip and sip in general - but not
to linux in particular - at least i thought so ;)
well the problem i encounter is in libtool/automake et al. i assume ...
- i have a target system - lets say its a mips based one.
- my host is an i686 running gentoo linux
- i have successfully built a cross compile toolchain
- i have successfully compiled and installed some packages into a
nfsroot using gentoo's emerge and ROOT environment variable
- with this i have created a running system based on uclibc
- i have successfully emerged glib-2.0
- but whenever i want to emerge sofia-sip - or compile by hand via
./configure && make - i have the problem that libtool wants to link
against /usr/lib/libglib-2.0.so - which obviously is in the wrong
file format (i386)
i have hacked configure and libtool but at no success at all - so i
wound be very happy if someone could give me a point where to start ...
i'm using sofia-sip-1.11.9 - if any other sw version is important,
please ask - i'm sure i can provide it !!!
here is the call of configure
PKG_CONFIG_LIBDIR=/nfsroot/gentoo-mips-unknown-linux-uclibc/usr/lib/pkgconfig \
./configure --prefix=/usr \
--host=mips-unknown-linux-uclibc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--datadir=/usr/share \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--without-gstreamer \
--target=mips-unknown-linux-uclibc \
--build=i686-pc-linux-gnu
what i have tried so far:
- specifying all sort of configure parameters:
--with-glib-dir, --with-glib
- specifying CPPFLAGS and LDFLAGS to point into my /nfsroot/...
- hacking the installed .pc files to have prefix=/nfsroot/.../usr
- and a hell of other things ... but nothing worked ... :(((
here are the last lines of make's output:
/bin/sh ../../libtool --tag=CC --mode=link mips-unknown-linux-uclibc-gcc
-g -O2 -Wall -L/nfsroot/gentoo-mips-unknown-linux-uclibc/lib
-L/nfsroot/gentoo-mips-unknown-linux-uclibc/usr/lib -o su_source_test
su_source_test.o libsu-glib.la ../../libsofia-sip-ua/libsofia-sip-ua.la
-L/nfsroot/gentoo-mips-unknown-linux-uclibc/usr/lib -lglib-2.0 -lintl
-lpthread
mips-unknown-linux-uclibc-gcc -g -O2 -Wall -o .libs/su_source_test
su_source_test.o -L/nfsroot/gentoo-mips-unknown-linux-uclibc/lib
-L/nfsroot/gentoo-mips-unknown-linux-uclibc/usr/lib ./.libs/libsu-glib.a
../../libsofia-sip-ua/.libs/libsofia-sip-ua.so /usr/lib/libglib-2.0.so -lintl
-lpthread
/usr/lib/libglib-2.0.so: file not recognized: File format is ambiguous
/usr/lib/libglib-2.0.so: matching formats: elf32-i386-freebsd elf32-i386
can anyone help please ?
thanks a lot,
marcus.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel