[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

endian.h problem



I have been trying to compile PVM on my x86 box and apparently there is
some kind of booboo in this system header file:

In file included from /usr/include/machine/endian.h:68,
                 from ../../src/ddpro.c:269:
/usr/include/sys/endian.h:116: syntax error before `htobe32'
/usr/include/sys/endian.h:116: warning: parameter names (without types) in function declaration
/usr/include/sys/endian.h:116: warning: data definition has no type or storage class
/usr/include/sys/endian.h:117: syntax error before `htobe16'
/usr/include/sys/endian.h:117: warning: parameter names (without types) in function declaration
/usr/include/sys/endian.h:117: warning: data definition has no type or storage class
/usr/include/sys/endian.h:118: syntax error before `betoh32'
/usr/include/sys/endian.h:118: warning: parameter names (without types) in function declaration
/usr/include/sys/endian.h:118: warning: data definition has no type or storage class
/usr/include/sys/endian.h:119: syntax error before `betoh16'
/usr/include/sys/endian.h:119: warning: parameter names (without types) in function declaration
/usr/include/sys/endian.h:119: warning: data definition has no type or storage class
/usr/include/sys/endian.h:121: syntax error before `htole32'
/usr/include/sys/endian.h:121: warning: parameter names (without types) in function declaration
/usr/include/sys/endian.h:121: warning: data definition has no type or storage class
/usr/include/sys/endian.h:122: syntax error before `htole16'
/usr/include/sys/endian.h:122: warning: parameter names (without types) in function declaration
/usr/include/sys/endian.h:122: warning: data definition has no type or storage class
/usr/include/sys/endian.h:123: syntax error before `letoh32'
/usr/include/sys/endian.h:123: warning: parameter names (without types) in function declaration
/usr/include/sys/endian.h:123: warning: data definition has no type or storage class
/usr/include/sys/endian.h:124: syntax error before `letoh16'
/usr/include/sys/endian.h:124: warning: parameter names (without types) in function declaration
/usr/include/sys/endian.h:124: warning: data definition has no type or storage class
gmake[1]: *** [ddpro.o] Error 1
gmake: *** [s] Error 2

This seems like it's a problem ambiguous to the code using the header, but
I checked the PVM documentation anyway and I couldn't find anything that
seemed to pretain to this.  Any clues?

Will Stockwell
waldo_(_at_)_antisocial_(_dot_)_net
www.antisocial.net/~waldo