[Openswan Users] Openswan 2.6.24 compile error

Yimbo csyimkor at yahoo.co.kr
Thu Feb 18 20:52:39 EST 2010


Hi, 
 
I got an error when I compiled Openswan 2.6.24 against 2.6.25 kernel.
I have used the Openswan 2.4.7 on 2.6.15 kernel without problem. 
As I upgraded the kernel 2.6.25, I decided to upgrade Openswan 2.4.7 to
2.6.24.
In order to verify if the error was related with kernel version, I compiled
the Openswan 2.6.24 against 2.6.15 kernel.
I got the same compilation error. 
Why did I get the compilation error? Was the error related with glibc
version?
I use glibc-2.3.2. 
--------------------------------------------------
/usr/local/src/openswan-2.6.24/programs/pluto/myid.c: In function
`set_myFQDN':
/usr/local/src/openswan-2.6.24/programs/pluto/myid.c:128: error:
`_POSIX_HOST_NAME_MAX' undeclared (first use in this function)
/usr/local/src/openswan-2.6.24/programs/pluto/myid.c:128: error: (Each
undeclared identifier is reported only once
/usr/local/src/openswan-2.6.24/programs/pluto/myid.c:128: error: for each
function it appears in.)
/usr/local/src/openswan-2.6.24/programs/pluto/myid.c:128: warning: unused
variable `FQDN'
make[3]: *** [myid.o] Error 1
make[3]: Leaving directory
`/usr/local/src/openswan-2.6.24/OBJ.linux.i386/programs/pluto'
make[2]: *** [programs] Error 1
make[2]: Leaving directory
`/usr/local/src/openswan-2.6.24/OBJ.linux.i386/programs'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/usr/local/src/openswan-2.6.24/OBJ.linux.i386'
make: *** [programs] Error 2
--------------------------------------------------
 
Thanks, 
Yimbo
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20100219/d4e84d05/attachment.html 


More information about the Users mailing list