So now I'm running into a new problem while compiling SqueezeOS.

Somehow it looks like libsdl_image is trying to use libraries from my
local system instead of the ones compiled by the toolchain.

Here is the part where compilation fails


Code:
--------------------
    
  ERROR: function do_install failed
  ERROR: log data follows 
(/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/temp/log.do_install.8616)
  | NOTE: make 
DESTDIR=/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/image
 install
  | make[1]: Entering directory 
`/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/SDL_image-1.2.5'
  | test -z "/usr/lib" || /bin/mkdir -p 
"/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/image/usr/lib"
  |  /bin/sh ./libtool   --mode=install /usr/bin/install -c  'libSDL_image.la' 
'/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/image/usr/lib/libSDL_image.la'
  | libtool: install: warning: relinking `libSDL_image.la'
  | (cd 
/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/SDL_image-1.2.5;
 /bin/sh ./libtool  --tag=CC --mode=relink arm-none-linux-gnueabi-gcc 
-march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb 
--sysroot=/home/pilznille/build/squeezeos/poky/build/tmp-jive/staging/armv5te-none-linux-gnueabi
 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb 
-feliminate-unused-debug-types 
-I/home/pilznille/build/squeezeos/poky/build/tmp-jive/staging/armv5te-none-linux-gnueabi/usr/include/SDL
 -D_GNU_SOURCE=1 -D_REENTRANT -no-undefined -release 1.2 -version-info 1:4:1 
-Wl,-O1 -o libSDL_image.la -rpath /usr/lib IMG.lo IMG_bmp.lo IMG_gif.lo 
IMG_jpg.lo IMG_lbm.lo IMG_pcx.lo IMG_png.lo IMG_pnm.lo IMG_tga.lo IMG_tif.lo 
IMG_xcf.lo IMG_xpm.lo IMG_xv.lo IMG_gd.lo -lpng -lz -ljpeg 
-L/home/pilznille/build/squeezeos/poky/build/tmp-jive/staging/armv5te-none-linux-gnueabi/usr/lib
 -Wl,-rpath,/home/pilznille/bu
 ild/squeezeos/poky/build/tmp-jive/staging/armv5te-none-linux-gnueabi/usr/lib 
-lSDL -lpthread -inst-prefix-dir 
/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/image)
  | arm-none-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb 
--sysroot=/home/pilznille/build/squeezeos/poky/build/tmp-jive/staging/armv5te-none-linux-gnueabi
 -shared  .libs/IMG.o .libs/IMG_bmp.o .libs/IMG_gif.o .libs/IMG_jpg.o 
.libs/IMG_lbm.o .libs/IMG_pcx.o .libs/IMG_png.o .libs/IMG_pnm.o .libs/IMG_tga.o 
.libs/IMG_tif.o .libs/IMG_xcf.o .libs/IMG_xpm.o .libs/IMG_xv.o .libs/IMG_gd.o  
-L/home/pilznille/build/squeezeos/poky/build/tmp-jive/staging/armv5te-none-linux-gnueabi/usr/lib/.libs
 
-L/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/image/usr/lib
 -L/usr/lib -lpng -lz -ljpeg -lSDL -lpthread  -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -Wl,-O1 -Wl,-rpath 
-Wl,/home/pilznille/build/squeezeos/poky/build/tmp-jive/staging/armv5te-none-linux-gnueabi/usr/lib
 -Wl,-soname -Wl,libSDL_image-1.2.so.0 -o .libs/libSDL_image-1.2.so.0.1.4
  | 
/home/pilznille/build/squeezeos/poky/build/tmp-jive/cross/armv5te/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld:
 warning: library search path "/usr/lib" is unsafe for cross-compilation
  | /usr/lib/libpng.so: file not recognized: File format not recognized
  | collect2: ld returned 1 exit status
  | libtool: install: error: relink `libSDL_image.la' with the above command 
before installing it
  | make[1]: *** [install-libLTLIBRARIES] Error 1
  | make[1]: Leaving directory 
`/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/SDL_image-1.2.5'
  | make: *** [install-am] Error 2
  | FATAL: oe_runmake failed
  NOTE: Task failed: 
/home/pilznille/build/squeezeos/poky/build/tmp-jive/work/armv5te-none-linux-gnueabi/libsdl-image-1.2.5+svnr9512-r3/temp/log.do_install.8616
  NOTE: package libsdl-image-1.2.5+svnr9512-r3: task do_install: failed
  ERROR: TaskFailed event exception, aborting
  NOTE: package libsdl-image-1.2.5+svnr9512: failed
  ERROR: Build of 
/home/pilznille/build/squeezeos/poky/meta-squeezeos/packages/libsdl/libsdl-image_svn.bb
 do_install failed
  ERROR: Task 639 
(/home/pilznille/build/squeezeos/poky/meta-squeezeos/packages/libsdl/libsdl-image_svn.bb,
 do_install) failed
  
--------------------


I've already followed the hint from the wiki temporarily moving
/usr/bin/sdl-config to /usr/bib/sdl-config.bak
(http://wiki.slimdevices.com/index.php/SqueezeOS_Build_Instructions#bitbake_fails_in_squeezeplay)
but it looks like the build system is still trying to use local
libraries.

My machine I'm trying to compile SqueezeOS is an x86_64 System running
Ubuntu 10.04 LTS.

Any further ideas how to fix this problem?


-- 
dachande
------------------------------------------------------------------------
dachande's Profile: http://forums.slimdevices.com/member.php?userid=53122
View this thread: http://forums.slimdevices.com/showthread.php?t=92846

_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive

Reply via email to