[kaffe] Building on SunOS 5.8

Dalibor Topic robilad@yahoo.com
Mon May 12 06:14:01 2003


Hallo Ronald,

--- Ronald Aigner <ra3@os.inf.tu-dresden.de> wrote:
> Hi,
> I just wanted to checkout and build Kaffe on a SunOS 5.8 but configure 
> aborted. I attached the config.log. I ran configure like this:
> './configure --prefix=/home/ra3/bin'
> 
> Is there anything I can try to make this work?

> configure:18124: checking size of short
> configure:18399: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes  
> conftest.c   >&5
> configure:18418: warning: function declaration isn't a prototype
> configure:18419: warning: function declaration isn't a prototype
> configure:18424: warning: function declaration isn't a prototype
> /usr/ccs/bin/as: "/var/tmp//ccTJnTJ9.s", line 283: error: invalid character
> (0x40)
> /usr/ccs/bin/as: "/var/tmp//ccTJnTJ9.s", line 283: error: quoted-string
> operand required
> /usr/ccs/bin/as: "/var/tmp//ccTJnTJ9.s", line 283: error: statement syntax
> configure:18402: $? = 1
> configure: program exited with status 1
> configure: failed program was:

It seems that you have Sun's assembler in your path instead of gcc's.
Apparently Sun's assembler has a problem with the code generated by gcc 3.2.3.
Try putting FSF's as ahead of Sun's as in your PATH.

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com