[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile pbs ...



On Wed, 2003-02-19 at 16:27, rmkml wrote:
> after add <sys/types.h> above <sys/socket.h> in decode_plugins/tcpip.h,
> and decomment <sys/socket.h> of course,
>  I have the same error :
> ...
> ip.c: In function `ipv4_dprint':
> ip.c:26: storage size of `s' isn't known
> ip.c:26: storage size of `d' isn't known
> ip.c:33: type of formal parameter 1 is incomplete
> ip.c:34: type of formal parameter 1 is incomplete
> ip.c:26: warning: unused variable `d'
> ip.c:26: warning: unused variable `s'
> *** Error code 1

Hrm, the fbsd manpage I have here says:

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

char *inet_ntoa(struct in_addr in);

can you confirm this is correct in your version of man inet_ntoa(3) and
that that is the case in the code please?

We'll get there eventually :)

-- 
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D

Attachment: signature.asc
Description: This is a digitally signed message part