[Openswan Users] compiling the latest CVS HEAD oswan2 fails
Lewis Shobbrook
lshobbrook at fasttrack.net.au
Fri Aug 20 18:18:22 CEST 2004
Found some issues in the program make process for openswan 2.
Looks like there's some files missing...
make[2]: Entering directory `/root/openswan-2/programs/lwdnsq'
lwdnsq.c:30:22: isc/lang.h: No such file or directory
lwdnsq.c:31:23: isc/magic.h: No such file or directory
lwdnsq.c:32:23: isc/types.h: No such file or directory
lwdnsq.c:33:24: isc/result.h: No such file or directory
lwdnsq.c:34:21: isc/mem.h: No such file or directory
lwdnsq.c:35:24: isc/buffer.h: No such file or directory
lwdnsq.c:36:24: isc/region.h: No such file or directory
lwdnsq.c:37:22: dns/name.h: No such file or directory
lwdnsq.c:38:23: dns/rdata.h: No such file or directory
lwdnsq.c:39:29: dns/rdatastruct.h: No such file or directory
In file included from lwdnsq.c:43:
lwdnsq.h:78: error: parse error before "dns_rdatatype_t"
lwdnsq.h:78: warning: no semicolon at end of struct or union
lwdnsq.h:82: error: parse error before "last_cname"
lwdnsq.h:82: warning: type defaults to `int' in declaration of
`last_cname'
lwdnsq.h:82: warning: data definition has no type or storage class
lwdnsq.h:85: error: parse error before '}' token
lwdnsq.h:102: error: parse error before "isc_mem_t"
lwdnsq.h:102: warning: no semicolon at end of struct or union
lwdnsq.h:103: warning: type defaults to `int' in declaration of `iscbuf'
lwdnsq.h:103: warning: data definition has no type or storage class
lwdnsq.h:104: error: parse error before '}' token
lwdnsq.h:104: warning: type defaults to `int' in declaration of
`dnskey_glob'
lwdnsq.h:104: warning: data definition has no type or storage class
lwdnsq.h:107: error: parse error before '*' token
lwdnsq.h:107: warning: function declaration isn't a prototype
lwdnsq.h:108: error: parse error before '*' token
lwdnsq.h:108: warning: function declaration isn't a prototype
lwdnsq.h:109: error: parse error before '*' token
lwdnsq.h:109: warning: function declaration isn't a prototype
lwdnsq.h:110: error: parse error before '*' token
lwdnsq.h:110: warning: function declaration isn't a prototype
lwdnsq.h:111: error: parse error before '*' token
lwdnsq.h:111: warning: function declaration isn't a prototype
lwdnsq.h:112: error: parse error before '*' token
lwdnsq.h:112: warning: function declaration isn't a prototype
lwdnsq.h:113: error: parse error before '*' token
lwdnsq.h:113: warning: function declaration isn't a prototype
lwdnsq.h:114: error: parse error before '*' token
lwdnsq.h:114: warning: function declaration isn't a prototype
lwdnsq.h:115: error: parse error before '*' token
lwdnsq.h:115: warning: function declaration isn't a prototype
lwdnsq.h:116: error: parse error before '*' token
lwdnsq.h:116: warning: function declaration isn't a prototype
lwdnsq.h:117: error: parse error before '*' token
lwdnsq.h:117: warning: function declaration isn't a prototype
lwdnsq.h:118: error: parse error before '*' token
lwdnsq.h:118: warning: function declaration isn't a prototype
lwdnsq.h:119: error: parse error before '*' token
lwdnsq.h:119: warning: function declaration isn't a prototype
lwdnsq.h:120: error: parse error before '*' token
lwdnsq.h:124: warning: function declaration isn't a prototype
lwdnsq.h:125: error: parse error before '*' token
lwdnsq.h:130: warning: function declaration isn't a prototype
lwdnsq.h:137: error: parse error before '*' token
lwdnsq.h:137: warning: function declaration isn't a prototype
lwdnsq.h:138: error: parse error before '*' token
lwdnsq.h:142: warning: function declaration isn't a prototype
lwdnsq.h:143: error: parse error before '*' token
lwdnsq.h:143: warning: function declaration isn't a prototype
lwdnsq.c:72: error: parse error before '*' token
lwdnsq.c:73: warning: function declaration isn't a prototype
lwdnsq.c: In function `cmdprompt':
lwdnsq.c:74: error: `gs' undeclared (first use in this function)
lwdnsq.c:74: error: (Each undeclared identifier is reported only once
lwdnsq.c:74: error: for each function it appears in.)
lwdnsq.c: At top level:
lwdnsq.c:80: error: parse error before '*' token
lwdnsq.c:83: warning: function declaration isn't a prototype
lwdnsq.c: In function `quitprog':
lwdnsq.c:84: error: `argc' undeclared (first use in this function)
lwdnsq.c:85: error: `argv' undeclared (first use in this function)
lwdnsq.c:86: error: `gs' undeclared (first use in this function)
lwdnsq.c: At top level:
lwdnsq.c:89: error: parse error before '*' token
lwdnsq.c:92: warning: function declaration isn't a prototype
lwdnsq.c: In function `setdebug':
lwdnsq.c:93: error: `argc' undeclared (first use in this function)
lwdnsq.c:94: error: `gs' undeclared (first use in this function)
lwdnsq.c:94: error: `argv' undeclared (first use in this function)
lwdnsq.c: At top level:
lwdnsq.c:100: error: parse error before '*' token
lwdnsq.c:102: warning: function declaration isn't a prototype
lwdnsq.c: In function `cmdparse':
lwdnsq.c:108: error: parse error before '*' token
lwdnsq.c:108: warning: function declaration isn't a prototype
lwdnsq.c:133: error: `cmdline' undeclared (first use in this function)
lwdnsq.c:154: error: `gs' undeclared (first use in this function)
lwdnsq.c: At top level:
lwdnsq.c:176: error: parse error before '*' token
lwdnsq.c:179: warning: function declaration isn't a prototype
lwdnsq.c: In function `cmdread':
lwdnsq.c:189: error: `gs' undeclared (first use in this function)
lwdnsq.c:189: error: `len' undeclared (first use in this function)
lwdnsq.c:191: error: `buf' undeclared (first use in this function)
lwdnsq.c: In function `main':
lwdnsq.c:221: error: parse error before "gs"
lwdnsq.c:226: error: `gs' undeclared (first use in this function)
lwdnsq.c:241: warning: implicit declaration of function `isc_mem_create'
lwdnsq.c:241: error: `ISC_R_SUCCESS' undeclared (first use in this
function)
lwdnsq.c:246: warning: implicit declaration of function
`isc_buffer_allocate'
lwdnsq.c:372: error: dereferencing pointer to incomplete type
lwdnsq.c:406: error: dereferencing pointer to incomplete type
make[2]: *** [lwdnsq.o] Error 1
make[2]: Leaving directory `/root/openswan-2/programs/lwdnsq'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/root/openswan-2/programs'
make: *** [programs] Error 1
Cheers,
Lewis Shobbrook
More information about the Users
mailing list