Building gmu-0.7.0_BETA8B - linking errors

ghislain at basetrend.nl ghislain at basetrend.nl
Sat Mar 27 06:10:07 EDT 2010


I'm trying to build "gmu-0.7.0_BETA8B" for the NanoNote, but I keep 
getting the following error-messages (and therefore no binary):

$ TARGET=nanonote make
Compiling src/core.c
Compiling src/ringbuffer.c
Compiling src/util.c
Compiling src/dir.c
Compiling src/trackinfo.c
Compiling src/playlist.c
Compiling src/wejpconfig.c
Compiling src/m3u.c
Compiling src/audio.c
Compiling src/charset.c
Compiling src/fileplayer.c
Compiling src/decloader.c
Compiling src/feloader.c
Compiling src/eventqueue.c
Compiling src/oss_mixer.c
Compiling src/hw_nanonote.c
Linking gmu
/opt/toolchains/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: 
warning: libdirectfb-1.4.so.0, needed by 
/opt/mipsel-linux-uclibc/usr/lib/libSDL_image.so, not found (try using 
-rpath or -rpath-link)
/opt/toolchains/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: 
warning: libfusion-1.4.so.0, needed by 
/opt/mipsel-linux-uclibc/usr/lib/libSDL_image.so, not found (try using 
-rpath or -rpath-link)
/opt/toolchains/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: 
warning: libdirect-1.4.so.0, needed by 
/opt/mipsel-linux-uclibc/usr/lib/libSDL_image.so, not found (try using 
-rpath or -rpath-link)
/opt/mipsel-linux-uclibc/usr/lib/libSDL.so: undefined reference to 
`DirectFBCreate'
/opt/mipsel-linux-uclibc/usr/lib/libSDL.so: undefined reference to 
`DirectFBError'
/opt/mipsel-linux-uclibc/usr/lib/libSDL.so: undefined reference to 
`DirectFBErrorString'
/opt/mipsel-linux-uclibc/usr/lib/libSDL.so: undefined reference to 
`DirectFBInit'
collect2: ld returned 1 exit status
make: *** [gmu] Error 1
$


This is what my nanonote.mk files looks like:

DECODERS_TO_BUILD=decoders/vorbis.so decoders/musepack.so 
decoders/flac.so decoders/wavpack.so decoders/mikmod.so
FRONTENDS_TO_BUILD=frontends/sdl.so frontends/log.so
DEVICE=NANONOTE
CONFIG=-D_$(DEVICE)
SDL_LIB=-lSDL -lpthread
SDL_CFLAGS=-I/opt/toolchains/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/SDL 
-I/opt/mipsel-linux-uclibc/usr/include/ -D_GNU_SOURCE=1 -D_REENTRANT
CXX=/opt/toolchains/mipsel/usr/bin/mipsel-linux-g++
CC=/opt/toolchains/mipsel/usr/bin/mipsel-linux-gcc
STRIP=/opt/toolchains/mipsel/usr/bin/mipsel-linux-strip
COPT=-Wall -O3 -ffast-math -fomit-frame-pointer $(SDL_CFLAGS) 
-I/opt/mipsel-linux-uclibc/usr/include/ $(CONFIG)
CFLAGS=-s -L/opt/mipsel-linux-uclibc/usr/lib -lSDL_image -lSDL_gfx 
$(SDL_LIB) -lpng -ljpeg -lpthread -lm -ldl -lz -lgcc -Wl,-export-dynamic
DISTFILES=$(BINARY) frontends decoders themes gmu.png README.txt 
libs.nanonote gmu.dge COPYING

Did someone already compile this latest version successfully? Or does 
someone know what I'm doing wrong?


Regards,
Ghislain
BaseTrend - openmobile.nl




More information about the discussion mailing list


interactive