Louis,

Your trace didn't actually show any error messages
so it is a bit difficult to tell.

However there are two problems I have encountered
building the static libraries in 0.9.22.

Firstly, you must use GNU make 3.80; 3.79 as shipped
with Enterprise Linux (for example) doesn't handle
the pattern match rule used to build the library correctly.
There is nothing wrong with the make rule, just looks like
a bug in the older version of make.

Secondly I note you are cross compiling. 0.9.22 introduced
a new rule to build static libraries which uses $(LD) to
do a partial link. We have found (cross compiling to SH4)
that nothing in the configure/automake generated makefiles
actually sets the LD variable, so it uses the system "ld" rather
than the cross linker. This of course fails because the object
types are wrong. We have to manually set LD to the cross linker
before configure and make to get a working build.

We did attempt to figure out the autotool magic to solve this,
but failed miserably, lost in a maze of twisty macros all alike.
In the end it was easier just to set it manually :-(

Regards,
-stephen

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

Reply via email to