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

Re: A problem when i run make server



On Aug 22, Kurt Roeckx wrote:
| 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. 

i think we should just let people who insist on running linux
upgrade their glibc. (that's the linux way, isn't it? upgrade
a package to fix a problem, and break three other things at
the same time..)