[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 02640) Problem of usagi-linux26-s20031110
- To: <usagi-users@xxxxxxxxxxxxxx>
- Subject: (usagi-users 02640) Problem of usagi-linux26-s20031110
- From: "yinjieh" <yinjieh@xxxxxxxxxxxxxxxx>
- Date: Tue, 25 Nov 2003 12:13:20 +0800
- Reply-to: usagi-users@xxxxxxxxxxxxxx
Hi there,
The usagi distfile is usagi-linux26-s20031110.tar.bz2 ,
when I compile pfkey command in 'usagi/pfkey' directory, I get the following
errors:
gcc -I./ -I../../kernel/linux/include -c -o pfkey.o pfkey.c
pfkey.c:46:25: linux/pfkey.h: No such file or directory
pfkey.c:47:22: net/sadb.h: No such file or directory
In file included from pfkey.c:48:
pfkeylib.h:19:25: linux/pfkey.h: No such file or directory
pfkey.c: In function `main':
pfkey.c:165: `SADB_X_ADDFLOW' undeclared (first use in this function)
pfkey.c:165: (Each undeclared identifier is reported only once
pfkey.c:165: for each function it appears in.)
pfkey.c:166: `SADB_X_DELFLOW' undeclared (first use in this function)
pfkey.c:215: `SADB_X_SATYPE_COMP' undeclared (first use in this function)
pfkey.c:227: `SADB_X_FLUSH_SP' undeclared (first use in this function)
pfkey.c: In function `parse_option':
pfkey.c:353: `SADB_X_ADDFLOW' undeclared (first use in this function)
pfkey.c:364: `SADB_X_DELFLOW' undeclared (first use in this function)
pfkey.c:379: `SADB_X_SATYPE_COMP' undeclared (first use in this function)
pfkey.c:381: `SADB_X_FLUSH_SP' undeclared (first use in this function)
pfkey.c:533: `SADB_EALG_AES' undeclared (first use in this function)
pfkey.c:583: `IPSEC_SPI_DROP' undeclared (first use in this function)
pfkey.c:585: `IPSEC_SPI_BYPASS' undeclared (first use in this function)
make: *** [pfkey.o] Error 1
Any Ideas?
BTW, how's the progress of IPv6/IPSEC now?
I searched that in google but the results didn't satisty me.
Thanks for your help first.
Ying-Chieh Chen