[Openswan Users] Recomendations for FC1

Fernando Rodriguez frod at aitelecom.net
Wed Feb 22 17:59:50 CET 2006


I get exaclty the same problem 

En el fichero inclu? de <l?a de orden>:11:
/usr/src/redhat/BUILD/openswan-2.4.5rc4/packaging/redhat/config-i386.h:66:1:
aviso: esta es la ubicacie la definicirevia
In file included from
/usr/src/linux-2.4.22-1.2199.nptl_53.rhfc1.at/include/net/ip.h:39,
                 from
/usr/src/redhat/BUILD/openswan-2.4.5rc4/linux/net/ipsec/ipsec_init.c:57:
/usr/src/linux-2.4.22-1.2199.nptl_53.rhfc1.at/include/net/sock.h:443: error:
redefinition of `struct udp_opt'
In file included from
/usr/src/redhat/BUILD/openswan-2.4.5rc4/linux/net/ipsec/ipsec_init.c:73:
/usr/src/linux-2.4.22-1.2199.nptl_53.rhfc1.at/include/openswan/ipsec_sa.h:14
5: error: field `ips_state' has incomplete type
In file included from
/usr/src/redhat/BUILD/openswan-2.4.5rc4/linux/net/ipsec/ipsec_init.c:89:
/usr/src/linux-2.4.22-1.2199.nptl_53.rhfc1.at/include/openswan/ipsec_alg.h:8
8: error: field `ixt_support' has incomplete type
make[2]: *** [ipsec_init.o] Error 1
make[2]: Saliendo directorio
`/usr/src/redhat/BUILD/openswan-2.4.5rc4/modobj'
make[1]: *** [module24] Error 2
make[1]: Saliendo directorio `/usr/src/redhat/BUILD/openswan-2.4.5rc4'
make: *** [module] Error 2
make: Saliendo directorio `/usr/src/redhat/BUILD/openswan-2.4.5rc4'
error: Bad exit status from /var/tmp/rpm-tmp.31593 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.31593 (%build)


Thanks ..


-----Mensaje original-----
De: Paul Wouters [mailto:paul at xelerance.com] 
Enviado el: Miércoles, 22 de Febrero de 2006 03:21 p.m.
Para: Fernando Rodriguez
CC: users at openswan.org
Asunto: Re: [Openswan Users] Recomendations for FC1

On Wed, 22 Feb 2006, Fernando Rodriguez wrote:

> Any recomendations on building openswan on FC1
>
> I can find any distributions with the rpm for 2.4.22-1.2199

grab openswan-2.4.5rc4 and try:

rpmbuild -bb openswan-2/packaging/redhat/openswan.spec --define 'buildklips
1'

You might also need to define --kversion depending on where/which/what
kernel
you are using.

Paul



More information about the Users mailing list