cacao-0.96-2

James Jackson james_e_jackson at yahoo.com
Tue Oct 10 01:34:44 UTC 2006


CACAO-0.96-2 has been stuck in unstable for quite some
time because it won't build on powerpc.  The error is
as follows:

cc -I../../../../src -I../../../.. -I../../../../src
-I../../../../src/vm/jit/powerpc/linux -g -Wall -O2
-D__POWERPC__ -D__LINUX__ -ansi -pedantic -Wall
-Wno-long-long -D_POSIX_C_SOURCE=199506L
-D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED
-D_BSD_SOURCE -c asmpart.S  -fPIC -DPIC -o
.libs/asmpart.o

In file included from
../../../../src/vm/jit/powerpc/linux/md-asm.h:39,
                 from asmpart.S:42:
/usr/include/asm/ppc_asm.h:11:2: error: #error
__FILE__ should only be used in assembler files

Essentially, the file ppc_asm.h can't be included if
the symbol "__ASSEMBLY__" isn't defined.  

Adding "#define __ASSEMBLY__" to the file asmpart.S
allows the package to build, but this is probably not
the correct solution to the problem.  I googled a
little and found reference to a patch to ppc_asm.h
that changed "__ASSEMBLY__" to "__ASSEMBLER__".
Perhaps that's the problem.

Best of luck.

James

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the pkg-java-maintainers mailing list