gcc -O2 -g -I. -I../ircd -I../common -DIRCDPID_PATH="\"/usr/local/var/run/ircd.pid\"" \ -DIAUTH_PATH="\"/usr/local/sbin/iauth\"" -DIAUTH="\"iauth\"" -c -o s_bsd.o ../ircd/s_bsd.c ../ircd/s_bsd.c: In function `read_message': ../ircd/s_bsd.c:2032: `POLLWRNORM' undeclared (first use in this function) ../ircd/s_bsd.c:2032: (Each undeclared identifier is reported only once ../ircd/s_bsd.c:2032: for each function it appears in.) make: *** [s_bsd.o] Error 1
解決方法として、setup.h に
/* Define if poll(2) must be used instead of select(2). */ /* Note: some systems (e.g. linux 2.0.x) have a non-working poll() */ #define USE_POLL 1
とコメントにあるため、Linuxでは、この行を消せば動作する。