stsiegem@uokmax.ecn.uoknor.edu (Stephan Siegemund-Broka) (06/12/91)
I was trying to compile xgraph-11 on a RS6000/320 with 16Mb and v3.1.5 I am a complete novice at c programs so I just read the documentation and did what it told me. Here is the output from the compiler. Anyone have any ideas? Please respond via mail. Thanks. -- ed baron (baron@monk.nhn.uoknor.edu) cd /usr/local/src/xgraph-11/ make -f Makefile.std /bin/cc -O -c xgraph.c Processing include file ./xgraph.h 29 37 | extern char *malloc(); .............a........ a - 1506-132: (S) Illegal redeclaration of function, malloc. Processing include file ./xgraph.h 29 38 | extern char *realloc(); .............a......... a - 1506-132: (S) Illegal redeclaration of function, realloc. Processing include file ./xgraph.h 29 39 | extern char *sprintf(); .............a......... a - 1506-132: (S) Illegal redeclaration of function, sprintf. Processing include file ./xgraph.h 29 40 | extern char *strcpy(); 1506-041: (S) Parameter list cannot contain fewer parameters than required by macro definition. 49 | #define MAX(a,b) ((a) > (b) ? (a) : (b)) 1506-236: (W) Macro name MAX has been redefined. 50 | #define MIN(a,b) ((a) < (b) ? (a) : (b)) 1506-236: (W) Macro name MIN has been redefined. make: 1254-004 The error code from the last command is 1. Make Quitting. Compilation exited abnormally with code 1 at Tue Jun 11 13:06:47