Sébastien Maret wrote:
I am trying to install xephem-3.6.4-1 on MacOSX 10.4.1, but I get the
following error:
Compiles OK here.
[]
/usr/include/libkern/ppc/OSByteOrder.h:154: error: syntax error before
'-' token
/usr/include/libkern/ppc/OSByteOrder.h:155: error: 'np' undeclared
(first use
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin Costabel wrote:
|
| What are these two lines? On my system they are
|
| uint16_t temp = data;
| return OSReadSwapInt16(temp, 0);
|
| Hard to imagine how they could produce such an error message.
xephem had a #define temp np-n_temp
I
xephem had a #define temp np-n_temp
I modified the patch to #include sys/types.h before xephem.h to
make this
error go away. A selfupdate should fix the problem.
Thanks Martin and Peter. It compiles fine now.
Sébastien
---
SF.Net email is