Jivin mlin17 lays it down ... > hi,THX for your reply~ > I have choosed the libgmp,but the errors is : > > In file included from > /root/uClinux-2510-vpn-1port/openswan/linux/net/ipsec/pfkey_v2_parse.c:64:/root/uClinux-2510-vpn-1port/openswan/programs/pluto/defs.h:88: > gmp.h: ????????? > make[5]: *** [pfkey_v2_parse.o] Error 1 > make[5]: Leaving directory > `/root/uClinux-2510-vpn-1port/openswan/lib/libopenswan' > make[4]: *** [programs] Error 1 > make[4]: Leaving directory `/root/uClinux-2510-vpn-1port/openswan/lib' > make[3]: *** [programs] Error 1 > make[3]: Leaving directory `/root/uClinux-2510-vpn-1port/openswan' > make[2]: *** [programs] Error 2 > make[2]: Leaving directory `/root/uClinux-2510-vpn-1port/user/openswan' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/root/uClinux-2510-vpn-1port/user' > make: *** [user_only] Error 2 > > May be related to uclibc,I found uc-dist/uclibc doesnt have any gmp-files. > Who can tell me how to do about it?
You should need to do this. Are you running the full "make" command from the top level ? Do not run any .._only builds until you have it all working. The include/Makefile in the uCLinux-dist should copy the gmp files into place for you. I would be suprised if it doesn't, which is why I suspect you are not doing your build process properly. Don't try and short cut the build process until you have done one complete build. Cheers, Davidm > > > >Jivin mlin17 lays it down ... > >> I was working with openswan port. > > >Now , I need a cross compile GMP with my step. > > > I have downed the GMP which version is 4.2.2. > > > When I entered the : > > > ./configure CC=arm-elf-gcc or ./configure >>CC=/usr/local/bin/arm-elf-gcc > >> There ware some problem emerged as follow: > > > >> checking build system type... i686-pc-linux-gnulibc1 > >> checking host system type... i686-pc-linux-gnulibc1 > >> 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 whether to enable maintainer-specific portions of Makefiles... no > >> checking ABI=32 > >> checking whether arm-elf-gcc is gcc... yes > >> checking compiler arm-elf-gcc -m32 -O2 -fomit-frame-pointer ... no > >> checking compiler arm-elf-gcc -O2 -fomit-frame-pointer ... no, program > >> does not run > >> configure: error: could not find a working compiler, see config.log for > >> details > > > >> Who can tell whats wrong in the process? > > You should try using the gmp included within the uClinux-dist. > I think everything needed to do this is in the uClinux-dist. > > Go through the "make config" step and config it to build > libgmp for you. Likewise for other things you need enabled, > > Cheers, > Davidm > _______________________________________________ > uClinux-dev mailing list > [email protected] > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by [email protected] > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev -- David McCullough, [EMAIL PROTECTED], Ph:+61 734352815 Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
