Menu

#2 0.5.2 (and -CVS) compile failure on FreeBSD 5.1

open
nobody
None
5
2003-07-21
2003-07-21
No

Hi ya,

When compiling sircd-0.5.2 on FreeBSD 5.1, I get the
following errors :

ircd_client.c: In function `_client_create_remote':
ircd_client.c:218: warning: dereferencing `void *' pointer
ircd_client.c:218: request for member `s_addr' in
something not a structure or union
gmake[2]: *** [ircd_client.o] Error 1
gmake[2]: Leaving directory
`/data/system/build/IRC/sircd/sircd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/data/system/build/IRC/sircd'
gmake: *** [all] Error 2

This also happened on line 44 of sircd/s_sync.c, but I
managed to get around that one, bij removing ->sa_addr
... but that's ofcourse very stupid to do :)

I tried 'struct sockaddr_in6 sa_addr;' but that didn't
work either ...

I installed automake17 and autoconf257 ...

Any ideas on howto fix this?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB