Hello,

20 Jun 2007 06:32:05 -0000, saravanan sar sar <[EMAIL PROTECTED]>:
>
>
>
>  hi,
>
>  has anyone compiled directfb using buildroot for MIPS processor ?
>
>  i tried compiling
> buildroot(buildroot-20050807-ext2rootfix.tar.bz2) for
> MIPS(DBAU1200). but i was not successfull. the following are the errors:
>
>  make[4]: Entering directory
> `/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/DirectFB-0.9.22/systems/sdl'
>  /bin/sh ../../libtool --tag=CC --mode=link mipsel-linux-uclibc-gcc  -Wall
> -O3 -ffast-math -pipe  -D_GNU_SOURCE
> -Werror-implicit-function-declaration
> -L/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/staging_dir/lib
> -L/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/staging_dir/usr/lib
> -o libdirectfb_sdlinput.la -rpath
> /usr/local/lib/directfb-0.9.22/inputdrivers -L/usr/lib -lSDL -lpthread
> -avoid-version -module sdlinput.lo  -ldl -lpthread
>  mipsel-linux-uclibc-gcc -shared  .libs/sdlinput.o
> -L/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/staging_dir/lib
> -L/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/staging_dir/usr/lib
> -L/usr/lib /usr/lib/libSDL.so -ldl -lpthread  -Wl,-soname
> -Wl,libdirectfb_sdlinput.so -o .libs/libdirectfb_sdlinput.so
>  /usr/lib/libSDL.so: could not read symbols: File in wrong format
>  collect2: ld returned 1 exit status
>  make[4]: *** [libdirectfb_sdlinput.la] Error 1
>  make[4]: Leaving directory
> `/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/DirectFB-0.9.22/systems/sdl'
>  make[3]: *** [all-recursive] Error 1
>  make[3]: Leaving directory
> `/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/DirectFB-0.9.22/systems'
>  make[2]: *** [all-recursive] Error 1
>  make[2]: Leaving directory
> `/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/DirectFB-0.9.22'
>  make[1]: *** [all] Error 2
>  make[1]: Leaving directory
> `/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/DirectFB-0.9.22'
>  make: ***
> [/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot/build_mipsel/DirectFB-0.9.22/.compiled]
> Error 2
> suse:/home/LINUXAU1200/rootfilesystem/oldbuild/graphicsbuild/buildroot
>  #
>
>  can anyone provide me any suggestions or solutions for this ?
>
Well your linker tries to link with a lib which is not in the good
format. I mean /usr/lib/libSDL.so is probably compiled for x86, so it
is impossible for the linker to generate a MIPS lib with such a
library.
If you have a precompiled MIPS SDL lib, a really quick and UGLY
solution would be to make a symlink between your SDL MIPS lib and
/usr/lib/libSDL.so
or restart configure step and I think you probably have an option like
--with-libSDL=path-to-SDL

>  thanks in advance,
>
>  saravanan.
>
>
>
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
>


-- 
Olivier DOLE
Pleyo
Software Engineer

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to