http://bugs.openembedded.org/show_bug.cgi?id=1196

           Summary: "bitbake snes9x" complains about missing -lqte
           Product: Openembedded
           Version: OpenZaurus 3.5.4.x
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Distributions
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


Hi,

I've been working with the org.openembedded.oz354x branch.  I've used bitbake
to compile a number of packages and used them successfully on my SL-5600.

When I do "bitbake snes9x-sdl-qpe-1.39", it gets all the way to the end.  But
when it tries linking everything together it complains that -lqte is missing,
even though libqte has been compiled and is there.  This is what I get in
/stuff/build/tmp/work/snes9x-sdl-qpe-1.39-r1/temp/log.do_compile.4300:

NOTE: make -e MAKEFLAGS= CC=ccache arm-linux-gcc -march=armv5te -mtune=xscale
CCC=ccache arm-linux-g++ -march=armv5te -mtune=xscale
INCLUDES=-I/stuff/build/tmp/staging/arm-linux/include
-I/stuff/build/tmp/staging/arm-linux/include/SDL -D_REENTRANT
LDLIBS=-L/stuff/build/tmp/staging/arm-linux/lib
-Wl,-rpath,/stuff/build/tmp/staging/arm-linux/lib/../lib -lSDL -Wl,-rpath-link
-Wl,/stuff/build/tmp/staging/arm-linux/lib -Wl,-rpath-link
-Wl,/stuff/build/tmp/staging/arm-linux/qt2/lib -lpthread
-Wl,-rpath-link,/stuff/build/tmp/staging/arm-linux/lib
ccache arm-linux-g++ -march=armv5te -mtune=xscale
-I/stuff/build/tmp/staging/arm-linux/include
-I/stuff/build/tmp/staging/arm-linux/include/SDL -D_REENTRANT -o
snes9x cpuops.o cpuexec.o   cpu.o tile.o gfx.o clip.o memmap.o ppu.o dma.o
unix/unix.o spc700.o soundux.o apu.o unix/svga.o dsp1.o snes9x.o snapshot.o
data.o globals.o  loadzip.o unzip/unzip.o unzip/explode.o unzip/unreduce.o
unzip/unshrink.o  -L/stuff/build/tmp/staging/arm-linux/lib
-Wl,-rpath,/stuff/build/tmp/staging/arm-linux/lib/../lib -lSDL -Wl,-rpath-link
-Wl,/stuff/build/tmp/staging/arm-linux/lib -Wl,-rpath-link
-Wl,/stuff/build/tmp/staging/arm-linux/qt2/lib -lpthread
-Wl,-rpath-link,/stuff/build/tmp/staging/arm-linux/lib -lqpe -lqte -lpthread
/stuff/build/tmp/cross/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld:
cannot find -lqte
collect2: ld returned 1 exit status
make: *** [snes9x] Error 1
FATAL: oe_runmake failed

libqte can be found in /stuff/build/tmp/staging/arm-linux/qt2/lib but the make
command doesn't put "-lqte" after this directory.

The last line of the make command looks like this:

-Wl,/stuff/build/tmp/staging/arm-linux/qt2/lib -lpthread
-Wl,-rpath-link,/stuff/build/tmp/staging/arm-linux/lib -lqpe -lqte -lpthread

If the command moved the -lqte up a line and removed the first -lpthread so it
looked like this, then I think it would work:

-Wl,/stuff/build/tmp/staging/arm-linux/qt2/lib -lqte
-Wl,-rpath-link,/stuff/build/tmp/staging/arm-linux/lib -lqpe -lpthread

Is there a way to change the snes9x-sdl-qpe-1.39.bb file to do this?


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to