Denis Oliver Kropp wrote:
>Round 2 is commited :)

Great, but there are still some issues.

1)
lib/direct/debug.c:32
#include <linux/unistd.h> 

please remove the linux/ or is this a problem for Linux?

2)
I still need to add 
#include <fusion/fusion.h>

to the top of osx/primary.c in order to compile, but then it compiles!

3)
ar cru .libs/libdirectfb_osx.a  primary.o osx.o
ranlib .libs/libdirectfb_osx.a
creating libdirectfb_osx.la
(cd .libs && rm -f libdirectfb_osx.la && ln -s ../libdirectfb_osx.la 
libdirectfb_osx.la)
rm -f .libs/libdirectfb_osxinput.a.tmp/*.o
if test -d .libs/libdirectfb_osxinput.a.tmp; then rmdir 
.libs/libdirectfb_osxinput.a.tmp; fi
mkdir .libs/libdirectfb_osxinput.a.tmp
(cd .libs/libdirectfb_osxinput.a.tmp && ar x ../../.libs/libdirectfb_osxinput.a)
ld -o libdirectfb_osxinput.o -r .libs/libdirectfb_osxinput.a.tmp/*.o
rm -f .libs/libdirectfb_osxinput.a.tmp/*.o && rmdir 
.libs/libdirectfb_osxinput.a.tmp
rmdir: .libs/libdirectfb_osxinput.a.tmp: Directory not empty
make[3]: *** [libdirectfb_osxinput.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

which is caused by:
-rw-r--r--    1 chris  chris   72 Nov 15 11:23 __.SYMDEF SORTED

ld creates these files, which are not removed by rm -f
.libs/libdirectfb_osxinput.a.tmp/*.o

I changed the makefile in osx/ manually to remove * and that appears to
work but the problem arises for every lib in the build. Unfortunately I
am not experienced enough with the autoconf scripts to know which is the
right place to edit this and if a rm * instead of *.o could be a problem
for others.

I am just a Macintosh oldtimer discovering the strange and interesting
world of Unix build systems, so please be patient ;-)

Greetings, Christian



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

Reply via email to