Cyril Plisko <cyril.plisko at gmail.com> wrote:
> -D__powerpc -D__powerpc__ -U_BIG_ENDIAN -c -o debug32/rootnex.o
> ../../chrp/io/rootnex.c
> cc1: warnings being treated as errors
> In file included from ../../common/sys/sunddi.h:41,
> from ../../common/sys/esunddi.h:32,
> from ../../common/sys/sunndi.h:37,
> from ../../chrp/io/rootnex.c:38:
> ../../common/sys/cmn_err.h:58: warning: 'cmn_err' is an unrecognized
> format function type
> ../../common/sys/cmn_err.h:62: warning: 'cmn_err' is an unrecognized
Compiling Solaris is currently an extremely ugly hack. It is unclear
when internal include files are used and when the includefiles
from /usr/include of the host system are used.
Has your GCC compiled not to use /usr/include but check a cross root
instead?
Did you create a usable <sys/varargs.h> and probally <varargs.h>?
Note that need to be careful when compiling varargs related stuff.
And check my last mail, it contains the right hints....
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily