tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Compiling GCC 2.8.1
@ 1998-11-10 21:39 Chad J. LaFrenz
  0 siblings, 0 replies; only message in thread
From: Chad J. LaFrenz @ 1998-11-10 21:39 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------=_NextPart_000_01BF_01BE0CB7.EB12F830", Size: 12365 bytes --]

This is a multi-part message in MIME format.

------=_NextPart_000_01BF_01BE0CB7.EB12F830
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hello All--

We are running Digital UNIX 4.0D on an Alpha 4100.  I am trying to compile
GCC 2.8.1.  I run the configure --with-stabs and everything runs fine.  I
then proceed to try and make LANGUAGES=c and it goes through and finally
exits with this error:

cc: Error: toplev.c, line 939: In this declaration, "rusage" has no linkage
and
is of an incomplete type.
  struct rusage rusage;
----------------^
*** Exit 1
Stop.

Any help would be appreciated as I am going on after this to install
libstdc++-2.8.1 then compile groff-1.11a and finally compile the new
sendmail 8.9.1.  We have always just had the standard cc installed and have
not had any gcc or gc++ compilers installed before this.

I have attached the entire output of the configure --with-stabs and make
LANGUAGES=c below my signature line if you need further output than just the
above error text.

Many thanks in advance.

Regards,

Chad J. LaFrenz
Senior System Administrator
RoFIntUG

V: 970-945-4920      F: 970-947-1923

Proudly serving the Aspen, Glenwood Springs, Rifle, and Vail Valleys.

http://www.rof.net


# ./configure --with-stabs
creating cache ./config.cache
checking host system type... alphaev56-dec-osf4.0d
checking target system type... alphaev56-dec-osf4.0d
checking build system type... alphaev56-dec-osf4.0d
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether make sets ${MAKE}... yes
checking for mawk... no
checking for gawk... gawk
checking for flex... flex
checking for yywrap in -lfl... no
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for a BSD compatible install... /usr/bin/installbsd -c
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for limits.h... yes
checking for stddef.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for stdlib.h... yes
checking for time.h... yes
checking for fcntl.h... yes
checking for unistd.h... yes
checking for sys/file.h... no
checking for sys/time.h... no
checking for sys/resource.h... no
checking for sys/param.h... no
checking for sys/times.h... yes
checking for inttypes.h... no
checking for strerror... yes
checking for putenv... yes
checking for popen... yes
checking for vprintf... yes
checking for bcopy... yes
checking for bzero... yes
checking for bcmp... yes
checking for index... yes
checking for rindex... yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for sysconf... yes
checking whether malloc must be declared... no
checking whether realloc must be declared... no
checking whether calloc must be declared... no
checking whether free must be declared... no
checking whether index must be declared... no
checking whether rindex must be declared... no
checking whether getenv must be declared... no
checking whether sbrk must be declared... no
checking for sys_siglist declaration in signal.h or unistd.h... no
Using `./config/alpha/alpha.c' to output insns.
Using `./config/alpha/alpha.md' as machine description file.
Using the following target machine macro files:
        ./config/alpha/alpha.h
        ./config/dbx.h
Using `./config/alpha/xm-alpha.h' as host machine macro file.
Using `./objc/thr-single.c' as Objective-C Runtime thread file.
Links are now set up to build a native compiler for alphaev56-dec-osf4.0d
updating cache ./config.cache
creating ./config.status
creating Makefile
creating auto-config.h
Merged alpha/x-alpha.
Created `objc/Makefile'.
# make LANGUAGES=c
cc  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config  -DGCC_INCLUDE_DI
R=\"
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/include\"  -DGPLUSPLUS_IN
CLUD
E_DIR=\"/usr/local/include/g++\"  -DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/local/l
ib/g
++-include\"  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\"  -DCROSS_INCLUDE_DI
R=\"
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/sys-include\"  -DTOOL_INC
LUDE
_DIR=\"/usr/local/alphaev56-dec-osf4.0d/include\"  -c `echo ./cccp.c | sed
's,^\
./,,'`
cc: Warning: /usr/include/signal.h, line 84: "extern" is an invalid
preprocessor
 directive, and is being ignored.
#extern void (*__R(signal) __((int, void (*)(int)))) __((int));
-^
cc: Warning: cccp.c, line 1306: In this statement, the expression
"simplify_file
name(...)" modifies "i", and fetches its value in a computation that is not
used
 to produce the modified value without an intervening sequence point.  This
beha
vior is undefined.
            simplify_filename (pend_includes[i] = argv[++i]);
------------^
cc: Warning: cccp.c, line 1312: In this statement, the expression
"simplify_file
name(...)" modifies "i", and fetches its value in a computation that is not
used
or is undefined.
            simplify_filename (pend_files[i] = argv[++i]);
------------^
cc  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config -c ./cexp.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config version.c
cc  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config  -DPREFIX=\"/usr/
loca
l\"  -c `echo ./prefix.c | sed 's,^\./,,'`
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config obstack.c
cc  -DIN_GCC    -g   -DHAVE_CONFIG_H  -o cccp cccp.o cexp.o prefix.o
version.o
obstack.o ` case "cc" in "cc") echo "" ;; esac `  -lmld
rm -f cpp
ln cccp cpp > /dev/null 2>&1  || cp cccp cpp
cc  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config -c ./c-parse.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config c-lang.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config c-lex.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config c-pragma.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config c-decl.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config c-typeck.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config c-convert.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config c-aux-info.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config c-common.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config c-iterate.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config ./genattr.c
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config rtl.c
cc  -DIN_GCC    -g   -DHAVE_CONFIG_H  -o genattr  genattr.o rtl.o ` case
"obstac
k.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo  ;;
esac `
` case "" in ?*) echo  ;; esac `   -lmld
./genattr ./config/alpha/alpha.md > tmp-attr.h
./move-if-change tmp-attr.h insn-attr.h
touch s-attr
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config ./gencodes.c
cc  -DIN_GCC    -g   -DHAVE_CONFIG_H  -o gencodes  gencodes.o rtl.o ` case
"obst
ack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo  ;;
esac
` ` case "" in ?*) echo  ;; esac `   -lmld
./gencodes ./config/alpha/alpha.md > tmp-codes.h
./move-if-change tmp-codes.h insn-codes.h
touch s-codes
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config ./genconfig.c
cc  -DIN_GCC    -g   -DHAVE_CONFIG_H  -o genconfig  genconfig.o rtl.o ` case
"ob
stack.o" in ?*) echo obstack.o ;; esac ` ` case "cc"@"" in "cc"@?*) echo  ;;
esa
c ` ` case "" in ?*) echo  ;; esac `   -lmld
./genconfig ./config/alpha/alpha.md > tmp-config.h
./move-if-change tmp-config.h insn-config.h
touch s-config
cc  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I./config -DUSE_COLLECT2  -
DTAR
GET_NAME=\"alphaev56-dec-osf4.0d\"  -c `echo ./toplev.c | sed 's,^\./,,'`
cc: Warning: /usr/include/signal.h, line 84: "extern" is an invalid
preprocessor
 directive, and is being ignored.
#extern void (*__R(signal) __((int, void (*)(int)))) __((int));
-^
cc: Error: toplev.c, line 939: In this declaration, "rusage" has no linkage
and
is of an incomplete type.
  struct rusage rusage;
----------------^
*** Exit 1
Stop.

------=_NextPart_000_01BF_01BE0CB7.EB12F830
Content-Type: application/octet-stream;
	name="Chess.gif"
Content-Transfer-Encoding: base64
Content-ID: <294541321@10111998-25be>

R0lGODlhQAZlAPcAAP////7+/v39/fz8/Pv7+/r6+vn5+fj4+Pf39/b29vX19fT09PPz8/Ly8vHx
8fDw8O/v7+7u7u3t7ezs7Ovr6+rq6unp6ejo6Ofn5+bm5uXl5ePj4+Li4uHh4eDg4N/f397e3t3d
3dzc3Nvb29ra2tnZ2djY2NfX19bW1tXV1dTU1NPT09LS0tHR0dDQ0M/Pz87Ozs3NzczMzMvLy8rK
ysnJycjIyMfHx8bGxsXFxcTExMPDw8LCwsHBwcDAwL+/v76+vr29vby8vLu7u7q6urm5ubi4uLe3
t7a2trW1tbS0tLOzs7KysrGxsbCwsK+vr66urq2traysrKurq6qqqqmpqaioqKenp6ampqWlpaSk
pKOjo6KioqGhoaCgoJ+fn56enp2dnZycnJubm5qampmZmZiYmJeXl5aWlpWVlZSUlJOTk5KSkpGR
kZCQkI+Pj46Ojo2NjYyMjIuLi4qKiomJiYiIiIeHh4aGhoWFhYSEhIODg4KCgoGBgYCAgH9/f35+
fgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAA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BE0CB7.EB12F830--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-11-10 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-10 21:39 Compiling GCC 2.8.1 Chad J. LaFrenz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox