rebuild GrADS

Darya Yarovaya darik777 at I.UA
Wed Oct 3 10:31:45 EDT 2007


Hi,

Does anyone know how to rebuild GrADS for linux? (I need it to add 360-
calendar option to the original GrADS).
I tried the command
cc -o grads grads.c –lm

but it results in numerous mistakes

grads.c: In function ‘main’:
grads.c:103: error: expected ‘)’ before ‘GRADS_VERSION’
grads.c:157: error: ‘BYTEORDER’ undeclared (first use in this function)
grads.c:157: error: (Each undeclared identifier is reported only once
grads.c:157: error: for each function it appears in.)
grads.c:206: warning: incompatible implicit declaration of built-in
function ‘strcpy’
grads.c: In function ‘command_line_help’:
grads.c:468: error: expected ‘)’ before ‘GRADS_VERSION’

Regards, Daria



More information about the gradsusr mailing list