From: 史煜青 <je...@ho...> - 2009-08-19 16:33:28
|
hello everyone Not sure if I'm fooling around here but sorry to bother you. I got some problem when i tried to cross compile iaxclient to winCE under cygwin. And i am really confusing with my porblem so i hope you can give me some advice I am a rookie , thanks for any help Here was my steps : 1 I setup cygwin and download 'cygwin-cegcc-mingw32ce-0.51.0-1.tar.gz' and release them to cygwin folder 2 I cross compile speex libogg libtheora and portaudio success (i can find *.dll file in /usr/local/bin folder) $ CXX=arm-wince-mingw32ce-g++ ./configure --build=i686-pc-cygwin --host=arm-wince-mingw32ce --target=arm-wince-mingw32ce --enable-local-gsm --disable-gsmtest --enable-libogg --enable-libtheora --enable-libspeex --enable-libportaudio --enable-shared --enable-static --with-gnu-ld here is the result checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm-wince-mingw32ce-strip... arm-wince-mingw32ce-strip checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-cygwin checking host system type... arm-wince-mingw32ce checking for arm-wince-mingw32ce-gcc... arm-wince-mingw32ce-gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-wince-mingw32ce-gcc accepts -g... yes checking for arm-wince-mingw32ce-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of arm-wince-mingw32ce-gcc... gcc3 checking whether arm-wince-mingw32ce-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... arm-wince-mingw32ce-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether arm-wince-mingw32ce-gcc needs -traditional... no checking whether we are using the GNU C++ compiler... yes checking whether arm-wince-mingw32ce-g++ accepts -g... yes checking dependency style of arm-wince-mingw32ce-g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by arm-wince-mingw32ce-gcc... /opt/mingw32ce/arm-wince-mingw32ce/bin/ld.exe checking if the linker (/opt/mingw32ce/arm-wince-mingw32ce/bin/ld.exe) is GNU ld... yes checking for /opt/mingw32ce/arm-wince-mingw32ce/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /opt/mingw32ce/bin/arm-wince-mingw32ce-nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... file_magic file format pei*-i386(.*architecture: i3 86)? checking for arm-wince-mingw32ce-dlltool... arm-wince-mingw32ce-dlltool checking for arm-wince-mingw32ce-as... arm-wince-mingw32ce-as checking for arm-wince-mingw32ce-objdump... arm-wince-mingw32ce-objdump 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... arm-wince-mingw32ce-g++ -E checking for arm-wince-mingw32ce-g77... no checking for arm-wince-mingw32ce-xlf... no checking for arm-wince-mingw32ce-f77... no checking for arm-wince-mingw32ce-frt... no checking for arm-wince-mingw32ce-pgf77... no checking for arm-wince-mingw32ce-cf77... no checking for arm-wince-mingw32ce-fort77... no checking for arm-wince-mingw32ce-fl32... no checking for arm-wince-mingw32ce-af77... no checking for arm-wince-mingw32ce-xlf90... no checking for arm-wince-mingw32ce-f90... no checking for arm-wince-mingw32ce-pgf90... no checking for arm-wince-mingw32ce-pghpf... no checking for arm-wince-mingw32ce-epcf90... no checking for arm-wince-mingw32ce-gfortran... no checking for arm-wince-mingw32ce-g95... no checking for arm-wince-mingw32ce-xlf95... no checking for arm-wince-mingw32ce-f95... no checking for arm-wince-mingw32ce-fort... no checking for arm-wince-mingw32ce-ifort... no checking for arm-wince-mingw32ce-ifc... no checking for arm-wince-mingw32ce-efc... no checking for arm-wince-mingw32ce-pgf95... no checking for arm-wince-mingw32ce-lf95... no checking for arm-wince-mingw32ce-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 8192 checking command to parse /opt/mingw32ce/bin/arm-wince-mingw32ce-nm -B output from arm-wince-mingw32 ce-gcc object... ok checking for objdir... .libs checking for arm-wince-mingw32ce-ar... arm-wince-mingw32ce-ar checking for arm-wince-mingw32ce-ranlib... arm-wince-mingw32ce-ranlib checking for arm-wince-mingw32ce-strip... (cached) arm-wince-mingw32ce-strip checking if arm-wince-mingw32ce-gcc supports -fno-rtti -fno-exceptions... no checking for arm-wince-mingw32ce-gcc option to produce PIC... -DDLL_EXPORT checking if arm-wince-mingw32ce-gcc PIC flag -DDLL_EXPORT works... yes checking if arm-wince-mingw32ce-gcc static flag -static works... yes checking if arm-wince-mingw32ce-gcc supports -c -o file.o... yes checking whether the arm-wince-mingw32ce-gcc linker (/opt/mingw32ce/arm-wince-mingw32ce/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe 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 arm-wince-mingw32ce-g++... /opt/mingw32ce/arm-wince-mingw32ce/bin/ld.exe checking if the linker (/opt/mingw32ce/arm-wince-mingw32ce/bin/ld.exe) is GNU ld... yes checking whether the arm-wince-mingw32ce-g++ linker (/opt/mingw32ce/arm-wince-mingw32ce/bin/ld.exe) supports shared libraries... yes checking for arm-wince-mingw32ce-g++ option to produce PIC... -DDLL_EXPORT checking if arm-wince-mingw32ce-g++ PIC flag -DDLL_EXPORT works... yes checking if arm-wince-mingw32ce-g++ static flag -static works... yes checking if arm-wince-mingw32ce-g++ supports -c -o file.o... yes checking whether the arm-wince-mingw32ce-g++ linker (/opt/mingw32ce/arm-wince-mingw32ce/bin/ld.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether time.h and sys/time.h may both be included... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking sys/socket.h usability... no checking sys/socket.h presence... no checking for sys/socket.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for pid_t... yes checking for size_t... yes checking for vsnprintf... yes checking for _vsnprintf... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... no checking for pkg-config... yes checking for arm-wince-mingw32ce-pkg-config... no checking for pkg-config... /usr/bin/pkg-config configure: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to aut...@gn.... checking pkg-config is at least version 0.9.0... yes checking for wish... /usr/bin/wish checking for iLBC reference sources in lib/iLBC... no checking for PORTAUDIO... yes checking for OGG... yes checking for SPEEX... yes checking for THEORA... yes checking for SDL... no checking for GTK... no checking for GDK2... no checking for ALSA... no checking for wx-config... no checking for wx-config... (cached) no checking for wxrc... not found configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating simpleclient/Makefile config.status: creating iaxclient.pc config.status: creating simpleclient/testcall/Makefile config.status: creating simpleclient/vtestcall/Makefile config.status: creating simpleclient/iaxcomm/Makefile config.status: creating simpleclient/iaxphone/Makefile config.status: creating simpleclient/tkphone/Makefile config.status: creating simpleclient/WinIAX/Makefile config.status: creating simpleclient/wx/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: Configured clients: testcall WinIAX next , i do this : make && make install unfortunately, there is no libiaxlicent.dll in /usr/local/binfolder, but i find 'libiaxclient.a & libiaxclient.la' in usr/local/lib folder best regards advancers!! _________________________________________________________________ 与任何您希望的人分享您的回忆。 http://www.microsoft.com/china/windows/windowslive/products/photos-share.aspx?tab=1 |