Hi

I have a problem when compiling sharity on HP-UX.11
(B.11.00 U 9000/800 605389372).

I uncommented HP-UX lines in Makefile to the following

# For HP-UX:
# this "CFLAGS" line is for HP's cc, obviously. For gcc try "-Wall -O2"
CFLAGS =  -g -Aa +e -z -D_X_ -DSTD_UX -DHP -D_HPUX_SOURCE -Dinline=
-Dconst=
THE_CC = cc
# RPC_WARNFLAGS =

but when I compile it I get an error messages:

cc -Iinclude -I. -g -Aa +e -z -D_X_ -DSTD_UX -DHP -D_HPUX_SOURCE -Dinline=
-Dconst=  -c -o kernel.o kernel.c
cc: "kernel.c", line 46: error 1588: "tm_gmtoff" undefined.
cc: "kernel.c", line 46: error 1531: Invalid member of struct or union.
cc: "kernel.c", line 46: error 1557: Unary minus takes an arithmetic
operand.
*** Error exit code 1

tm_gmtoff is not a member of tm-struct. Should it be a tm_hour?

Best Regards

Roni


_______________________________________________
Sharity-talk mailing list
[EMAIL PROTECTED]
http://at.obdev.at/mailman/listinfo/sharity-talk

Reply via email to