Article delegate-en/3751 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] compile problems
06 Jun 2007 20:14:28 GMT Derrick J Chacko <pu4habdyi-ry4zqclivjvr.ml@ml.delegate.org>


Hi,

I am attempting to compile delegate from source on a HPUX11.11 PA-RISC 
machine.  We are operating in a IPv4 environment and I believe this may be 
the problem. I am not sure how to disable the IPv6 check. When I run "make 
CC=/usr/local/bin/gcc", I am getting the following errors. Any help would 
be greatly appreciated.

vsaddr.cc: In function 'int sock_isconnectedX(int, int)':
vsaddr.cc:51: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc: In function 'int sock_isv6(int)':
vsaddr.cc:75: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc: In function 'int VSA_addrisANY(VSAddr*)':
vsaddr.cc:220: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int VSA_addr(VSAddr*)':
vsaddr.cc:234: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int VSA_addrX(VSAddr*, unsigned int*)':
vsaddr.cc:253: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'const char* VSA_ntoa(VSAddr*)':
vsaddr.cc:303: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:306: error: aggregate 'SIN6 sab' has incomplete type and cannot 
be defined
vsaddr.cc:325: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:355: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc:355: error: 'NI_NUMERICHOST' was not declared in this scope
vsaddr.cc:355: error: 'getnameinfo' was not declared in this scope
vsaddr.cc:356: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'const char* VSA_htoa(hostent*)':
vsaddr.cc:379: error: aggregate 'SIN6 sin6' has incomplete type and cannot 
be defined
vsaddr.cc: In function 'const char* VSA_ltoa(const unsigned char*, int, 
int)':
vsaddr.cc:402: error: aggregate 'SIN6 sin6' has incomplete type and cannot 
be defined
vsaddr.cc:403: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc: In function 'int VSA_port(VSAddr*)':
vsaddr.cc:435: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int xgetaddrinfo(const char*, const char*, const 
addrinfo*, addrinfo**)':
vsaddr.cc:481: error: 'getaddrinfo' was not declared in this scope
vsaddr.cc: In function 'int Inet_pton(int, const char*, void*)':
vsaddr.cc:486: error: aggregate 'addrinfo hints' has incomplete type and 
cannot be defined
vsaddr.cc:499: error: 'getaddrinfo' was not declared in this scope
vsaddr.cc:500: error: invalid use of undefined type 'struct addrinfo'
vsaddr.cc:477: error: forward declaration of 'struct addrinfo'
vsaddr.cc:501: error: invalid use of undefined type 'struct addrinfo'
vsaddr.cc:477: error: forward declaration of 'struct addrinfo'
vsaddr.cc:502: error: invalid use of undefined type 'struct addrinfo'
vsaddr.cc:477: error: forward declaration of 'struct addrinfo'
vsaddr.cc:503: error: 'freeaddrinfo' was not declared in this scope
vsaddr.cc: In function 'int VSA_stosa(VSAddr*, int, const char*)':
vsaddr.cc:634: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc:636: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:636: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:636: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:637: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:637: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:637: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int VSA_btosa(VSAddr*, int, unsigned char*, int)':
vsaddr.cc:658: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:658: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:658: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:659: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'void VSA_setport(VSAddr*, int)':
vsaddr.cc:676: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int VSA_atosa(VSAddr*, int, const char*)':
vsaddr.cc:716: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:718: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc:723: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:724: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:725: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:726: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:727: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc:737: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc:745: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:746: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:747: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:747: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:747: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:748: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:749: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc:758: error: aggregate 'addrinfo hints' has incomplete type and 
cannot be defined
vsaddr.cc:761: error: 'AI_NUMERICHOST' was not declared in this scope
vsaddr.cc:765: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc:766: error: invalid use of undefined type 'struct addrinfo'
vsaddr.cc:477: error: forward declaration of 'struct addrinfo'
vsaddr.cc:766: error: invalid application of 'sizeof' to incomplete type 
'sockaddr_in6'
vsaddr.cc:766: error: invalid use of undefined type 'struct addrinfo'
vsaddr.cc:477: error: forward declaration of 'struct addrinfo'
vsaddr.cc:767: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:771: error: invalid use of undefined type 'struct addrinfo'
vsaddr.cc:477: error: forward declaration of 'struct addrinfo'
vsaddr.cc:779: error: invalid use of undefined type 'struct addrinfo'
vsaddr.cc:477: error: forward declaration of 'struct addrinfo'
vsaddr.cc:780: error: 'freeaddrinfo' was not declared in this scope
vsaddr.cc: In function 'int VSA_htosa(VSAddr*, int, hostent*, int)':
vsaddr.cc:837: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:838: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:839: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:841: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int VSA_size(VSAddr*)':
vsaddr.cc:854: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc: In function 'int VSA_decomp(VSAddr*, const char**, int*, const 
char**)':
vsaddr.cc:879: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:880: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'void VSA_prftp(VSAddr*, const char*, int, const 
char*, int, const char*)':
vsaddr.cc:903: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'void VSA_ftptosa(void*, const char*)':
vsaddr.cc:928: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int VSA_dnstosa(void*, int, const char*)':
vsaddr.cc:969: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:970: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc: In function 'void VSA_zero(VSAddr*)':
vsaddr.cc:995: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc: In function 'void VSA_addrcopy(VSAddr*, VSAddr*)':
vsaddr.cc:1001: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:1001: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'void VSA_copy(VSAddr*, VSAddr*)':
vsaddr.cc:1007: error: invalid application of 'sizeof' to incomplete type 
'SIN6'
vsaddr.cc: In function 'int VSA_addrcomp(VSAddr*, VSAddr*)':
vsaddr.cc:1037: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:1037: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int VSA_islocal(VSAddr*)':
vsaddr.cc:1045: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int VSA_6to4(VSAddr*)':
vsaddr.cc:1060: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc:1061: error: invalid use of undefined type 'struct sockaddr_in6'
vsaddr.cc:30: error: forward declaration of 'struct sockaddr_in6'
vsaddr.cc: In function 'int domain_ipv6(const char*, SIN6*)':
vsaddr.cc:1193: error: invalid application of 'sizeof' to incomplete type 
'SIN6'

________________________________________________________________________________________________________________________________
Derrick Chacko
Information Security Analyst
UNIX Information Security Group
The Hertz Corporation
5601 NW Expressway
Oklahoma City, OK 73132
000-000-0006
dchacko@hertz..



---------------
This message (including attachments) may contain information that is 
privileged, confidential or protected from disclosure.  If you are not the 
intended recipient, you are hereby notified that dissemination, 
disclosure, copying, distribution or use of this message or any 
information contained in it is strictly prohibited.  If you have received 
this message in error, please immediately notify the sender by reply 
e-mail and delete this message from your computer.  Although we have taken 
steps to ensure that this e-mail and attachments are free from any virus, 
we advise that in keeping with good computing practice the recipient 
should ensure they are actually virus free.
---------------



  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V