Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86376 - emerge irssi fails in function net_connect_ip with undefined reference to sin_set_ip
Summary: emerge irssi fails in function net_connect_ip with undefined reference to sin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 05:15 UTC by Albert Holm
Modified: 2005-09-06 14:44 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 Albert Holm 2005-03-23 05:15:08 UTC
When I try to emerge irssi (both ~x86 and x86) I get:

../core/libcore.a(network.o)(.text+0x2f3): In function `net_connect_ip': 
: undefined reference to `sin_set_ip' 
../core/libcore.a(network.o)(.text+0x358): In function `net_connect_ip': 
: undefined reference to `sin_set_ip' 
../core/libcore.a(network.o)(.text+0x36c): In function `net_connect_ip': 
: undefined reference to `sin_set_port' 
../core/libcore.a(network.o)(.text+0x5b3): In function `net_listen': 
: undefined reference to `sin_set_ip' 
../core/libcore.a(network.o)(.text+0x5c9): In function `net_listen': 
: undefined reference to `sin_set_port' 
../core/libcore.a(network.o)(.text+0x6d4): In function `net_listen': 
: undefined reference to `sin_get_port' 
../core/libcore.a(network.o)(.text+0x7c8): In function `net_accept': 
: undefined reference to `sin_get_port' 
../core/libcore.a(network.o)(.text+0xaa3): In function `net_getsockname': 
: undefined reference to `sin_get_port' 
../core/libcore.a(network-openssl.o)(.text+0x45b): In function `irssi_ssl_cert_step': 
: undefined reference to `ssl_errno' 
../core/libcore.a(network-openssl.o)(.text+0x50e): In function `irssi_ssl_read': 
: undefined reference to `ssl_errno' 
../core/libcore.a(network-openssl.o)(.text+0x5d5): In function `irssi_ssl_write': 
: undefined reference to `ssl_errno' 
collect2: ld returned 1 exit status 
make[3]: *** [irssi] Error 1 
make[3]: Leaving directory `/var/tmp/portage/irssi-0.8.10_rc5-r1/work/irssi-0.8.10-rc5/src/fe-text' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/var/tmp/portage/irssi-0.8.10_rc5-r1/work/irssi-0.8.10-rc5/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/irssi-0.8.10_rc5-r1/work/irssi-0.8.10-rc5' 
make: *** [all-recursive-am] Error 2 

!!! ERROR: net-irc/irssi-0.8.10_rc5-r1 failed. 
!!! Function src_compile, Line 63, Exitcode 2 
!!! emake failed 
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge irssi
2.
3.
Actual Results:  
emerge failed

Expected Results:  
installed irssi

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3-20050110, glibc-2.3.4.
20050125-r1, 2.6.10-gentoo-r1 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r1 i686 Celeron (Coppermine) 
Gentoo Base System version 1.6.10 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 05:26:04)] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.9.5, 1.5, 1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.6.3 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/
X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium3 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv 
usersandbox" 
GENTOO_MIRRORS="http://mirror.gentoo.no/ ftp://trumpetti.atm.tut.fi/gentoo/ 
http://trumpetti.atm.tut.fi/gentoo/ ftp://mirror.gentoo.ru/pub/mirror/gentoo/ 
http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/
gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 X adns aim apache2 apm avi bash-completion berkdb bitmap-fonts crypt 
curl emacs emboss encode firebird flac font-server foomaticdb gd gdbm gif gnutls 
gpm gtk2 imagemagick imap imlib innodb jpeg ldap libg++ libwww mad maildir 
mailwrapper mikmod motif mp3 mpeg msn mysql ncurses nls nptl nptlonly oggvorbis 
oscar pam pdflib perl php png postgres postgresql python quicktime readline ruby 
samba sasl slang spell sqlite ssl svga tcpd threads tiff truetype truetype-fonts 
type1-fonts unicode userlocales xml xml2 yahoo zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Sven Wegener gentoo-dev 2005-04-07 12:42:36 UTC
Could you post a bit more of the log? Some lines that contain the invoked compiler and such?
Comment 2 Sven Wegener gentoo-dev 2005-05-14 16:19:16 UTC
Unable to reproduce and waiting on some more information from submitter.
Comment 3 Albert Holm 2005-09-06 13:33:06 UTC
With some information from Sven this is fixed by adding some kind of 
optimization to CFLAGS. The ebuild need to ensure that optimization is used if 
the user has not set it in make.conf.
Comment 4 Sven Wegener gentoo-dev 2005-09-06 13:53:07 UTC
I already added some code to the ebuilds to ensure that at least -O is in CFLAGS.
Comment 5 Albert Holm 2005-09-06 13:59:33 UTC
Does that mean that this bug should be closed fixed?
Comment 6 Sven Wegener gentoo-dev 2005-09-06 14:43:45 UTC
.
Comment 7 Sven Wegener gentoo-dev 2005-09-06 14:44:11 UTC
resolving with correct resolution