<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; size=2>Hi, 
</FONT></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; size=2>I got an error when I 
compiled Openswan 2.6.24 against 2.6.25 kernel.</FONT></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2>I have used the Openswan 2.4.7 on 2.6.15 kernel without problem. 
</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2>As I upgraded the kernel 2.6.25, I decided to upgrade Openswan 2.4.7 to 
2.6.24.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2>In order to verify if the error was related with kernel version, I 
compiled the Openswan 2.6.24 against 2.6.15 kernel.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2>I got the same compilation error. </FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2>Why did I get the compilation error? Was the error related with glibc 
version?</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; size=2>I use glibc-2.3.2. 
</FONT></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2>--------------------------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2>/usr/local/src/openswan-2.6.24/programs/pluto/myid.c: In function 
`set_myFQDN':<BR>/usr/local/src/openswan-2.6.24/programs/pluto/myid.c:128: 
error: `_POSIX_HOST_NAME_MAX' undeclared (first use in this 
function)<BR>/usr/local/src/openswan-2.6.24/programs/pluto/myid.c:128: error: 
(Each undeclared identifier is reported only 
once<BR>/usr/local/src/openswan-2.6.24/programs/pluto/myid.c:128: error: for 
each function it appears 
in.)<BR>/usr/local/src/openswan-2.6.24/programs/pluto/myid.c:128: warning: 
unused variable `FQDN'<BR>make[3]: *** [myid.o] Error 1<BR>make[3]: Leaving 
directory 
`/usr/local/src/openswan-2.6.24/OBJ.linux.i386/programs/pluto'<BR>make[2]: *** 
[programs] Error 1<BR>make[2]: Leaving directory 
`/usr/local/src/openswan-2.6.24/OBJ.linux.i386/programs'<BR>make[1]: *** 
[programs] Error 1<BR>make[1]: Leaving directory 
`/usr/local/src/openswan-2.6.24/OBJ.linux.i386'<BR>make: *** [programs] Error 
2<BR>--------------------------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; size=2>Thanks, 
</FONT></SPAN></DIV>
<DIV><SPAN class=156053001-19022010><FONT face=&#44404;&#47548; 
size=2>Yimbo</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>