|
|||||||||||
|
[Users] FreeS/WAN Compilation
From: Adam W <woja(at)optusnet.com.au>
Date: Wed Apr 16 2003 - 19:35:35 EDT
I get these errors from 'make oldmod': egrep -q '^CONFIG_MODULES=y' /usr/src/linux/.config egrep -q '^CONFIG_IPSEC=m' /usr/src/linux/.config ( cd /usr/src/linux ; \ make SUBDIRS=net/ipsec modules 2>&1 ) | tee out.kbuild make[1]: Entering directory `/usr/src/linux-2.4.21-0.13mdk' scripts/split-include include/linux/autoconf.h include/config make -C net/ipsec CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.21-0.13mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include/usr/src/linux-2.4.21-0.13mdk/include/linux/modversions.h" MAKING_MODULES=1 modules make[2]: Entering directory `/usr/src/linux-2.4.21-0.13mdk/net/ipsec' make[2]: *** No rule to make target `/usr/src/linux-2.4.21-0.13mdk/include/linux/modversions.h', needed by `ipsec_init.o'. Stop. make[2]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk/net/ipsec' make[1]: *** [_mod_net/ipsec] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk'utils/errcheck out.kbuild ################################################################# There is no modversions.h in that directory - where do I get this library from?? Regards, Adam W.
-----Original Message-----
Hi All, Trying to compile FreeS/WAN on my mandrake 9.1 system... I have patched the source with the x509 patch and then ran the command 'make programs' I get the following errors after a while of compiling:
make[3]: Entering directory
uml_netjig.c uml_netjig.c:73:18: pcap.h: No such file or directory uml_netjig.c:126: parse error before "pcap_dumper_t" uml_netjig.c:126: warning: no semicolon at end of struct or union uml_netjig.c:128: parse error before '*' token uml_netjig.c:128: warning: type defaults to `int' in declaration of `pcap_open_dead' uml_netjig.c:799: `DLT_EN10MB' undeclared (first use in this function) uml_netjig.c:800: invalid use of undefined type `struct nethub' uml_netjig.c:800: warning: implicit declaration of function `pcap_dump_open' uml_netjig.c:801: invalid use of undefined type `struct nethub' uml_netjig.c:813: invalid use of undefined type `struct nethub' uml_netjig.c:816: invalid use of undefined type `struct nethub' uml_netjig.c:817: invalid use of undefined type `struct nethub' uml_netjig.c:828: invalid use of undefined type `struct nethub' uml_netjig.c:829: invalid use of undefined type `struct nethub' uml_netjig.c:829: warning: implicit declaration of function `pcap_open_offline' uml_netjig.c:830: invalid use of undefined type `struct nethub' uml_netjig.c:840: invalid use of undefined type `struct nethub' uml_netjig.c:841: invalid use of undefined type `struct nethub' uml_netjig.c:842: invalid use of undefined type `struct nethub' uml_netjig.c:859: invalid use of undefined type `struct nethub' uml_netjig.c:859: invalid use of undefined type `struct nethub' uml_netjig.c:860: invalid use of undefined type `struct nethub' uml_netjig.c:860: invalid use of undefined type `struct nethub' uml_netjig.c:866: invalid use of undefined type `struct nethub' uml_netjig.c:866: invalid use of undefined type `struct nethub' uml_netjig.c:867: invalid use of undefined type `struct nethub' uml_netjig.c:867: invalid use of undefined type `struct nethub' uml_netjig.c:868: invalid use of undefined type `struct nethub' uml_netjig.c:868: invalid use of undefined type `struct nethub' uml_netjig.c:869: invalid use of undefined type `struct nethub' uml_netjig.c:869: invalid use of undefined type `struct nethub' uml_netjig.c:872: invalid use of undefined type `struct nethub' uml_netjig.c:872: invalid use of undefined type `struct nethub' uml_netjig.c:873: invalid use of undefined type `struct nethub' uml_netjig.c:873: invalid use of undefined type `struct nethub' uml_netjig.c:874: invalid use of undefined type `struct nethub' uml_netjig.c:874: invalid use of undefined type `struct nethub' uml_netjig.c:875: invalid use of undefined type `struct nethub' uml_netjig.c:875: invalid use of undefined type `struct nethub' uml_netjig.c:887: invalid use of undefined type `struct nethub' uml_netjig.c:888: invalid use of undefined type `struct nethub' uml_netjig.c:899: invalid use of undefined type `struct nethub' uml_netjig.c:900: invalid use of undefined type `struct nethub' uml_netjig.c:924: dereferencing pointer to incomplete type uml_netjig.c:925: storage size of `ph' isn't known uml_netjig.c:930: warning: implicit declaration of function `pcap_next' uml_netjig.c:930: dereferencing pointer to incomplete type uml_netjig.c:930: warning: assignment makes pointer from integer withouta cast uml_netjig.c:932: dereferencing pointer to incomplete type uml_netjig.c:934: dereferencing pointer to incomplete type uml_netjig.c:925: warning: unused variable `ph' uml_netjig.c:941: invalid use of undefined type `struct nethub' uml_netjig.c:942: invalid use of undefined type `struct nethub' uml_netjig.c:961: invalid use of undefined type `struct nethub' uml_netjig.c:961: invalid use of undefined type `struct nethub' uml_netjig.c:963: invalid use of undefined type `struct nethub' uml_netjig.c:963: invalid use of undefined type `struct nethub' uml_netjig.c:965: invalid use of undefined type `struct nethub' uml_netjig.c:965: invalid use of undefined type `struct nethub' uml_netjig.c:967: invalid use of undefined type `struct nethub' uml_netjig.c:967: invalid use of undefined type `struct nethub' uml_netjig.c:970: invalid use of undefined type `struct nethub' uml_netjig.c:970: invalid use of undefined type `struct nethub' uml_netjig.c:972: invalid use of undefined type `struct nethub' uml_netjig.c:972: invalid use of undefined type `struct nethub' uml_netjig.c:973: invalid use of undefined type `struct nethub' uml_netjig.c:973: invalid use of undefined type `struct nethub' uml_netjig.c:975: invalid use of undefined type `struct nethub' uml_netjig.c:975: invalid use of undefined type `struct nethub' uml_netjig.c: At top level: uml_netjig.c:135: storage size of `public' isn't known uml_netjig.c:135: storage size of `private' isn't knownmake[3]: *** [uml_netjig.o] Error 1 make[3]: Leaving directory `/home/adamw/freeswan-1.99/testing/utils/uml_netjig' make[3]: Entering directory `/home/adamw/freeswan-1.99/testing/utils/ikeping' cc -I../../../lib -I../../.. -DDEBUG -g -Wall -W -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-declarations -Wwrite-strings -Wstrict-prototypes -Werror -c ikeping.c cc -o ikeping ikeping.o ../../../lib/libfreeswan.a make[3]: Leaving directory `/home/adamw/freeswan-1.99/testing/utils/ikeping' make[2]: Leaving directory `/home/adamw/freeswan-1.99/testing/utils' make[1]: Leaving directory `/home/adamw/freeswan-1.99/testing' Any help would be greatly appreciated... Am I missing a dependency?? Regards, Adam W. Users mailing list Users@lists.freeswan.org http://lists.freeswan.org/mailman/listinfo/users Received on Thu Apr 17 13:50:30 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:01:20 EDT |
||||||||||
|
|||||||||||