Niels Roest wrote:
>> sh_sh4le-gcc -O3 -ffast-math -pipe -D_GNU_SOURCE
>> -Werror-implicit-function-declaration -o .libs/sh7722_jpegtool 
>> sh7722_jpegtool.o
>>  ../../src/.libs/libdirectfb.so ./.libs/libsh7722_jpeg.so -ldl -lpthread
>> sh_sh4le-ld: warning: libdirect-1.3.so.0, needed by
>> ../../src/.libs/libdirectfb.so, not found (try using -rpath or -rpath-link)
>> sh_sh4le-ld: warning: libfusion-1.3.so.0, needed by
>> ../../src/.libs/libdirectfb.so, not found (try using -rpath or -rpath-link)
>> sh7722_jpegtool.o: In function `write_ppm':
>> sh7722_jpegtool.c:(.text+0x1b8): undefined reference to `direct_page_align'
>> ...
>> ...
>> etc.etc. undefined references to all directfb symbols because of the previous
>> library mismatch.
>>
>> Is a -rpath-link parameter really missing somewhere in Makefiles?
>>
>>   
> Your file should be there.
> I have
> ~/DFB/DirectFB/src/.libs$ ls -1
> directfb.o
> idirectfb.o
> libdirectfb-1.3.so.0
> libdirectfb-1.3.so.0.0.0
> libdirectfb.la
> libdirectfb.lai
> libdirectfb.so
> 
> Maybe your libdirectfb linking stage failed.

Have the same content. The problematic libdirect-1.3.so.0 is also present in the
tree but it is just not found. Linker finds libdirectfb.so, and it is ok till
now. after this this libtool is searching for its dependencies in
libdirectfb.la. Here must be all dependencies of libdirectfb.so specified,
AFAIK. Maybe here is the problem since two dependencies cannot be found. Can you
post here the content of libdirectfb.la, please?

Thanks,
        Rene
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to