Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23825 - Can't compile unrealircd
Summary: Can't compile unrealircd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-01 12:46 UTC by Pieter De Wit
Modified: 2003-07-02 12:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pieter De Wit 2003-07-01 12:46:02 UTC
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"