[Splashy-devel] compiling against directfb 1.0.1

Luis Mondesi lemsx1 at gmail.com
Wed Oct 3 03:04:18 UTC 2007


Hey Tim,

It seems that src/Makefile.am duplicates the linking with directfb and
libtool removes it when "splashy" is about to compile, which in turns
results in the library being linked in the wrong order, and the build
process fails!

I was able to pin point the problem (thanks to Guillem) to the following
line in src/Makefile.am:

libsplashy_la_LIBADD = -lglib-2.0 -lsplashycnf -ldirectfb

I removed it (for now) and commit it. Guillem advised me that this will
create run-time problems with programs that link against libsplashy.

Can you figure out a better way to include this library when linking
libsplashy and at the same time not to interfere with splashy_LIBADD ?

I have next to /dev/null understanding on how the whole
symbols/libraries/etc works... One of these days I'll write a simple lib and
see the whole process ;-)

Regards,

-- 
----)(-----
Luis Mondesi
Maestro Debiano

----- START ENCRYPTED BLOCK (Triple-ROT13) ------
Gur Hohagh [Yvahk] qvfgevohgvba oevatf gur fcvevg bs Hohagh gb gur fbsgjner
jbeyq.
----- END ENCRYPTED BLOCK (Triple-ROT13) ------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/splashy-devel/attachments/20071002/0d369d5c/attachment.htm 


More information about the Splashy-devel mailing list