Hi, compiling openswan-2.1.4 with the uclibc-buildtool fails. It can't find the gmp.h file (libgmp and the headerfiles are in installed in the staging directory).
I tried different flags when I run make programs but I allways get the same error: qual -Wstrict-prototypes -Wbad-function-cast �-DNAT_TRAVERSAL � -c -o keyblobtoid.o ../../linux/lib/libfreeswan/keyblobtoid.c /home/devel/buildtool/staging/usr/bin/gcc -I. -I../../linux/lib/ libfreeswan -I../../linux/include -I../.. -g -O3 -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast � -DNAT_TRAVERSAL � -c -o optionsfrom.o ../../linux/lib/libfreeswan/ optionsfrom.c /home/devel/buildtool/staging/usr/bin/gcc -I. -I../../linux/lib/ libfreeswan -I../../linux/include -I../.. -g -O3 -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast � -DNAT_TRAVERSAL � -c -o pfkey_v2_build.o ../../linux/lib/ libfreeswan/pfkey_v2_build.c /home/devel/buildtool/staging/usr/bin/gcc -I. -I../../linux/lib/ libfreeswan -I../../linux/include -I../.. -g -O3 -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast � -DNAT_TRAVERSAL � -c -o pfkey_v2_ext_bits.o ../../linux/lib/ libfreeswan/pfkey_v2_ext_bits.c /home/devel/buildtool/staging/usr/bin/gcc -I. -I../../linux/lib/ libfreeswan -I../../linux/include -I../.. -g -O3 -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast � -DNAT_TRAVERSAL � -c -o pfkey_v2_parse.o ../../linux/lib/ libfreeswan/pfkey_v2_parse.c In file included from ../../linux/lib/libfreeswan/ pfkey_v2_parse.c:64: ../../programs/pluto/defs.h:126:17: gmp.h: No such file or directory In file included from ../../linux/lib/libfreeswan/ pfkey_v2_parse.c:64: ../../programs/pluto/defs.h:128: error: parse error before '*' token ../../programs/pluto/defs.h:128: warning: function declaration isn't a prototype ../../programs/pluto/defs.h:129: warning: type defaults to `int' in declaration of `MP_INT' ../../programs/pluto/defs.h:129: error: parse error before '*' token ../../programs/pluto/defs.h:129: warning: function declaration isn't a prototype make[2]: *** [pfkey_v2_parse.o] Error 1 make[2]: Leaving directory `/home/devel/tmp/openswan-2.1.4/lib/ libfreeswan' make[1]: *** [programs] Error 1 make[1]: Leaving directory `/home/devel/tmp/openswan-2.1.4/lib' make: *** [programs] Error 1 This also happens with openswan-1.0.4. Did you have any tips so that openwan can find the gmp.h file ? Oliver Ertl ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
