I am also facing same problem here. I want to cross-compile libjingle for arm-linux. But ./configure does not detect glib2.0. Is there Anyone who has cross-compiled libjingle for arm-linux.
Thanks in advance. On Aug 28, 6:31 pm, zoranez <[EMAIL PROTECTED]> wrote: > I am trying tocrosscompilelibjingle with crosstool- > gcc_3.3.4_glibc_2.3.2-mipsel-linux-gnu ... and I have a problem Have > it in mind please, I am newbie here :) > > I configured libjingle with: > > ./configure --host=mipsel-linux-gnu --with-speex=$(INSTALLDIR)/usr/ > local --with-ilbc=$(INSTALLDIR)/usr/local > LDFLAGS=" -L$(INSTALLDIR)usr/local/lib -lexpat > -L$(INSTALLDIR)/usr/local/ssl/lib -lssl " > CPPFLAGS=" -I$(INSTALLDIR)usr/local/include > -I$(INSTALLDIR)usr/include > -I$(INSTALLDIR)/usr/local/ssl/include" > > The problem is I cannot set the path for glib libraries. Crosstool has > the 1.2 version, libjingle requires 2.0. I have the right one > installed in $(INSTALLDIR)/usr/local. But the default path for glib > is /usr/local/ and I cannot change it (I mean I don't know, something > like --with-glib does not exist, and everything I tried was a > failure)! > > Here is the configure list: > > checking build system type... i686-pc-linux-gnu > checking host system type... mipsel-unknown-linux-gnu > checking target system type... mipsel-unknown-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for mipsel-linux-gnu-strip... mipsel-linux-gnu-strip > checking for mipsel-linux-gnu-gcc... mipsel-linux-gnu-gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we arecrosscompiling... yes > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether mipsel-linux-gnu-gcc accepts -g... yes > checking for mipsel-linux-gnu-gcc option to accept ANSI C... none > needed > checking for style of include used by make... GNU > checking dependency style of mipsel-linux-gnu-gcc... gcc3 > checking for mipsel-linux-gnu-g++... mipsel-linux-gnu-g++ > checking whether we are using the GNU C++ compiler... yes > checking whether mipsel-linux-gnu-g++ accepts -g... yes > checking dependency style of mipsel-linux-gnu-g++... gcc3 > checking for a sed that does not truncate output... /bin/sed > checking for egrep... grep -E > checking for ld used by mipsel-linux-gnu-gcc... /opt/wischip/mipsel- > linux-gnu/gcc-3.3.4-glibc-2.3.2/m/bin/ld > checking if the linker (/opt/wischip/mipsel-linux-gnu/gcc-3.3.4- > glibc-2.3.2/mipsel-linux-gnu/bin/ld) s > checking for /opt/wischip/mipsel-linux-gnu/gcc-3.3.4-glibc-2.3.2/ > mipsel-linux-gnu/bin/ld option to rees... -r > checking for BSD-compatible nm... /opt/wischip/mipsel-linux-gnu/ > gcc-3.3.4-glibc-2.3.2/bin/mipsel-linu > checking whether ln -s works... yes > checking how to recognise dependent libraries... pass_all > checking how to run the C preprocessor... mipsel-linux-gnu-gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking how to run the C++ preprocessor... mipsel-linux-gnu-g++ -E > checking for mipsel-linux-gnu-g77... no > checking for mipsel-linux-gnu-f77... no > checking for mipsel-linux-gnu-xlf... no > checking for mipsel-linux-gnu-frt... no > checking for mipsel-linux-gnu-pgf77... no > checking for mipsel-linux-gnu-fort77... no > checking for mipsel-linux-gnu-fl32... no > checking for mipsel-linux-gnu-af77... no > checking for mipsel-linux-gnu-f90... no > checking for mipsel-linux-gnu-xlf90... no > checking for mipsel-linux-gnu-pgf90... no > checking for mipsel-linux-gnu-epcf90... no > checking for mipsel-linux-gnu-f95... no > checking for mipsel-linux-gnu-fort... no > checking for mipsel-linux-gnu-xlf95... no > checking for mipsel-linux-gnu-ifc... no > checking for mipsel-linux-gnu-efc... no > checking for mipsel-linux-gnu-pgf95... no > checking for mipsel-linux-gnu-lf95... no > checking for mipsel-linux-gnu-gfortran... no > checking for g77... no > checking for f77... no > checking for xlf... no > checking for frt... no > checking for pgf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for f90... no > checking for xlf90... no > checking for pgf90... no > checking for epcf90... no > checking for f95... f95 > checking whether we are using the GNU Fortran 77 compiler... yes > checking whether f95 accepts -g... yes > checking the maximum length of command line arguments... 32768 > checking command to parse /opt/wischip/mipsel-linux-gnu/gcc-3.3.4- > glibc-2.3.2/bin/mipsel-linux-gnu-nm mipsel-linux-gnu-gcc object... ok > checking for objdir... .libs > checking for mipsel-linux-gnu-ar... mipsel-linux-gnu-ar > checking for mipsel-linux-gnu-ranlib... mipsel-linux-gnu-ranlib > checking for mipsel-linux-gnu-strip... (cached) mipsel-linux-gnu-strip > checking if mipsel-linux-gnu-gcc supports -fno-rtti -fno-exceptions... > no > checking for mipsel-linux-gnu-gcc option to produce PIC... -fPIC > checking if mipsel-linux-gnu-gcc PIC flag -fPIC works... yes > checking if mipsel-linux-gnu-gcc static flag -static works... yes > checking if mipsel-linux-gnu-gcc supports -c -o file.o... yes > checking whether the mipsel-linux-gnu-gcc linker (/opt/wischip/mipsel- > linux-gnu/gcc-3.3.4-glibc-2.3.2nu/bin/ld) supports shared libraries... > yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > configure: creating libtool > appending configuration tag "CXX" to libtool > checking for ld used by mipsel-linux-gnu-g++... /opt/wischip/mipsel- > linux-gnu/gcc-3.3.4-glibc-2.3.2/m/bin/ld > checking if the linker (/opt/wischip/mipsel-linux-gnu/gcc-3.3.4- > glibc-2.3.2/mipsel-linux-gnu/bin/ld) s > checking whether the mipsel-linux-gnu-g++ linker (/opt/wischip/mipsel- > linux-gnu/gcc-3.3.4-glibc-2.3.2nu/bin/ld) supports shared libraries... > yes > checking for mipsel-linux-gnu-g++ option to produce PIC... -fPIC > checking if mipsel-linux-gnu-g++ PIC flag -fPIC works... yes > checking if mipsel-linux-gnu-g++ static flag -static works... yes > checking if mipsel-linux-gnu-g++ supports -c -o file.o... yes > checking whether the mipsel-linux-gnu-g++ linker (/opt/wischip/mipsel- > linux-gnu/gcc-3.3.4-glibc-2.3.2nu/bin/ld) supports shared libraries... > yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > appending configuration tag "F77" to libtool > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for f95 option to produce PIC... -fPIC > checking if f95 PIC flag -fPIC works... yes > checking if f95 static flag -static works... no > checking if f95 supports -c -o file.o... yes > checking whether the f95 linker (/opt/wischip/mipsel-linux-gnu/ > gcc-3.3.4-glibc-2.3.2/mipsel-linux-gnuts shared libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking for a BSD-compatible install... /usr/bin/install -c > checking for XML_ParserCreate in -lexpat... yes > ls: talk/third_party/gips/VoiceEngine_Linux_gcc.a: No such file or > directory > checking alsa/asoundlib.h usability... yes > checking alsa/asoundlib.h presence... yes > checking for alsa/asoundlib.h... yes > checking for snd_pcm_open in -lasound... no > [b]checking for pkg-config... /usr/bin/pkg-config > checking for glib-2.0 gmodule-2.0 gthread-2.0... configure: GLib 2.0 > is required to build libjingle. fromhttp://www.gtk.org/[\b] > checking for ortp >= 0.7.0... yes > checking ORTP_CFLAGS... -D_REENTRANT > checking ORTP_LIBS... -lortp -lpthread > checking speex.h usability... no > checking speex.h presence... no > checking for speex.h... no > checking speex/speex.h usability... yes > checking speex/speex.h presence... yes > checking for speex/speex.h... yes > checking for speex_encode_int in -lspeex... yes > checking iLBC_decode.h usability... yes > checking iLBC_decode.h presence... yes > checking for iLBC_decode.h... yes > checking for iLBC_decode in -lilbc... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating talk/Makefile > config.status: creating talk/base/Makefile > config.status: creating talk/third_party/Makefile > config.status: creating talk/third_party/gips/Makefile > config.status: creating talk/third_party/mediastreamer/Makefile > config.status: creating talk/examples/Makefile > config.status: creating talk/examples/login/Makefile > config.status: creating talk/examples/call/Makefile > config.status: creating talk/examples/pcp/Makefile > config.status: creating talk/p2p/Makefile > config.status: creating talk/p2p/base/Makefile > config.status: creating talk/p2p/client/Makefile > config.status: creating talk/session/Makefile > config.status: creating talk/session/fileshare/Makefile > config.status: creating talk/session/tunnel/Makefile > config.status: creating talk/session/phone/Makefile > config.status: creating talk/xmllite/Makefile > config.status: creating talk/xmpp/Makefile > config.status: creating config.h > config.status: config.h is unchanged > config.status: executing depfiles commands > > libjingle 0.4.0 > > Supported Examples: pcp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-talk-open" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-talk-open?hl=en -~----------~----~----~----~------~----~------~--~---
