Menu

#3 Compile error on FreeBSD 4.2

open
nobody
None
5
2001-03-29
2001-03-29
No

With epic4-2000-ssl-1.0.tar.gz, after a plain
./configure; make, I get:
gcc -g -O2 -I./../include -I../include -c alias.c
In file included from ../include/irc_std.h:237,
from ../include/irc.h:27,
from alias.c:38:
../include/fake-socket.h:36: redefinition of `struct
in6_addr'
../include/fake-socket.h:37: syntax error before `.'
../include/fake-socket.h:42: redefinition of `struct
sockaddr_in6'
*** Error code 1

The reason for this is that configure sets
HAVE_STRUCT_SOCKADDR_IN6 and
HAVE_STRUCT_SOCKADDR_STORAGE incorrectly to
undef.

Setting them manually to 1 yields an erro much later:

gcc -g -O2 -I./../include -I../include -c network.c
network.c: In function `sockaddr_to_addr':
network.c:300: request for member `__u6_addr' in
something not a structure or union

I have no idea how to solve this, though.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB