[Openswan Users] Compile problem for 2.6.31

Erich Titl erich.titl at think.ch
Wed Nov 17 04:28:11 EST 2010


Hi

I am trying to build 2.6.31 for an embedded distro
(http://leaf.sourceforge.net).

In our buildenv we are calling

(cd
/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/OBJ.linux.i386
&&
OBJDIRTOP=/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/OBJ.linux.i386
OBJDIR=/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/OBJ.linux.i386
make programs )

and way down the tree in libipsecconf we are running into a problem

flex
/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/lib/libipsecconf/parser.l

then trying to compile lex.yy.c we get

/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/staging/bin/gcc-m32
 -I/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/ports/linux/include  -I/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/ports/linux/include  -I/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/ports/linux/include  -I. -I/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/linux/net/ipsec -I/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/linux/include -I/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31 -I/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/include   -DDEBUG -g -Os -march=i486 -mtune=pentiumpro -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast  -DNAT_TRAVERSAL -DKLIPS   -c -o lex.yy.o lex.yy.c


/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/lib/libipsecconf/parser.l:48:1:
warning: "YY_NO_INPUT" redefined

/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/lib/libipsecconf/parser.l:4:1:
warning: this is the location of the previous definition

/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/lib/libipsecconf/parser.l:
In function 'parser_y_include':
/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/lib/libipsecconf/parser.l:201:
error: 'GLOB_BRACE' undeclared (first use in this function)

/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/lib/libipsecconf/parser.l:201:
error: (Each undeclared identifier is reported only once

/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/lib/libipsecconf/parser.l:201:
error: for each function it appears in.)

/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/lib/libipsecconf/parser.l:208:
error: 'GLOB_NOMAGIC' undeclared (first use in this function)

lex.yy.c: At top level:
lex.yy.c:1640: warning: function declaration isn't a prototype
make[4]: *** [lex.yy.o] Error 1
make[4]: Leaving directory
`/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/OBJ.linux.i386/lib/libipsecconf'
make[3]: *** [programs] Error 1
make[3]: Leaving directory
`/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/OBJ.linux.i386/lib'
make[2]: *** [programs] Error 1
make[2]: Leaving directory
`/data2/leaf/bering-uclibc/devel/src/bering-uclibc4/buildtool/source/openswan/openswan-2.6.31/OBJ.linux.i386'
make[1]: *** [programs] Error 2


Any hints?

Thanks

Erich


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3409 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.openswan.org/pipermail/users/attachments/20101117/f01be0cb/attachment-0001.bin 


More information about the Users mailing list