Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28749 - Updating media-libs/sdl-image-1.2.3 failed
Summary: Updating media-libs/sdl-image-1.2.3 failed
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-14 18:56 UTC by Mark E. Drummond
Modified: 2003-09-21 14:12 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 Mark E. Drummond 2003-09-14 18:56:17 UTC
creating libSDL_image.la 
(cd .libs && rm -f libSDL_image.la && ln -s ../libSDL_image.la 
libSDL_image.la) 
/bin/sh ./libtool --mode=link gcc  -march=pentium2 -O2 -pipe 
-I/usr/include/SDL -D_REENTRANT -DLOAD_BMP -DLOAD_GIF -DLOAD_JPG -DLOAD_LBM 
-DLOAD_PCX -DLOAD_PNG -DLOAD_PNM -DLOAD_TGA -DLOAD_XPM  -o showimage  
showimage.o libSDL_image.la -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread 
gcc -march=pentium2 -O2 -pipe -I/usr/include/SDL -D_REENTRANT -DLOAD_BMP 
-DLOAD_GIF -DLOAD_JPG -DLOAD_LBM -DLOAD_PCX -DLOAD_PNG -DLOAD_PNM -DLOAD_TGA 
-DLOAD_XPM -o .libs/showimage showimage.o .libs/libSDL_image.so -ljpeg -lpng 
-lz -L/usr/lib -lSDL -lpthread -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread 
showimage.o(.text+0x32): In function `draw_background': 
: undefined reference to `SDL_MapRGB' 
showimage.o(.text+0x5b): In function `draw_background': 
: undefined reference to `SDL_MapRGB' 
showimage.o(.text+0x19b): In function `main': 
: undefined reference to `SDL_ShowCursor' 
showimage.o(.text+0x1e8): In function `main': 
: undefined reference to `SDL_WM_SetCaption' 
showimage.o(.text+0x209): In function `main': 
: undefined reference to `SDL_VideoModeOK' 
showimage.o(.text+0x249): In function `main': 
: undefined reference to `SDL_SetVideoMode' 
showimage.o(.text+0x28b): In function `main': 
: undefined reference to `SDL_UpperBlit' 
showimage.o(.text+0x2b5): In function `main': 
: undefined reference to `SDL_UpdateRect' 
showimage.o(.text+0x2c4): In function `main': 
: undefined reference to `SDL_PollEvent' 
showimage.o(.text+0x2f8): In function `main': 
: undefined reference to `SDL_FreeSurface' 
showimage.o(.text+0x3af): In function `main': 
: undefined reference to `SDL_SetColors' 
.libs/libSDL_image.so: undefined reference to `SDL_LoadBMP_RW' 
.libs/libSDL_image.so: undefined reference to `SDL_SetColorKey' 
.libs/libSDL_image.so: undefined reference to `SDL_CreateRGBSurface' 
collect2: ld returned 1 exit status 
distcc[2917] ERROR: compile on localhost failed 
make: *** [showimage] Error 1 
 
!!! ERROR: media-libs/sdl-image-1.2.3 failed. 
!!! Function src_compile, Line 377, Exitcode 2 
!!! emake failed 
 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 
2.4.20-gentoo-r6) 
================================================================= 
System uname: 2.4.20-gentoo-r6 i686 Pentium II (Deschutes) 
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium2 -O2 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf 
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium2 -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs distcc" 
GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ 
ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ 
http://www.ibiblio.org/gentoo" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" 
USE="x86 gtkhtml bonobo -oss -apm -avi -crypt -cups -encode -foomaticdb -gif 
-java -jpeg -gnome -libg++ -mad -mikmod -mmx -mpeg -ncurses -nls -opengl 
-pdflib -png -quicktime -spell -truetype -xml2 -xmms -xv -zlib -directfb -alsa 
-gdbm -berkdb -slang -readline -arts -tetex -aalib -nas -svga -ggi -tcltk 
-guile -ruby -mysql -postgres -X -sdl -gpm -tcpd -pam -libwww -ssl -perl 
-python -esd -imlib -oggvorbis -gtk -qt -kde -motif -gphoto2 -ldap -cdr 
-scanner"
Comment 1 Mark E. Drummond 2003-09-20 03:03:44 UTC
This seems to have emerged successfully, though I do not know why. Guess we 
can close. 
 
Mark 
Comment 2 SpanKY gentoo-dev 2003-09-21 09:21:49 UTC
so you tried to emerge it again and it worked ?
Comment 3 Mark E. Drummond 2003-09-21 14:11:19 UTC
Yep. It was emerged successfully during my last `emerge -uD world`. I was 
wondering whether it was a USE flags issue as I changed some of them. I also 
did anothre emerge sync prior to the update so maybe that made a differance 
too. 
 
Mark 
Comment 4 SpanKY gentoo-dev 2003-09-21 14:12:22 UTC
alrighty, well if you can figure out how to reproduce it please re-open :)