R-beta: Linux Installation Problem

Christof Schuster (e5chsc@rz.uni-jena.de)
Fri, 11 Apr 1997 10:54:42 +0200 (MESZ)


From: Christof Schuster <e5chsc@rz.uni-jena.de>
Message-Id: <199704110854.KAA18549@fsuj03.rz.uni-jena.de>
Subject: R-beta: Linux Installation Problem
To: r-help@stat.math.ethz.ch
Date: Fri, 11 Apr 1997 10:54:42 +0200 (MESZ)

Dear R-help,

yesterday I have installed R-0.16.1 successfully on my 
Red Hat Linux 4.0 (Kernel 2.0.18) System with gcc-2.7.2-9 in my office.
But the installation on my PC at home running Red Hat Linux 3.0.3
(Kernel 2.0.0) using gcc-2.7.2-2 unfortunately failed, when the 
installation routine tried to compile dotcode.c in the src/main directory. 

Any helpfull ideas would be greatly appreciated. The output of
gcc is given below. 

Christof
------------------------
Christof Schuster
Friedrich-Schiller University
Department of Psychology
Am Steiger 3, Haus 1
07743 Jena
Germany
E-Mail: e5chsc@rz.uni-jena.de
------------------------

cd main; make
make[2]: Entering directory `/usr/local/lib/R/src/main'
gcc -g -I../include   -c dotcode.c -o dotcode.o
dotcode.c:147: parse error before `FUNC'
dotcode.c:147: warning: no semicolon at end of struct or union
dotcode.c:148: warning: data definition has no type or storage class
dotcode.c:152: parse error before `CFunTab'
In file included from dotcode.c:154:
../include/ForeignTab.h:1: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:2: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:3: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:4: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:5: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:6: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:7: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:8: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:9: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:10: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:11: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:12: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:13: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:14: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:15: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:16: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:17: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:18: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:19: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:20: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:21: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:22: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:23: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:24: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:25: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:26: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:27: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:28: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:29: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:30: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:31: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:32: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:33: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:34: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:35: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:36: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:37: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:38: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:39: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:40: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:41: excess elements in struct initializer after `CFunTab'
../include/ForeignTab.h:42: excess elements in struct initializer after `CFunTab'
dotcode.c:155: warning: braces around scalar initializer for `CFunTab[0]'
dotcode.c:155: warning: initialization makes integer from pointer without a cast
dotcode.c:155: warning: excess elements in scalar initializer after `CFunTab[0]'
dotcode.c:155: excess elements in struct initializer after `CFunTab'
dotcode.c:156: invalid initializer for `CFunTab'
dotcode.c:156: warning: data definition has no type or storage class
dotcode.c:167: parse error before `*'
dotcode.c:167: warning: data definition has no type or storage class
dotcode.c:183: parse error before `FUNC'
dotcode.c: In function `HashInstall':
dotcode.c:187: `name' undeclared (first use this function)
dotcode.c:187: (Each undeclared identifier is reported only once
dotcode.c:187: for each function it appears in.)
dotcode.c:188: request for member `name' in something not a structure or union
dotcode.c:190: request for member `name' in something not a structure or union
dotcode.c:191: request for member `name' in something not a structure or union
dotcode.c:192: request for member `func' in something not a structure or union
dotcode.c:192: `func' undeclared (first use this function)
dotcode.c: In function `HashExpand':
dotcode.c:199: `OldTable' undeclared (first use this function)
dotcode.c:204: parse error before `)'
dotcode.c:206: request for member `name' in something not a structure or union
dotcode.c: At top level:
dotcode.c:216: parse error before `HashLookup'
dotcode.c: In function `HashLookup':
dotcode.c:220: request for member `name' in something not a structure or union
dotcode.c:221: request for member `name' in something not a structure or union
dotcode.c:222: request for member `func' in something not a structure or union
dotcode.c:226: `FUNC' undeclared (first use this function)
dotcode.c:226: parse error before `0'
dotcode.c: In function `InitFunctionHashing':
dotcode.c:246: parse error before `)'
dotcode.c:248: request for member `name' in something not a structure or union
dotcode.c:249: request for member `name' in something not a structure or union
dotcode.c:250: request for member `name' in something not a structure or union
dotcode.c:250: request for member `func' in something not a structure or union
dotcode.c: In function `do_dotCode':
dotcode.c:407: `FUNC' undeclared (first use this function)
dotcode.c:407: parse error before `fun'
dotcode.c:454: `fun' undeclared (first use this function)
dotcode.c:473: `fun' used prior to declaration
make[2]: *** [dotcode.o] Error 1
make[2]: Leaving directory `/usr/local/lib/R/src/main'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/lib/R/src'
make: *** [install] Error 2
[root@cs R]# 




















=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=