Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 114314

Summary: Compilation of games-strategy/liquidwar-5.6.3 fails on undefined references
Product: Gentoo Linux Reporter: Ben McIlwain <cyde>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben McIlwain 2005-12-02 20:55:29 UTC
games-strategy/liquidwar-5.6.3 fails to compile when it gets undefined reference
errors in alleg2.c.

Reproducible: Always
Steps to Reproduce:
emerge -uD liquidwar

Actual Results:  
Linking liquidwar (target=default, debug=no, static=no, asm=yes)
Linking liquidwar-server (target=default, debug=no, static=no)
Linking liquidwar-mapgen (target=default, debug=no, static=no)
random.o: In function `generate_bitmap':
random.c:(.text+0xca): warning: the use of `tmpnam' is dangerous, better use
`mkstemp'
alleg2.o: In function `my_button_proc':
alleg2.c:(.text+0x490): undefined reference to `gui_get_screen'
alleg2.c:(.text+0x5db): undefined reference to `gui_textout_ex'
alleg2.c:(.text+0x68e): undefined reference to `gui_get_screen'
alleg2.o: In function `my_slider_proc':
alleg2.c:(.text+0xa2d): undefined reference to `gui_get_screen'
alleg2.c:(.text+0xcd8): undefined reference to `gui_get_screen'
alleg2.o: In function `my_edit_proc':
alleg2.c:(.text+0x150a): undefined reference to `gui_get_screen'
alleg2.c:(.text+0x16a9): undefined reference to `textout_ex'
alleg2.o: In function `my_text_proc':
alleg2.c:(.text+0x2434): undefined reference to `gui_get_screen'
alleg2.c:(.text+0x2468): undefined reference to `gui_textout_ex'
alleg2.o: In function `my_ctext_proc':
alleg2.c:(.text+0x24b4): undefined reference to `gui_get_screen'
alleg2.c:(.text+0x24f4): undefined reference to `gui_textout_ex'
alleg2.o: In function `my_draw_textbox':
alleg2.c:(.text+0x2963): undefined reference to `gui_get_screen'
alleg2.c:(.text+0x2cc3): undefined reference to `textout_ex'
alleg2.c:(.text+0x2dc4): undefined reference to `textout_ex'
alleg2.o: In function `my_draw_listbox':
alleg2.c:(.text+0x2ed3): undefined reference to `gui_get_screen'
alleg2.c:(.text+0x314b): undefined reference to `textout_ex'
alleg2.c:(.text+0x3300): undefined reference to `gui_get_screen'
disk.o: In function `load_custom':
disk.c:(.text+0x7ec): undefined reference to `for_each_file_ex'
disk.c:(.text+0x8c2): undefined reference to `for_each_file_ex'
disk.c:(.text+0x9a9): undefined reference to `for_each_file_ex'
info.o: In function `display_info':
info.c:(.text+0x7ee): undefined reference to `textout_ex'
info.c:(.text+0x9e8): undefined reference to `textout_ex'
info.c:(.text+0xb8f): undefined reference to `textout_ex'
info.c:(.text+0xd34): undefined reference to `textout_ex'
init.o: In function `init_all':
init.c:(.text+0xdb): undefined reference to `set_close_button_callback'
message.o: In function `display_message':
message.c:(.text+0x15d): undefined reference to `textout_ex'
viewport.o: In function `page_flip':
viewport.c:(.text+0xb1): undefined reference to `set_clip_rect'
viewport.c:(.text+0x24e): undefined reference to `set_clip_rect'
viewport.o: In function `last_flip':
viewport.c:(.text+0x395): undefined reference to `set_clip_rect'
collect2: ld returned 1 exit status
make[1]: *** [liquidwar] Error 1
make[1]: Leaving directory
`/var/tmp/portage/liquidwar-5.6.3/work/liquidwar-5.6.3/src'
make: *** [build_bin] Error 2

!!! ERROR: games-strategy/liquidwar-5.6.3 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Compiled correctly and ran.

$emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://gentoo.cs.lewisu.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt
cups curl dvd eds emboss encode esd ethereal exif expat fam ffmpeg foomaticdb
fortran ftp gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 idn
imagemagick imlib innodb ipv6 java jikes jpeg junit kde lcms libg++ libwww lua
mad mhash mikmod mng motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis
openal opengl oss pam pcre pdflib perl png python qt quicktime readline recode
sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts udev usb vorbis win32codecs x86 xine xml xml2 xmms xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-12-02 21:12:45 UTC

*** This bug has been marked as a duplicate of 114196 ***