Client build fails on SCO_SV (i386)
Charles Goyard
cgoyard at cvf.fr
Wed Jul 19 15:04:51 CEST 2006
Hi,
at my company we have some old or unusual platforms, such as SCO_SV or
Sinix.
Here I'm trying to build the hobbit client out of 4.2-beta
(snapshot 2006-07-04) on this kind of environment :
SCO_SV 3.2 5.0.5 i386
GNU Make version 3.75, by Richard Stallman and Roland McGrath.
GCC 2.95.1
and the native cc.
The configure runs well, but when building with gcc I get :
gcc -g -O -D_REENTRANT -Dgeneric -I. -I/usr2/local/hobbit/cvf/include -DCLIENTONLY=1 -I. -I../include -c errormsg.c -o errormsg.o
errormsg.c: In function `redirect_cgilog':
errormsg.c:159: `PATH_MAX' undeclared (first use in this function)
errormsg.c:159: (Each undeclared identifier is reported only once
errormsg.c:159: for each function it appears in.)
gmake[1]: *** [errormsg.o] Error 1
gmake[1]: Leaving directory `/usr2/local/hobbit/cvf/lib'
gmake: *** [lib-client] Error 2
and when building with cc I get :
"/usr2/local/hobbit/cvf/include/../lib/misc.h", line 39: error: invalid type combination
If I change the type from "long long" to "long", it then builds up to
the exact same point as gcc.
If anyone has some clue about this...
Regards,
--
Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
More information about the Xymon
mailing list