microdc-devel
[Top][All Lists]
Advanced

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

Re: [microdc-devel] compilation error under freebsd 6


From: Oskar Liljeblad
Subject: Re: [microdc-devel] compilation error under freebsd 6
Date: Thu, 19 Jan 2006 22:48:05 +0100
User-agent: Mutt/1.5.11

On Wednesday, January 11, 2006 at 20:29, address@hidden wrote:

Hi!

> Hi, my name is:
> FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan 10 21:09:34 MSK 2006
> with custom kernel of course.
[..]
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
> -Wall -D_THREAD_SAFE -pthread -g -O2 -MT util.o -MD -MP -MF ".deps/util.Tpo" 
> -c -o util.o util.c; \
> then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; 
> exit 1; fi
> util.c:67: warning: "struct sockaddr_in" declared inside parameter list
> util.c:67: warning: its scope is only this definition or declaration, which 
> is probably not what you want
[..]
> 
> I'm not a coder, so I don't know what to do next.
> Any help will be appreciated.

No coder but yet you found out that sys/stat.h was needed for filelist-in.c?
:) Nice work. Try adding 

#include <netinet/in.h>

after #include <config.h> in util.c and let me know if works now!

Regards,

Oskar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]