irc2.10.3+jp6のファイルの修正方法

 このままコンパイルするとエラーが出るため、/tmp/irc2.10.3+jp6/common/os.h を以下のように修正します。

まず、ファイルの150行付近にこういった部分があります。

#if HAVE_SYS_POLL_H
# if linux
/* Linux is just soooo broken */
# define _GNU_SOURCE 1
# endif
# include
# if linux && !defined(POLLRDNORM)
/* Linux 2.1.xx supports poll(), header files are not upto date yet */
# define POLLRDNORM 0x0040
# define POLLWRNORM 0x0100 ←これを追加
# endif
#endif

http://anthrax.firstserver.ne.jp/linux/install-memo/ircd.htmlより抜粋

※irc2.10.3+jp6を/tmpに解凍した場合を仮定しています。解凍する場所によってディレクトリが変わりますご注意ください。


[戻る]