The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
libSDL vs uclibc
Bu Bacoo
Guest

Is it possible to linky agains libSDL when using uclibc? I have a chroot
environment with uclibc (gentoo based) and I have compiled libsdl with
standard USE flags ( I also tested -X, because I'd like to run just agains
fbcon, but no luck)

Any ideas?

# g++ -o test.o main.cpp -lSDL
main.cpp: In function `int main(int, char**)':
main.cpp:100: warning: passing `double' for converting 3 of `void
CTunnel::Draw(SDL_Surface*, SDL_Surface*, int, int)'
main.cpp:100: warning: passing `float' for converting 4 of `void
CTunnel::Draw(SDL_Surface*, SDL_Surface*, int, int)'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `termattrs'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `endwin'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `nl'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `echo'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `nocbreak'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `wrefresh'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `cbreak'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `waddnstr'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `nonl'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `keypad'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `noecho'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `intrflush'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `initscr'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `wmove'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `curs_set'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `wgetch'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `stdscr'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `wclear'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `nodelay'
/usr/lib/gcc-lib/i386-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `mousemask'
collect2: ld returned 1 exit status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060120/44d5302f/attachment.htm
libSDL vs uclibc
Joshua Oreman
Guest

On 1/20/06, Bu Bacoo <bubacoo at gmail.com> wrote:
Quote:
Is it possible to linky agains libSDL when using uclibc? I have a chroot
environment with uclibc (gentoo based) and I have compiled libsdl with
standard USE flags ( I also tested -X, because I'd like to run just agains
fbcon, but no luck)

Any ideas?


Looks like you need ncurses. I don't know why though... any SDL
developer want to enlighten me? :-)

-- Josh
libSDL vs uclibc
Stephane Marchesin
Guest

Joshua Oreman wrote:

Quote:
On 1/20/06, Bu Bacoo <bubacoo at gmail.com> wrote:


Quote:
Is it possible to linky agains libSDL when using uclibc? I have a chroot
environment with uclibc (gentoo based) and I have compiled libsdl with
standard USE flags ( I also tested -X, because I'd like to run just agains
fbcon, but no luck)

Any ideas?




Looks like you need ncurses. I don't know why though... any SDL
developer want to enlighten me? :-)



SDL by itself doesn't use ncurses

Stephane
libSDL vs uclibc
Mike Frysinger
Guest

On Friday 20 January 2006 11:33, Bu Bacoo wrote:
Quote:
Is it possible to linky agains libSDL when using uclibc? I have a chroot
environment with uclibc (gentoo based) and I have compiled libsdl with
standard USE flags ( I also tested -X, because I'd like to run just agains
fbcon, but no luck)

Any ideas?

this is because aalib doesnt build properly in a uClibc env ... i'll fix this
up in portage
-mike