freeswan RH6.2

Ladislav Kaderják laco na unicom.sk
Pátek Únor 8 15:28:52 CET 2002


uz par dni sa snazim sprevadzkovat ipsec a nejak sa mi nedari

jeden koniec som sprevadzkoval na rh7.2 (2.4.9-21), ale na druhom sa mi freeswan nepodarilo
skompilovat a preto sa chcem spytat ci sa niekomu podarilo skompilovat v.1.95 na RH6.2(2.2.19-6.2.12)
skusal som to pomocou  "make oldrpm" a konci to :

cc -D__KERNEL__ -I/usr/src/linux-2.2.19-zaloha/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -Ilibfreeswan -Ilibdes  -Wall -Wpointer-arith  -Wstrict-prototypes  -c -o ipsec_rcv.o ipsec_rcv.c
ipsec_rcv.c: In function `ipsec_rcv':
ipsec_rcv.c:207: parse error before `MD5_CTX'
ipsec_rcv.c:207: warning: no semicolon at end of struct or union
ipsec_rcv.c:208: `SHA1_CTX' undeclared (first use in this function)
ipsec_rcv.c:208: (Each undeclared identifier is reported only once
ipsec_rcv.c:208: for each function it appears in.)
ipsec_rcv.c:205: warning: unused variable `authenticator'
ipsec_rcv.c:194: warning: unused variable `authlen'
ipsec_rcv.c:193: warning: unused variable `ipp'
ipsec_rcv.c:192: warning: unused variable `protoc'
ipsec_rcv.c:209: warning: control reaches end of non-void function
ipsec_rcv.c: At top level:
ipsec_rcv.c:209: warning: type defaults to `int' in declaration of `tctx'
ipsec_rcv.c:209: warning: data definition has no type or storage class
ipsec_rcv.c:210: `AH_AMAX' undeclared here (not in a function)
ipsec_rcv.c:253: parse error before `do'
ipsec_rcv.c:277: warning: type defaults to `int' in declaration of `ipp'
ipsec_rcv.c:277: `skb' undeclared here (not in a function)
ipsec_rcv.c:277: warning: data definition has no type or storage class
ipsec_rcv.c:278: warning: type defaults to `int' in declaration of `iphlen'
ipsec_rcv.c:278: invalid type argument of `->'
ipsec_rcv.c:278: initializer element is not constant
ipsec_rcv.c:278: warning: data definition has no type or storage class
ipsec_rcv.c:280: warning: type defaults to `int' in declaration of `hard_header_len'
ipsec_rcv.c:280: `skb' undeclared here (not in a function)
ipsec_rcv.c:280: `skb' undeclared here (not in a function)
ipsec_rcv.c:280: `skb' undeclared here (not in a function)
ipsec_rcv.c:280: warning: data definition has no type or storage class
ipsec_rcv.c:281: parse error before `if'
ipsec_rcv.c:297: warning: type defaults to `int' in declaration of `skb_push'
ipsec_rcv.c:297: warning: parameter names (without types) in function declaration
ipsec_rcv.c:297: conflicting types for `skb_push'
/usr/src/linux-2.2.19-zaloha/include/linux/skbuff.h:482: previous declaration of `skb_push'
ipsec_rcv.c:297: warning: data definition has no type or storage class
ipsec_rcv.c:298: parse error before `if'
ipsec_rcv.c:314: warning: type defaults to `int' in declaration of `skb_pull'
ipsec_rcv.c:314: warning: parameter names (without types) in function declaration
ipsec_rcv.c:314: conflicting types for `skb_pull'
/usr/src/linux-2.2.19-zaloha/include/linux/skbuff.h:501: previous declaration of `skb_pull'
ipsec_rcv.c:314: warning: data definition has no type or storage class
ipsec_rcv.c:315: parse error before `}'
ipsec_rcv.c:348: warning: type defaults to `int' in declaration of `protoc'
ipsec_rcv.c:348: invalid type argument of `->'
ipsec_rcv.c:348: warning: data definition has no type or storage class
ipsec_rcv.c:357: parse error before `if'
ipsec_rcv.c:377: warning: type defaults to `int' in declaration of `ipsecdev'
ipsec_rcv.c:377: conflicting types for `ipsecdev'
ipsec_rcv.c:223: previous declaration of `ipsecdev'
ipsec_rcv.c:377: `skb' undeclared here (not in a function)
ipsec_rcv.c:377: warning: data definition has no type or storage class
ipsec_rcv.c:378: parse error before `do'
ipsec_rcv.c:389: warning: type defaults to `int' in declaration of `prv'
ipsec_rcv.c:389: conflicting types for `prv'
ipsec_rcv.c:224: previous declaration of `prv'
ipsec_rcv.c:389: invalid type argument of `->'
ipsec_rcv.c:389: warning: data definition has no type or storage class
ipsec_rcv.c:390: warning: type defaults to `int' in declaration of `prvdev'
ipsec_rcv.c:390: conflicting types for `prvdev'
ipsec_rcv.c:223: previous declaration of `prvdev'
ipsec_rcv.c:390: invalid type argument of `->'
ipsec_rcv.c:390: warning: data definition has no type or storage class
ipsec_rcv.c:399: parse error before `if'
ipsec_rcv.c:444: warning: type defaults to `int' in declaration of `len'
ipsec_rcv.c:444: `skb' undeclared here (not in a function)
ipsec_rcv.c:444: warning: data definition has no type or storage class
ipsec_rcv.c:445: warning: type defaults to `int' in declaration of `dat'
ipsec_rcv.c:445: conflicting types for `dat'
ipsec_rcv.c:219: previous declaration of `dat'
ipsec_rcv.c:445: `skb' undeclared here (not in a function)
ipsec_rcv.c:445: warning: data definition has no type or storage class
ipsec_rcv.c:446: warning: type defaults to `int' in declaration of `ipp'
ipsec_rcv.c:446: redefinition of `ipp'
ipsec_rcv.c:277: `ipp' previously defined here
ipsec_rcv.c:446: `skb' undeclared here (not in a function)
ipsec_rcv.c:446: warning: data definition has no type or storage class
ipsec_rcv.c:447: warning: type defaults to `int' in declaration of `proto'
ipsec_rcv.c:447: conflicting types for `proto'
ipsec_rcv.c:232: previous declaration of `proto'
ipsec_rcv.c:447: invalid type argument of `->'
ipsec_rcv.c:447: warning: data definition has no type or storage class
ipsec_rcv.c:448: parse error before `.'
ipsec_rcv.c:449: parse error before `0'
ipsec_rcv.c:451: warning: type defaults to `int' in declaration of `iphlen'
ipsec_rcv.c:451: redefinition of `iphlen'
ipsec_rcv.c:278: `iphlen' previously defined here
ipsec_rcv.c:451: invalid type argument of `->'
ipsec_rcv.c:451: initializer element is not constant
ipsec_rcv.c:451: warning: data definition has no type or storage class
.
.
.
.
.
cc -D__KERNEL__ -I/usr/src/linux-2.2.19-zaloha/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.2.19-zaloha/include/linux/modversions.h   -c -o rd.o rd.c
rd.c: In function `initrd_release':
rd.c:238: `initrd_users' undeclared (first use in this function)
rd.c:238: (Each undeclared identifier is reported only once
rd.c:238: for each function it appears in.)
rd.c: In function `rd_open':
rd.c:268: `initrd_users' undeclared (first use in this function)
make[3]: *** [rd.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.2.19-zaloha/drivers/block'
make[2]: *** [_modsubdir_block] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.19-zaloha/drivers'
make[1]: *** [_mod_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.19-zaloha'
utils/errcheck out.kbuild

***ERRORS DETECTED in out.kbuild (examine file for details):
ipsec_rcv.c:207: parse error before `MD5_CTX'
ipsec_rcv.c:253: parse error before `do'
ipsec_rcv.c:281: parse error before `if'
ipsec_rcv.c:298: parse error before `if'
ipsec_rcv.c:315: parse error before `}'
ipsec_rcv.c:357: parse error before `if'
ipsec_rcv.c:378: parse error before `do'
ipsec_rcv.c:399: parse error before `if'
ipsec_rcv.c:448: parse error before `.'
ipsec_rcv.c:449: parse error before `0'
ipsec_rcv.c:452: parse error before `->'
ipsec_rcv.c:502: parse error before `if'
ipsec_rcv.c:640: parse error before `if'
ipsec_rcv.c:656: parse error before `0'
ipsec_rcv.c:668: parse error before `0'
ipsec_rcv.c:763: parse error before `switch'
ipsec_rcv.c:800: parse error before `switch'
ipsec_rcv.c:936: parse error before `0'
ipsec_rcv.c:937: parse error before `0'
ipsec_rcv.c:1132: parse error before `->'
ipsec_rcv.c:1135: parse error before `0'
ipsec_rcv.c:1143: parse error before `->'
ipsec_rcv.c:1158: parse error before `if'
ipsec_rcv.c:1251: parse error before `if'
ipsec_rcv.c:1267: parse error before `do'
ipsec_rcv.c:1281: parse error before `0'
ipsec_rcv.c:1310: parse error before string constant
ipsec_rcv.c:1313: parse error before `->'
ipsec_rcv.c:1321: parse error before `->'
ipsec_rcv.c:1323: parse error before `0'
ipsec_rcv.c:1354: parse error before `->'
ipsec_rcv.c:1357: parse error before `->'
ipsec_rcv.c:1363: parse error before `0'
ipsec_rcv.c:1364: parse error before `0'
ipsec_rcv.c:1529: parse error before `do'
make[4]: *** [ipsec_rcv.o] Error 1
make[3]: *** [first_rule] Error 2
make[2]: *** [_subdir_ipsec] Error 2
make[1]: *** [_dir_net] Error 2
make[3]: *** [rd.o] Error 1
make[2]: *** [_modsubdir_block] Error 2
make[1]: *** [_mod_drivers] Error 2

make: *** [kernel] Error 1

a nemam potuchy ako dalej, skusal som aj v.1.92 aj v.1.94 ale vysledok bol podobny
vie niekto v com je problem ?

-- 
laco na unicom.sk Ladislav Kaderjak
www.unicom.sk  UNICOM Computer & Telematic, s.r.o.



Další informace o konferenci Linux