[Spread-users] spread on hp-ux

eantoniutti at univ.trieste.it eantoniutti at univ.trieste.it
Wed Sep 29 08:04:03 EDT 2004


This is my first post to the list,
so Hi everyone!

Got a few problems compiling spread on a hp-ux box:

bash-2.05$ uname -a
HP-UX jeopardy B.11.11 U 9000/800 742028511 unlimited-user license

Some problems to have it finding the gcc compiler and at the end, the error 
log as follows:

bash-2.05$ make
        /usr/local/bin/gcc -g -O2 -Wall -I. -I.   -DHAVE_CONFIG_H -c spread.c
In file included from defines.h:42,
                 from config.h:237,
                 from arch.h:64,
                 from spread.c:37:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
In file included from config.h:237,
                 from arch.h:64,
                 from spread.c:37:
defines.h:201: conflicting types for `socklen_t'
/usr/include/sys/socket.h:199: previous declaration of `socklen_t'
defines.h:221: conflicting types for `sa_family_t'
/usr/include/sys/socket.h:79: previous declaration of `sa_family_t'
*** Error exit code 1

Stop.

Seems one of those situations in which you just need to switch the correct 
flags in order to have it working.
Sorry, but I am not an expert in Makefiles and gcc compiling. 

Any clue anybody ?
Tnx in advance
Cheers!
Etienne





More information about the Spread-users mailing list