On Thu, 2006-06-22 at 10:01 +0200, Jakub Ladman wrote:
> Greetings
> 
> My friend has recomended me SDL library for graphical output of my SuperH4 
> embedded system with framebuffer device.
> 
> After succesfull cross emerge the media-libs/libsdl library, i am trying to 
> crosscompile any demo, but everythings fails.
> 
> Do you have tip to a crosscompilable test software for graphics via sdl?
> 
> Here is output of running Makefile, where i have manually changed gcc 
> compiler 
> to sh4-pc-linux-uclibc.
> 
> [EMAIL PROTECTED] ~/src/fire_sh $ make
> sh4-pc-linux-uclibc-gcc -DPACKAGE=\"fire\" -DVERSION=\"1.0\"  -I. -I.      -g 
> -O2 -I/usr/include/SDL -D_REENTRANT -c 
> fire.c
> sh4-pc-linux-uclibc-gcc  -g -O2 -I/usr/include/SDL -D_REENTRANT  -o fire  
> fire.o  -lSDL -lpthread
> /usr/lib/gcc/sh4-pc-linux-uclibc/3.4.6/../../../../sh4-pc-linux-uclibc/bin/ld:
>  
> cannot find -lSDL
> collect2: ld returned 1 exit status
> make: *** [fire] Error 1
> [EMAIL PROTECTED] ~/src/fire_sh $                
> 
> 
> It seems, like the cross compiler does not know the native library.


Try including and linking with the sdl in your ROOT environment vs
your / env. You know the -L/path -I/path flags..

-- 
Ned Ludd <[EMAIL PROTECTED]>
Gentoo Linux

-- 
[email protected] mailing list

Reply via email to