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

Re: A problem when i run make server



Vesa Ruokonen wrote:
> 
> > edit ircd2.10.3/*i586*/include/system.h and  undefine USE_POLL
> 
> Ugly hack. System call poll() works fine in Linux.
> 
> > >../ircd/s_bsd.c: In function `read_message':
> > >../ircd/s_bsd.c:2032: `POLLSETWRITEFLAGS' undeclared (first use in this
> 
> To make it compile cleanly simply advice your compiler about
> gnu-compliant code. Add the following in setup.h:
> #define _GNU_SOURCE

If you don't want alot warnings, remove the #define _GNU_SOURCE in os.h
at line 133.

I think we should move that part to setup.h. 

We need to place that define at the top of os.h to work, or on some
other place that gets include before some other file from glibc, like
setup.h

What about a change to configure?


Q