bonjour,
I tried to install STk-2.1 on a sparcstation running
4.1.3 with the cc and acc sun compilers. both failed.
any suggestion ?
merci,
--jean-pierre hebert
.............................
is this normal ?
# ./configure
.....
checking for uid_t in sys/types.h
creating config.status
creating Makefile
**** Configuring Extensions directory
System support dynamic loading. Creating Makefile
**** Configuring STklos directory
System support dynamic loading. Creating Makefile
cp: Makefile.sun: No such file or directory
.............................
for instance with cc:
( there was an earlier failure at tkEntry.c
which prompted the use of acc )
make
make Tcl
`libtcl.a' is up to date.
make Tk
`libtk.a' is up to date.
make Mp
`libgmp.a' is up to date.
make Src
make STklos
**** make STklos completed
Make Extensions
cc -c -fpic -O -DUSE_TK -I../Tk -I../Tcl -I../Src -I/usr/openwin/include -o when.o when.c
cc: Warning: Option -fpic passed to ld
"../Src/stk.h", line 82: syntax error at or near type word "void"
"../Src/stk.h", line 83: syntax error at or near type word "void"
"../Src/boolean.h", line 25: syntax error at or near variable name "x"
"../Src/boolean.h", line 25: SCM declared as parameter to non-function
"../Src/boolean.h", line 26: syntax error at or near variable name "x"
"../Src/boolean.h", line 26: SCM declared as parameter to non-function
"../Src/boolean.h", line 27: syntax error at or near variable name "x"
"../Src/boolean.h", line 27: redeclaration of formal parameter, SCM
"../Src/boolean.h", line 27: SCM declared as parameter to non-function
"../Src/boolean.h", line 27: SCM declared as parameter to non-function
"../Src/boolean.h", line 28: syntax error at or near variable name "x"
"../Src/boolean.h", line 28: redeclaration of formal parameter, SCM
"../Src/boolean.h", line 28: SCM declared as parameter to non-function
"../Src/boolean.h", line 28: SCM declared as parameter to non-function
"../Src/boolean.h", line 29: syntax error at or near variable name "x"
"../Src/boolean.h", line 29: redeclaration of formal parameter, SCM
"../Src/boolean.h", line 29: SCM declared as parameter to non-function
"../Src/boolean.h", line 29: SCM declared as parameter to non-function
"../Src/char.h", line 25: syntax error at or near type word "char"
"../Src/char.h", line 26: syntax error at or near type word "char"
"../Src/char.h", line 27: syntax error at or near type word "char"
"../Src/char.h", line 31: syntax error at or near variable name "obj"
"../Src/char.h", line 31: SCM declared as parameter to non-function
"../Src/char.h", line 31: s undefined
"../Src/char.h", line 33: syntax error at or near variable name "c1"
"../Src/char.h", line 33: redeclaration of formal parameter, SCM
"../Src/char.h", line 33: SCM declared as parameter to non-function
"../Src/char.h", line 33: SCM declared as parameter to non-function
"../Src/char.h", line 34: syntax error at or near variable name "c1"
"../Src/char.h", line 34: redeclaration of formal parameter, SCM
"../Src/char.h", line 34: SCM declared as parameter to non-function
"../Src/char.h", line 34: fatal error: too many errors
*** Error code 1
make: Fatal error: Command failed for target `when.so'
Current working directory /home/luciole/babar/ucsb/tmp/STk-2.1/Extensions
*** Error code 1
make: Fatal error: Command failed for target `ext'
...............................
acc fails here too, although differently with ld error message
Received on Mon Jul 21 2014 - 18:51:00 CEST
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST