Bug 105160 - libsdl compiles incorrectly with uclibc
Bug#: 105160 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: embedded@gentoo.org Reported By: rand@randeknight.com
Component: Library
URL: 
Summary: libsdl compiles incorrectly with uclibc
Keywords:  
Status Whiteboard: 
Opened: 2005-09-07 08:41 0000
Description:   Opened: 2005-09-07 08:41 0000
libsdl incorrectly detects dlvsym with uclibc, causing later libs like
sdl-mixer
to fail with "undefined reference to 'dlvsym'".








Reproducible: Always
Steps to Reproduce:
1. Start with uclibc base
2. Emerge libsdl
3. Emerge sdl-mixer

Actual Results:  
config.log has : 

configure:19636: checking for sdl-config
configure:19654: found /usr/bin/sdl-config
configure:19667: result: /usr/bin/sdl-config
configure:19675: checking for SDL - version >= 1.2.4
configure:19765: gcc -o conftest -Os -march=c3 -m3dnow -mmmx
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/SDL -D_REENTRANT   conftest.c  -lSDL -lpthread >&5
/usr/lib/gcc-lib/i586-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `dlvsym'
collect2: ld returned 1 exit status
configure:19768: $? = 1

------- Comment #1 From Rande Knight 2005-09-07 09:06:39 0000 -------
Created an attachment (id=67834) [details]
patches the configure.in to correctly detect dlvsym

------- Comment #2 From SpanKY 2005-09-07 16:19:26 0000 -------
fixed in cvs and mailed upstream