|
Magic Mailing List |
|
From: aojha (aojha AT du DOT edu) Date: Fri Sep 05 2003 - 12:59:06 EDT
We are getting the following errors (at different places) when we do make tcl
on our Solaris 8/Sparc:
---------------------------------------
--- compiling graphics/grMain.o
rm -f grMain.o
gcc -g -I/usr/local/include -I/usr/local/include -I/usr/openwin/include -I.
-I.. -DMAGIC_WRAPPER -DTCL_DIR=\"/home/magic/lib/magic/tcl\"
-DSHDLIB_EXT=\".so\" -DHAVE_LIMITS_H -DSYSV -DCALMA_MODULE -DCIF_MODULE
-DPLOT_MODULE -DNONMANHATTAN -DROUTE_MODULE -DLEF_MODULE -DUSE_NEW_MACROS
-DCAD_DIR=\"/home/magic\" -DX11 -DXLIB -c grMain.c
In file included from grMain.c:99:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/include/varargs.h:4:2: #error
"GCC no longer implements <varargs.h>."
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/include/varargs.h:5:2: #error
"Revise your code to use <stdarg.h>."
make[2]: *** [grMain.o] Error 1
make[2]: Leaving directory `/home/magic/magic-7.2.48/graphics'
make[2]: Entering directory `/home/magic/magic-7.2.48/macros'
make[2]: Nothing to be done for `module'.
make[2]: Leaving directory `/home/magic/magic-7.2.48/macros'
make[2]: Entering directory `/home/magic/magic-7.2.48/main'
---------------------------
gcc -g -I/usr/local/include -I/usr/local/include -I. -I.. -DMAGIC_WRAPPER
-DTCL_DIR=\"/home/magic/lib/magic/tcl\" -DSHDLIB_EXT=\".so\" -DHAVE_LIMITS_H
-DSYSV -DCALMA_MODULE -DCIF_MODULE -DPLOT_MODULE -DNONMANHATTAN -DROUTE_MODULE
-DLEF_MODULE -DUSE_NEW_MACROS -DCAD_DIR=\"/home/magic\" -c txOutput.c
In file included from txOutput.c:32:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/include/varargs.h:4:2: #error
"GCC no longer implements <varargs.h>."
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/include/varargs.h:5:2: #error
"Revise your code to use <stdarg.h>."
txOutput.c:83: error: parse error before "va_dcl"
txOutput.c:84: error: syntax error before '{' token
txOutput.c:89: warning: parameter names (without types) in function
declaration
txOutput.c:89: warning: data definition has no type or storage class
txOutput.c:90: error: conflicting types for `f'
txOutput.c:87: error: previous declaration of `f'
txOutput.c:90: error: `args' undeclared here (not in a function)
txOutput.c:90: error: parse error before "FILE"
txOutput.c:91: error: conflicting types for `fmt'
txOutput.c:86: error: previous declaration of `fmt'
txOutput.c:91: error: `args' undeclared here (not in a function)
txOutput.c:91: error: parse error before "char"
txOutput.c:93: warning: parameter names (without types) in function
declaration
txOutput.c:93: warning: data definition has no type or storage class
txOutput.c:94: error: parse error before '}' token
txOutput.c:122: error: parse error before "va_dcl"
txOutput.c:123: error: syntax error before '{' token
txOutput.c:125: error: conflicting types for `fmt'
txOutput.c:91: error: previous declaration of `fmt'
txOutput.c:126: error: conflicting types for `f'
txOutput.c:90: error: previous declaration of `f'
txOutput.c:128: error: parse error before "if"
txOutput.c:142: warning: parameter names (without types) in function
declaration
txOutput.c:142: warning: data definition has no type or storage class
txOutput.c:143: error: conflicting types for `fmt'
txOutput.c:125: error: previous declaration of `fmt'
txOutput.c:143: error: `args' undeclared here (not in a function)
txOutput.c:143: error: parse error before "char"
txOutput.c:145: warning: parameter names (without types) in function
declaration
txOutput.c:145: warning: data definition has no type or storage class
txOutput.c:146: error: conflicting types for `TxPrompt'
../textio/textio.h:63: error: previous declaration of `TxPrompt'
txOutput.c:146: warning: data definition has no type or storage class
txOutput.c:147: error: parse error before '}' token
txOutput.c:151: error: `args' undeclared here (not in a function)
txOutput.c:151: error: parse error before "char"
txOutput.c:153: warning: parameter names (without types) in function
declaration
txOutput.c:153: warning: data definition has no type or storage class
txOutput.c:154: error: parse error before '}' token
txOutput.c:179: error: parse error before "va_dcl"
txOutput.c:180: error: syntax error before '{' token
txOutput.c:182: error: conflicting types for `fmt'
txOutput.c:151: error: previous declaration of `fmt'
txOutput.c:187: error: parse error before "if"
txOutput.c:190: error: conflicting types for `outstr'
txOutput.c:183: error: previous declaration of `outstr'
txOutput.c:190: warning: data definition has no type or storage class
txOutput.c:191: error: parse error before '}' token
txOutput.c:193: warning: parameter names (without types) in function
declaration
txOutput.c:193: warning: data definition has no type or storage class
txOutput.c:194: error: conflicting types for `fmt'
txOutput.c:182: error: previous declaration of `fmt'
txOutput.c:194: error: `args' undeclared here (not in a function)
txOutput.c:194: error: parse error before "char"
txOutput.c:196: error: `args' undeclared here (not in a function)
txOutput.c:196: warning: passing arg 1 of `vsnprintf' makes pointer from
integer without a cast
txOutput.c:196: warning: passing arg 3 of `vsnprintf' makes pointer from
integer without a cast
txOutput.c:196: error: initializer element is not constant
txOutput.c:196: warning: data definition has no type or storage class
txOutput.c:197: error: parse error before "if"
txOutput.c:200: warning: parameter names (without types) in function
declaration
txOutput.c:200: error: conflicting types for `freeMagic'
../utils/malloc.h:36: error: previous declaration of `freeMagic'
txOutput.c:200: warning: data definition has no type or storage class
txOutput.c:201: warning: initialization makes integer from pointer without a
cast
txOutput.c:201: error: initializer element is not constant
txOutput.c:201: warning: data definition has no type or storage class
txOutput.c:202: warning: parameter names (without types) in function
declaration
txOutput.c:202: warning: data definition has no type or storage class
txOutput.c:203: error: parse error before '}' token
txOutput.c:207: warning: parameter names (without types) in function
declaration
txOutput.c:207: warning: data definition has no type or storage class
txOutput.c:208: error: parse error before "return"
txOutput.c:322: error: parse error before "va_dcl"
txOutput.c:323: error: syntax error before '{' token
txOutput.c:325: error: conflicting types for `fmt'
txOutput.c:194: error: previous declaration of `fmt'
txOutput.c:328: error: conflicting types for `TxFlushOut'
../textio/textio.h:48: error: previous declaration of `TxFlushOut'
txOutput.c:328: warning: data definition has no type or storage class
txOutput.c:329: error: parse error before "if"
txOutput.c:336: warning: parameter names (without types) in function
declaration
txOutput.c:336: warning: data definition has no type or storage class
txOutput.c:337: error: conflicting types for `fmt'
txOutput.c:325: error: previous declaration of `fmt'
txOutput.c:337: error: `args' undeclared here (not in a function)
txOutput.c:337: error: parse error before "char"
txOutput.c:339: warning: parameter names (without types) in function
declaration
txOutput.c:339: warning: data definition has no type or storage class
txOutput.c:340: warning: data definition has no type or storage class
txOutput.c:341: error: parse error before '}' token
txOutput.c:344: error: `args' undeclared here (not in a function)
txOutput.c:344: error: parse error before "char"
txOutput.c:346: warning: parameter names (without types) in function
declaration
txOutput.c:346: warning: data definition has no type or storage class
txOutput.c:347: error: parse error before '}' token
txOutput.c:348: error: conflicting types for `TxFlushErr'
../textio/textio.h:49: error: previous declaration of `TxFlushErr'
txOutput.c:348: warning: data definition has no type or storage class
txOutput.c:349: error: parse error before '}' token
make[2]: *** [txOutput.o] Error 1
make[2]: Leaving directory `/home/magic/magic-7.2.48/textio'
-------------------------------
Any recommendations? Thanks.
Anand Ojha
|
|
|
|