[Openswan Users] Openswan 2.4.8 + kernel 2.4.34.4 build problem
Arkadiusz Patyk
areq at areq.eu.org
Tue May 29 15:29:07 EDT 2007
Hi,
I have problem with build latest openswan:
686-pld-linux-gcc -D__KERNEL__
-I/home/areq/rpm/BUILD/linux-2.4.34/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare
-fno-builtin-sprintf -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DIPCOMP_PREFIX
-nostdinc -iwithprefix include -DKBUILD_BASENAME=ipsec_proc -c -o
ipsec_proc.o ipsec_proc.c
ipsec_proc.c:619: error: syntax error before "int"
ipsec_proc.c:619: warning: type defaults to `int' in declaration of
`module_param'
ipsec_proc.c:619: warning: function declaration isn't a prototype
ipsec_proc.c:619: warning: data definition has no type or storage
class
make[2]: *** [ipsec_proc.o] Error 1
make[2]: Leaving directory
`/home/areq/rpm/BUILD/linux-2.4.34/net/ipsec'
make[1]: *** [_modsubdir_ipsec] Error 2
make[1]: Leaving directory `/home/areq/rpm/BUILD/linux-2.4.34/net'
make: *** [_mod_net] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.71004 (%build)
Openswan 2.4.8
kernel 2.4.34.4
gcc version 3.3.6 (PLD Linux)
619 line in ipsec_proc.c:
module_param(natt_available, int, 0444);
Cheers,
--
Arkadiusz Patyk [areq<>pld-linux:org] [http://rescuecd.pld-linux.org/]
[IRC:areq skype:arekpatyk GG:1383 jid:arek<>patyk:net]
More information about the Users
mailing list