Hello,
[first post to -dev group, tell me if I'm off base here]
I am building the most recent HEAD release under Sun 5.8:
uname -a
SunOS fxbb085u21.engin.umich.edu 5.8 Generic_108528-23 sun4u sparc
with the Sun cc compiler:
cc -V
And, after a few warnings:
···
cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
-----------
cc -I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO -DMC -O -DSPEED=80
-c -o mesh.o mesh.c
"mesh.c", line 323: warning: assignment type mismatch:
pointer to function(pointer to char) returning unsigned long "="
pointer to function(pointer
to struct {int fl, array[3] of unsigned long xyz, long norm, array[2] of
unsigned short uv}) retur
ning unsigned long
"mesh.c", line 324: warning: assignment type mismatch:
pointer to function(pointer to const char, pointer to const char)
returning int "=" pointer
to function(pointer to struct {int fl, array[3] of unsigned long xyz,
long norm, array[2] of unsign
ed short uv}, pointer to struct {int fl, array[3] of unsigned long xyz,
long norm, array[2] of unsi
gned short uv}) returning int
-----------
cc -I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO -DMC -O -DSPEED=80
-c -o caldefn.o caldefn.c
"caldefn.c", line 708: warning: integer overflow detected: op "<<"
"caldefn.c", line 711: warning: integer overflow detected: op "<<"
"caldefn.c", line 712: warning: integer overflow detected: op "<<"
-----------
I get the first actual error:
-----------
cc -I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO -DMC -O -DSPEED=80
-c -o unix_process.o unix_process.c
"./vfork.h", line 12: identifier redeclared: fork
current : function() returning int
previous: function(void) returning long : "/usr/include/unistd.h",
line 245
cc: acomp failed for unix_process.c
make: *** [unix_process.o] Error 2
-----------
Then I start getting massive amounts of undefined symbol errors
like this, the first one:
-----------
cc -DMDIR=\"/tmp/ray/lib/meta/\" -O -DSPEED=80 -I/usr/openwin/include
-L/usr/openwin/lib -DNOSTEREO -DMC -I../common -L../lib -o meta2tga
meta2tga.o rplot.o plot.o mfio.o syscalls.o misc.o \
palloc.o -lrt -lm
Undefined first referenced
symbol in file
freestr plot.o
error meta2tga.o
savestr rplot.o
ld: fatal: Symbol referencing errors. No output written to meta2tga
make: *** [meta2tga] Error 1
-----------
So, I changed the last line in common/vfork.h to read
extern long vfork();
That seemed to work.
Then, when I build, it gets past that error, but encounters some
"ld: fatal: Symbol referencing errors" in a few other places
(normtiff and dev/x11.hdi).
I end up with 75 files in the bin directory, so it's almost a
working distribution.
What can I do to get the last few things built?
Is this kind of thing a bug, or can it, should it be fixed?
How can I continue to help with this?
Thanks!
Mark