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

Bug 92066

Summary: gnome-games 2.10.x fails to compile (undefined references)
Product: Gentoo Linux Reporter: David Li <matrixhax0r>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 91329, 95548    
Attachments: Emerge log
The configuration log of the gnome-games

Description David Li 2005-05-09 19:50:09 UTC
Here's a nice log of what happens:

i686-pc-linux-gnu-gcc -O2 -pipe -DNO_HOWL -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -o sol sol.o slot.o dialog.o cscmi.o events.o press_data.o draw.o menu.o card.o statistics.o -Wl,--export-dynamic  -pthread /usr/lib/libglade-2.0.so /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libbonoboui-2.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/librsvg-2.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so ../libgames-support/.libs/libgames-support.asol.o(.text+0x18d): In function `eval_installed_file':
: undefined reference to `scm_c_primitive_load'
sol.o(.text+0x4ec): In function `new_game':
: undefined reference to `scm_c_eval_string'
sol.o(.text+0x505): In function `new_game':
: undefined reference to `scm_num2double'
sol.o(.text+0x525): In function `new_game':
: undefined reference to `scm_num2double'
sol.o(.text+0xf5a): In function `main':
: undefined reference to `scm_boot_guile'
sol.o(.text+0x131): In function `eval_installed_file':
: undefined reference to `scm_c_primitive_load'
dialog.o(.text+0xaca): In function `show_hint_dialog':
: undefined reference to `scm_num2int'
dialog.o(.text+0xb7e): In function `show_hint_dialog':
: undefined reference to `SCM_STRING_CHARS'
dialog.o(.text+0xb90): In function `show_hint_dialog':
: undefined reference to `SCM_STRING_CHARS'
dialog.o(.text+0xbd2): In function `show_hint_dialog':
: undefined reference to `SCM_STRING_CHARS'
dialog.o(.text+0xbe4): In function `show_hint_dialog':
: undefined reference to `SCM_STRING_CHARS'
dialog.o(.text+0xc22): In function `show_hint_dialog':
: undefined reference to `SCM_STRING_CHARS'
dialog.o(.text+0xc34): more undefined references to `SCM_STRING_CHARS' follow
cscmi.o(.text+0x101): In function `add_slot':
: undefined reference to `scm_num2dbl'
cscmi.o(.text+0x124): In function `add_slot':
: undefined reference to `scm_num2dbl'
cscmi.o(.text+0x29a): In function `make_card':
: undefined reference to `scm_cons'
cscmi.o(.text+0x2a6): In function `make_card':
: undefined reference to `scm_long2num'
cscmi.o(.text+0x2b2): In function `make_card':
: undefined reference to `scm_cons'
cscmi.o(.text+0x2bf): In function `make_card':
: undefined reference to `scm_long2num'
cscmi.o(.text+0x2cb): In function `make_card':
: undefined reference to `scm_cons'
cscmi.o(.text+0x2f8): In function `scm_gettext':
: undefined reference to `SCM_STRING_CHARS'
cscmi.o(.text+0x3f4): In function `scm_set_statusbar_message':
: undefined reference to `SCM_STRING_CHARS'
cscmi.o(.text+0x4ed): In function `scm_set_slot_y_expansion':
: undefined reference to `scm_num2int'
cscmi.o(.text+0x508): In function `scm_set_slot_y_expansion':
: undefined reference to `scm_num2dbl'
cscmi.o(.text+0x53d): In function `scm_set_slot_x_expansion':
: undefined reference to `scm_num2int'
cscmi.o(.text+0x558): In function `scm_set_slot_x_expansion':
: undefined reference to `scm_num2dbl'
cscmi.o(.text+0x594): In function `scm_get_slot':
: undefined reference to `scm_num2int'
cscmi.o(.text+0x5c2): In function `scm_get_slot':
: undefined reference to `scm_cons'
cscmi.o(.text+0x5dc): In function `scm_get_slot':
: undefined reference to `scm_cons'
cscmi.o(.text+0x5e8): In function `scm_get_slot':
: undefined reference to `scm_cons'
cscmi.o(.text+0x61e): In function `scm_set_cards':
: undefined reference to `scm_num2int'
cscmi.o(.text+0x72f): In function `scm_get_score':
: undefined reference to `scm_long2num'
cscmi.o(.text+0x75c): In function `scm_set_score':
: undefined reference to `scm_num2int'
cscmi.o(.text+0x79c): In function `scm_add_to_score':
: undefined reference to `scm_num2int'
cscmi.o(.text+0x7dd): In function `scm_set_timeout':
: undefined reference to `scm_num2int'
cscmi.o(.text+0x7ff): In function `scm_get_timeout':
: undefined reference to `scm_long2num'
cscmi.o(.text+0x83c): In function `cscm_init':
: undefined reference to `scm_c_define_gsubr'
cscmi.o(.text+0x866): In function `cscm_init':
: undefined reference to `scm_c_define_gsubr'
cscmi.o(.text+0x88d): In function `cscm_init':
: undefined reference to `scm_c_define_gsubr'
cscmi.o(.text+0x8b7): In function `cscm_init':
: undefined reference to `scm_c_define_gsubr'
cscmi.o(.text+0x8e1): In function `cscm_init':
: undefined reference to `scm_c_define_gsubr'
cscmi.o(.text+0x90b): more undefined references to `scm_c_define_gsubr' follow
cscmi.o(.text+0xb7a): In function `cscmi_call_lambda':
: undefined reference to `scm_call_0'
cscmi.o(.text+0xba4): In function `cscmi_call_lambda':
: undefined reference to `scm_call_2'
cscmi.o(.text+0xbd1): In function `cscmi_call_lambda':
: undefined reference to `scm_call_3'
cscmi.o(.text+0xbe4): In function `cscmi_call_lambda':
: undefined reference to `scm_call_1'
cscmi.o(.text+0xd4c): In function `cscmi_catch_handler':
: undefined reference to `scm_mem2string'
cscmi.o(.text+0xd59): In function `cscmi_catch_handler':
: undefined reference to `scm_long2num'
cscmi.o(.text+0xd65): In function `cscmi_catch_handler':
: undefined reference to `scm_fdopen'
cscmi.o(.text+0xd76): In function `cscmi_catch_handler':
: undefined reference to `scm_display'
cscmi.o(.text+0xd7e): In function `cscmi_catch_handler':
: undefined reference to `scm_fsync'
cscmi.o(.text+0xdac): In function `cscmi_catch_handler':
: undefined reference to `scm_display'
cscmi.o(.text+0xdb9): In function `cscmi_catch_handler':
: undefined reference to `scm_fsync'
cscmi.o(.text+0x1019): In function `cscmi_start_game_lambda':
: undefined reference to `scm_internal_catch'
cscmi.o(.text+0x1086): In function `cscmi_button_pressed_lambda':
: undefined reference to `scm_internal_catch'
cscmi.o(.text+0x10fc): In function `cscmi_button_released_lambda':
: undefined reference to `scm_internal_catch'
cscmi.o(.text+0x1170): In function `cscmi_button_clicked_lambda':
: undefined reference to `scm_internal_catch'
cscmi.o(.text+0x11e0): In function `cscmi_button_double_clicked_lambda':
: undefined reference to `scm_internal_catch'
cscmi.o(.text+0x124a): more undefined references to `scm_internal_catch' follow
cscmi.o(.text+0x323): In function `scm_gettext':
: undefined reference to `scm_makfrom0str'
cscmi.o(.text+0x711): In function `scm_myrandom':
: undefined reference to `scm_long2num'
cscmi.o(.text+0x774): In function `scm_set_score':
: undefined reference to `scm_long2num'
cscmi.o(.text+0x7b5): In function `scm_add_to_score':
: undefined reference to `scm_long2num'
events.o(.text+0xce): In function `end_of_game_test':
: undefined reference to `scm_c_eval_string'
events.o(.text+0x1d2): In function `drop_moving_cards':
: undefined reference to `scm_cons'
events.o(.text+0x1e8): In function `drop_moving_cards':
: undefined reference to `scm_long2num'
events.o(.text+0x1fc): In function `drop_moving_cards':
: undefined reference to `scm_long2num'
events.o(.text+0x243): In function `drop_moving_cards':
: undefined reference to `scm_c_eval_string'
events.o(.text+0x4e6): In function `button_press_event':
: undefined reference to `scm_long2num'
events.o(.text+0x4f4): In function `button_press_event':
: undefined reference to `scm_c_eval_string'
events.o(.text+0x504): In function `button_press_event':
: undefined reference to `scm_call_2'
events.o(.text+0x511): In function `button_press_event':
: undefined reference to `scm_long2num'
events.o(.text+0x530): In function `button_press_event':
: undefined reference to `scm_c_eval_string'
events.o(.text+0x538): In function `button_press_event':
: undefined reference to `scm_call_0'
events.o(.text+0x586): In function `button_press_event':
: undefined reference to `scm_cons'
events.o(.text+0x5a1): In function `button_press_event':
: undefined reference to `scm_long2num'
events.o(.text+0x60e): In function `button_press_event':
: undefined reference to `scm_c_eval_string'
events.o(.text+0x616): In function `button_press_event':
: undefined reference to `scm_call_0'
events.o(.text+0x877): In function `button_release_event':
: undefined reference to `scm_long2num'
events.o(.text+0x885): In function `button_release_event':
: undefined reference to `scm_c_eval_string'
events.o(.text+0x89a): In function `button_release_event':
: undefined reference to `scm_call_2'
events.o(.text+0x8ac): In function `button_release_event':
: undefined reference to `scm_long2num'
events.o(.text+0x8c7): In function `button_release_event':
: undefined reference to `scm_c_eval_string'
events.o(.text+0x8cf): In function `button_release_event':
: undefined reference to `scm_call_0'
press_data.o(.text+0x115): In function `generate_press_data':
: undefined reference to `scm_cons'
press_data.o(.text+0x48b): In function `generate_press_data':
: undefined reference to `scm_long2num'
press_data.o(.text+0x499): In function `generate_press_data':
: undefined reference to `scm_c_eval_string'
press_data.o(.text+0x4ac): In function `generate_press_data':
: undefined reference to `scm_call_2'
menu.o(.text+0x79): In function `undo_callback':
: undefined reference to `scm_c_eval_string'
menu.o(.text+0xa9): In function `redo_callback':
: undefined reference to `scm_c_eval_string'
collect2: ld returned 1 exit status
make[3]: *** [sol] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-games-2.10.0/work/gnome-games-2.10.0/aisleriot'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-games-2.10.0/work/gnome-games-2.10.0/aisleriot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-games-2.10.0/work/gnome-games-2.10.0'
make: *** [all] Error 2

!!! ERROR: gnome-extra/gnome-games-2.10.0 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge gnome-extra/gnome-games



Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.6.11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5-r1
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.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/texmf/web2c
/usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O2 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.mirrors.pair.com/
http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 4kstacks X a52 aac aavm acpi alsa apache2 artworkextra asm avi
bash-completion berkdb bl bzlib calendar cdparanoia cdr crypt css cups curl dba
dhcp directfb divx4linux doc dvd dvdread eds encode esd evo evo2 exif fam fbcon
ffmpeg flac flash foomaticdb fortran fping ftp gd gdbm gif gnome gpm gstreamer
gtk gtk2 guile i8x0 icq imagemagick imap imlib imlib2 irda jabber java jikes jp2
jpeg libcaca libg++ libwww lirc mad mhash mikmod ming mmx mmx2 mng motif
mozdevelop mozilla moznomail mp3 mpeg mpi msn mysql nas ncurses net network nls
nptl nptlonly offensive ogg oggvorbis openal opengl openssh oscar pam pcre
pdflib perl php pic png python quicktime readline real rtc samba sdl session
slang sockets speex spell sse sse2 ssl svg svga tcpd tetex tga tiff transcode
truetype truetype-fonts type1-fonts usb vcd videos virus-scan vorbis wmf xml
xml2 xmms xpm xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Joshua Friedman 2005-05-19 12:13:11 UTC
New guile-1.6.7 should be emerged before gnome-games-2.10.0.
Comment 2 foser (RETIRED) gentoo-dev 2005-05-20 07:26:57 UTC
it looks like a missing linker directive to me.
Comment 3 David Li 2005-05-21 17:19:00 UTC
By the way, is anybody getting strange dependencies when trying to emerge 
gnome-games-2.10.0? I did emerge -uD --newuse world and it wants to have these:

gnome-print-0.37
libglade-0.17-r6
gnome-common-2.8.0
oaf-0.6.10
gconf-1.0.9
gnome-vfs-1.0.5-r4
control-center-1.4.0.5-r1
gnome-panel-1.4.2-r2
libgtop-1.0.13-r2
gnome-applets-1.4.0.5
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-04 15:14:12 UTC
What version of guile do you have installed?
Also, please attach the complete output from emerge. Thanks.
Comment 5 David Li 2005-06-06 14:42:32 UTC
Hi, I'm using guile version 1.6.7. I'll attach the log in a moment.

I have a hunch that something is messed up around:
checking for i686-pc-linux-gnu-g++... yes
checking for guile-config... yes
ERROR: Unbound variable: include-deprecated-features
ERROR: Unbound variable: include-deprecated-features
ERROR: Unbound variable: include-deprecated-features
./configure: line 19531: test: !=: unary operator expected
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes
Comment 6 David Li 2005-06-06 14:44:32 UTC
Created attachment 60740 [details]
Emerge log
Comment 7 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-06 16:04:51 UTC
Thanks, could you please attach the contents of the file
/var/tmp/portage/gnome-games-2.10.1/work/gnome-games-2.10.1/config.log also?

Also, try re-emerging guile after unsetting your LDFLAGS, and removing
"-fvisibility-inlines-hidden" from CXXFLAGS.
Comment 8 David Li 2005-06-08 13:53:36 UTC
Yeah, I tried the suggestions and it didn't help. Oh well, here's the config.log
atleast.
Comment 9 David Li 2005-06-08 13:54:52 UTC
Created attachment 60863 [details]
The configuration log of the gnome-games
Comment 10 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-09 10:43:52 UTC
It looks like something is really broken with guile in your machine. What is the
output from "guile-config link"?
Comment 11 David Li 2005-06-09 10:56:47 UTC
Huh, it gives me:
ERROR: Unbound variable: include-deprecated-features

So I reemerged guile. And now gnome-games compiles too...
So this is really a guile bug. Oh well, thanks for helping me out.