Get the following error while compiling unrealircd: gcc -I../include -march=pentium2 -O3 -pipe -o ircd agent.o aln.o badwords.o bsd.o channel.o class.o cloak.o crule.o dbuf.o dynconf.o fdlist.o hash.o help.o ircd.o ircsprintf.o list.o lusers.o match.o packet.o parse.o res.o res_skipname.o s_auth.o s_bsd.o s_conf.o s_debug.o s_err.o s_extra.o s_kline.o s_misc.o s_numeric.o s_serv.o s_socks.o ssl.o s_unreal.o s_user.o scache.o send.o support.o userload.o version.o webtv.o whowas.o -lcrypt -lresolv res.o(.text+0x17d): In function `init_resolver': : undefined reference to `_res' res.o(.text+0x199): In function `init_resolver': : undefined reference to `_res' res.o(.text+0x1a3): In function `init_resolver': : undefined reference to `_res' res.o(.text+0x72c): In function `resend_query': : undefined reference to `_res' res.o(.text+0x76b): In function `resend_query': : undefined reference to `_res' res.o(.text+0x87f): more undefined references to `_res' follow collect2: ld returned 1 exit status make[1]: *** [ircd] Error 1 make[1]: Leaving directory `/var/tmp/portage/unrealircd-3.1.5.1/work/Unreal3.1.5.1/src' make: *** [build] Error 2 !!! ERROR: net-irc/unrealircd-3.1.5.1 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! compiling failed Reproducible: Always Steps to Reproduce: 1.Install unrealircd 2. 3. Actual Results: It failed with the above error Expected Results: Install unrealircd :) Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Celeron (Covington) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode gif imlib jpeg kde gnome libg++ mikmod mmx motif mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga java mysql X gpm tcpd pam libwww ssl perl python gtk qt opengl -ldap -mbox milter sasl" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O3 -pipe" CXXFLAGS="-march=pentium2 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
fixed in cvs ... this issue started with the newer glibcs ... it works fine with the older ones ... oh well ... http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/net-irc/unrealircd/unrealircd-3.1.5.1.ebuild.diff?r1=1.3&r2=1.4 http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/net-irc/unrealircd/unrealircd-3.1.6.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/net-irc/unrealircd/files/3.1.5.1-new-glibc-res.patch?rev=1.1&content-type=text/vnd.viewcvs-markup http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/net-irc/unrealircd/files/3.1.6-new-glibc-res.patch?rev=1.1&content-type=text/vnd.viewcvs-markup