Sorry to insisten, But can anyone help me? I cannot find what is happening.
thanks!! On Sat, Jul 7, 2012 at 1:26 PM, Alberich de megres <[email protected]> wrote: > Hello! > > I'm trying to cross-compile dfb-1.6.1 for arm. > > I'm getting a strange error: undefined reference to `dlopen' > the same for dlerror, and dlclose. > > I checked for libdl in the cross-compiles sys-root and it's there: > l$(gcc-sysroot)/lib/libdl.so.2 > > What do I did wrong? > > thanks!!! > ------------------------ > > this is my configure: > > ./configure --host=arm-bcm2708hardfp-linux-gnueabi --build=i386-linux > --target=arm-bcm2708hardfp-linux-gnueabi --disable-jpeg --disable-png > --disable-gif --enable-fbdev=yes --disable-freetype --prefix=$PREFIX > --disable-devmem --with-gfxdrivers='none' --with-inputdrivers='none' > --enable-static --disable-shared --disable-x11 > > > The config final output: > > Build options: > Version 1.6.1 > Linux powered yes > Install prefix > Config files in /etc > Build shared libs no > Build static libs yes > Module directory ${exec_prefix}/lib/directfb-1.6-0 > CPPFLAGS -D_REENTRANT > CFLAGS -Wall -Wstrict-prototypes > -Wmissing-prototypes -Wno-strict-aliasing > -Werror-implicit-function-declaration -O2 -g2 -ffast-math -pipe > -D_GNU_SOURCE -std=gnu99 -Werror-implicit-function-declaration > LDFLAGS > LIBS -lrt -lpthread > DYNLIB > RTLIB -lrt > THREADFLAGS -D_REENTRANT > THREADLIB -lpthread > > Misc options: > Multi Application Core no > Fusion Kernel Device N/A > Fusion message size 16384 > One (IPC) no > Voodoo (network support) no > Pure Voodoo (net only) no > Debug supported yes > Debug enabled no > Trace support no > MMX support no > SSE support no > Network support yes > Include all strings yes > Software Rendering yes > Smooth SW Scaling no > Dithering none > Dithering 565 none > zlib compression no > Using setsockopt yes > > Building Tests no > Building Tools yes > > Building System Modules: > Linux FBDev support yes > Generic /dev/mem support no > Mesa/DRM/KMS support no > PVR2D no > EGL no > X11 support no > X11/VDPAU support no > OSX support no > SDL support no > VNC support no > > Building Window Manager Modules: > Default yes > UniQuE no > > Building Image Provider Modules: > GIF no > JPEG no > PNG no > Imlib2 no > PNM yes > SVG no > BMP yes > JPEG2000 no > MPEG2 yes > > > Building Video Provider Modules: > GIF no > Video4Linux yes (v2: no) > MNG no > > Building Font Modules: > FreeType2 > LinoType no > Default font yes > > Building Graphics Drivers: > 3Dfx Voodoo no > ATI Mach64 no > ATI Rage 128 no > ATI Radeon no > Cirrus EP9X no > Intel i810 no > Intel i830 no > Matrox no > NeoMagic no > NSC Geode no > nVidia no > PVR2D no > PXA 3xx no > Renesas SH7722/SH7723 no > S3 Savage no > SiS 315 no > TI Davinci no > TI OMAP no > TVIA CyberPro no > VIA CLE266 no > VIA UniChrome no > VMWare no > VDPAU no > -- > OpenGL no (GLX: no) > OpenGL ES 2.0 no (Mesa: no, PVR2D: no) > > > Building Input Drivers: > DBox2 Remote no > DreamBox Remote no > Dynapro Touchscreen no > ELO Touchscreen no > Gunze Touchscreen no > H3600 Touchscreen no > Input Hub no > Joystick no > Keyboard no > Linux Input no > LiRC no > MuTouch touchscreen no > Zytronic touchscreen no > PS/2 Mouse no > Serial Mouse no > SonyPI Jogdial no > tslib no > ucb1x00 Touchscreen no > WM97xx Touchscreen no > > > And the error: > > > > make[3]: Entering directory > `/home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/src' > CC idirectfb.lo > CC directfb.lo > CC directfb_result.lo > CXX dummy.lo > CC init.lo > CXXLD libdirectfb.la > libtool: link: warning: library > `/home/crow/projects/rpi/tools/arm-bcm2708/x86-linux64-cross-arm-linux-hardfp/bin/../arm-bcm2708hardfp-linux-gnueabi//sys-root/lib/libstdc++.la' > was moved. > copying selected object files to avoid basename conflicts... > rm -f libdirectfb_fixed.a > arm-bcm2708hardfp-linux-gnueabi-ar cru libdirectfb_fixed.a `find . > -name "*.o" | grep -v '.libs'` > arm-bcm2708hardfp-linux-gnueabi-ranlib libdirectfb_fixed.a > cp -pf libdirectfb_fixed.a .libs/libdirectfb.a > make[3]: Leaving directory > `/home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/src' > make[2]: Leaving directory > `/home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/src' > Making all in tools > make[2]: Entering directory > `/home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/tools' > CC dfbdump.o > CCLD dfbdump > libtool: link: warning: library > `/home/crow/projects/rpi/tools/arm-bcm2708/x86-linux64-cross-arm-linux-hardfp/bin/../arm-bcm2708hardfp-linux-gnueabi//sys-root/lib/libstdc++.la' > was moved. > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/.libs/libdirect.a(modules.o): > In function `open_module': > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/modules.c:448: > undefined reference to `dlopen' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/modules.c:450: > undefined reference to `dlerror' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/.libs/libdirect.a(modules.o): > In function `direct_modules_explore_directory': > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/modules.c:260: > undefined reference to `dlclose' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/modules.c:246: > undefined reference to `dlclose' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/.libs/libdirect.a(modules.o): > In function `unload_module': > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/modules.c:414: > undefined reference to `dlclose' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/.libs/libdirect.a(interface.o): > In function `DirectGetInterface': > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/interface.c:345: > undefined reference to `dlopen' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/interface.c:420: > undefined reference to `dlopen' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/interface.c:383: > undefined reference to `dlerror' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/interface.c:352: > undefined reference to `dlclose' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/interface.c:453: > undefined reference to `dlerror' > /home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/lib/direct/interface.c:427: > undefined reference to `dlclose' > collect2: ld returned 1 exit status > make[2]: *** [dfbdump] Error 1 > make[2]: Leaving directory > `/home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1/tools' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/crow/projects/rpi/compile_test/dfb/DirectFB-1.6.1' > make: *** [all] Error 2 _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
