[Openswan dev] openswan 2.6.37 compiled errors (uClinux)
Ted Victorio
tvan5bee at yahoo.com
Tue Feb 25 02:23:07 EST 2014
I compiled openswan 2.6.37 on uClinux (dist-20131024).
Got the following errors below. Please advise.
Ted
flex
/usr/uclinux/uClinux-dist/openswan/lib/libipsecconf/parser.l
ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -Os -g
-fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -msep-data -Dlinux -D__linux__
-Dunix -D__uClinux__ -DHAVE_NM -I/usr/uclinux/uClinux-dist/openswan/ports/linux/include
-I/usr/uclinux/uClinux-dist/openswan/ports/linux/include -I.
-I/usr/uclinux/uClinux-dist/openswan/linux/net/ipsec
-I/usr/uclinux/uClinux-dist/openswan/linux/include
-I/usr/uclinux/uClinux-dist/openswan -I/usr/uclinux/uClinux-dist/openswan/include -DDEBUG -g -O3 -Wall -DGCC_LINT -Wall -Wpointer-arith -Wcast-qual
-Wstrict-prototypes -Wbad-function-cast -DNAT_TRAVERSAL -DKLIPS -c -o
lex.yy.o lex.yy.c
In file included from
/usr/uclinux/uClinux-dist/openswan/include/ipsecconf/keywords.h:22,
from
/usr/uclinux/uClinux-dist/openswan/lib/libipsecconf/parser.l:31:
/usr/uclinux/uClinux-dist/openswan/lib/libipsecconf/parser.l:33:24:
error: parser.tab.h: No such file or directory
In file included from
/usr/uclinux/uClinux-dist/openswan/lib/libipsecconf/parser.l:34:
/usr/uclinux/uClinux-dist/openswan/include/ipsecconf/parserlast.h:25:
error: expected declaration specifiers or ˜..." before ˜YYSTYPE"
/usr/uclinux/uClinux-dist/openswan/lib/libipsecconf/parser.l:
In function ˜parser_y_include":
/usr/uclinux/uClinux-dist/openswan/lib/libipsecconf/parser.l:200:
error: ˜GLOB_BRACE" undeclared (first use in this function)
…………………………
make[7]: *** [lex.yy.o] Error 1
make[7]: Leaving directory `/usr/uclinux/uClinux-dist/openswan/OBJ.uclinux-dist/lib/libipsecconf'
make[6]: *** [programs] Error 1
make[6]: Leaving directory
`/usr/uclinux/uClinux-dist/openswan/OBJ.uclinux-dist/lib'
make[5]: *** [programs] Error 1
make[5]: Leaving directory `/usr/uclinux/uClinux-dist/openswan/OBJ.uclinux-dist'
make[4]: *** [programs] Error 2
make[4]: Leaving directory
`/usr/uclinux/uClinux-dist/openswan'
make[3]: *** [programs] Error 2
make[3]: Leaving directory
`/usr/uclinux/uClinux-dist/user/openswan'
make[2]: *** [openswan] Error 2
make[2]: Leaving directory `/usr/uclinux/uClinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/uclinux/uClinux-dist/user'
make: *** [subdirs] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/dev/attachments/20140224/2ed66cd4/attachment.html>
More information about the Dev
mailing list