[Magic-dev] Problems with installation of Tcl/Tk MAGIC 7.2.24 on Linux

Srinivas Katkoori katkoori at csee.usf.edu
Mon Sep 13 17:24:40 EDT 2004


Hello:

On Fedora Core 2 Linux,
I am trying to install MAGIC 7.2.24 the Tcl/Tk version.
I am getting the following errors.  Could you please
suggest how to fix them?

Thanks for your help..
---------------------------------------------------
[root at dhcp21-144 magic-7.2.24]# make
--- errors and warnings logged in file make.log
--- making modules
--- compiling extflat/EFerr.o
EFerr.c: In function `efReadError':
EFerr.c:65: error: syntax error before "va_dcl"
make[2]: *** [EFerr.o] Error 1
--- compiling textio/txOutput.o
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
txOutput.c:83: error: syntax 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: syntax 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: syntax 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: syntax error before '}' token
txOutput.c:122: error: syntax 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: syntax 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: syntax 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: syntax error before '}' token
txOutput.c:151: error: `args' undeclared here (not in a function)
txOutput.c:151: error: syntax 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: syntax error before '}' token
txOutput.c:179: error: syntax 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: syntax 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: syntax 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: syntax 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: syntax error before "if"
txOutput.c:200: warning: parameter names (without types) in function declaration
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: syntax 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: syntax error before "return"
txOutput.c:322: error: syntax 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: syntax 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: syntax 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: syntax error before '}' token
txOutput.c:344: error: `args' undeclared here (not in a function)
txOutput.c:344: error: syntax 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: syntax 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: syntax error before '}' token
make[2]: *** [txOutput.o] Error 1
--- compiling tech/tech.o
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
tech.c:484: error: syntax error before "va_dcl"
tech.c:485: error: syntax error before '{' token
tech.c:489: error: conflicting types for `TechPrintLine'
tech.c:468: error: previous declaration of `TechPrintLine'
tech.c:489: warning: data definition has no type or storage class
tech.c:490: warning: parameter names (without types) in function declaration
tech.c:490: warning: data definition has no type or storage class
tech.c:491: error: conflicting types for `fmt'
tech.c:487: error: previous declaration of `fmt'
tech.c:491: error: `args' undeclared here (not in a function)
tech.c:491: error: syntax error before "char"
tech.c:493: warning: parameter names (without types) in function declaration
tech.c:493: warning: data definition has no type or storage class
tech.c:494: error: syntax error before '}' token
make[2]: *** [tech.o] Error 1
--- compiling ext2sim/ext2sim.o
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
make[2]: *** [ext2sim.o] Error 1
--- compiling ext2spice/ext2spice.o
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
make[2]: *** [ext2spice.o] Error 1
--- making libraries
--- compiling utils/LIBtextio.o
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
LIBtextio.c: In function `TxError':
LIBtextio.c:99: error: syntax error before "va_dcl"
make[2]: *** [LIBtextio.o] Error 1
--- compiling extflat/EFerr.o
EFerr.c: In function `efReadError':
EFerr.c:65: error: syntax error before "va_dcl"
make[2]: *** [EFerr.o] Error 1
make[1]: *** [libs] Error 2
[root at dhcp21-144 magic-7.2.24]#
---------------------------------------------------

Regards,
Srinivas.
------------------------------------------------------------------------
 Srinivas Katkoori               | Office: (813) 974 5737
 Associate Professor             |   Dept: (813) 974 3652
 Univ of South Florida, CSE Dept |    Fax: (813) 974 5456
 4202 East Fowler Ave ENB 118    |  Email: katkoori at csee.usf.edu
 Tampa FL 33620-5399             | http://vcapp.csee.usf.edu/~katkoori
------------------------------------------------------------------------




More information about the magic-dev mailing list