Hello!

I'm trying to compile DirectFB-0.9.22 on a
Solaris 8 machine (I know, thats not a supported
platform). But the following error messages
make me hope that this is solvable:

gcc -Wall -O3 -ffast-math -pipe -D_GNU_SOURCE 
-Werror-implicit-function-declaration \
    -o .libs/dfbdump dfbdump.o  
-L/home/andreass/Solaris/Install/gdk-pixbuf-0.22.0/lib \
    ../src/.libs/libdirectfb.so \
    
/home/andreass/Solaris/Compiled/DirectFB-0.9.22/lib/fusion/.libs/libfusion.so\
    ../lib/fusion/.libs/libfusion.so\
    
/home/andreass/Solaris/Compiled/DirectFB-0.9.22/lib/direct/.libs/libdirect.so\
    ../lib/direct/.libs/libdirect.so -lrt -lz -ldl -lpthread\
    -R/home/andreass/Solaris/Install/DirectFB-0.9.22/lib
ld: warning: file ../lib/fusion/.libs/libfusion.so: linked to 
/home/andreass/Solaris/Compiled/DirectFB-0.9.22/lib/fusion/.libs/libfusion.so: 
attempted multiple inclusion of file
ld: warning: file ../lib/direct/.libs/libdirect.so: linked to 
/home/andreass/Solaris/Compiled/DirectFB-0.9.22/lib/direct/.libs/libdirect.so: 
attempted multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
gBlit                               ../src/.libs/libdirectfb.so
dfb_clip_stretchblit                ../src/.libs/libdirectfb.so
gGetDriverInfo                      ../src/.libs/libdirectfb.so
socketpair                          ../src/.libs/libdirectfb.so
gGetDeviceInfo                      ../src/.libs/libdirectfb.so
gFillRectangle                      ../src/.libs/libdirectfb.so
gAcquire                            ../src/.libs/libdirectfb.so
gDrawLine                           ../src/.libs/libdirectfb.so
gRelease                            ../src/.libs/libdirectfb.so
dfb_clip_blit                       ../src/.libs/libdirectfb.so
dfb_clip_line                       ../src/.libs/libdirectfb.so
dfb_clip_edges                      ../src/.libs/libdirectfb.so
gStretchBlit                        ../src/.libs/libdirectfb.so
dfb_clip_rectangle                  ../src/.libs/libdirectfb.so
ld: fatal: Symbol referencing errors. No output written to .libs/dfbdump
collect2: ld returned 1 exit status
gmake[2]: *** [dfbdump] Error 1
gmake[2]: Leaving directory 
`/home/andreass/Solaris/Compiled/DirectFB-0.9.22/tools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/andreass/Solaris/Compiled/DirectFB-0.9.22'
gmake: *** [all] Error 2

The two warnings can be avoided by calling gcc just as
above without the two lines having libfusion.so and
libdirect.so given with absolute path.
But the critical problem remains: Why are there still
undefined references?

Andreas

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

Reply via email to