From: "P. Larry Nelson" <lnelson@uiuc.edu>
Subject: Another problem with gcc-2.8.1 on a dec alpha
Date: 1999/03/16 [thread overview]
Message-ID: <36EEE6DD.BD9BDB66@uiuc.edu> (raw)
In-Reply-To: 7clnb2$qfj$2@mach.vub.ac.be
I, too, am trying to compile gcc-2.8.1 on an Alpha, running 4.0E and
'uname -a' returns: OSF1 foo.bar.bigu.edu V4.0 1091 alpha.
I do not get the error that Antoon Pardon mentions (mine configures
without error) in his 16 Mar 1999 13:46:10 GMT posting, but when I run
'make LANGUAGES=c', it goes along quite nicely for several minutes and
fails at the following spot:
cc -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config -DUSE_COLLECT2
-DTARGET_NAME=\"alpha-dec-osf4.0e\" -c `echo ./toplev.c | sed 's,^\./,,'`
cc: Error: toplev.c, line 939: In this declaration, "rusage" has no linkage and
is of an incomplete type. (incompnolink)
struct rusage rusage;
----------------^
*** Exit 1
Stop.
And the aforementioned line 939 and surrounding code from toplev.c:
931 int
932 get_run_time ()
933 {
934 #ifndef _WIN32
935 #ifdef USG
936 struct tms tms;
937 #else
938 #ifndef VMS
939 struct rusage rusage;
940 #else
941 struct
942 {
943 int proc_user_time;
944 int proc_system_time;
945 int child_user_time;
946 int child_system_time;
947 } vms_times;
948 #endif
949 #endif
950 #endif
Not being a c programmer, just a sys admin trying to get gcc working
so I can compile some sys admin tools, I have no idea what might be
the problem nor how to fix it. Any and all clues would be appreciated.
Or, if I should even post this to a different news group...
Thanks a lot in advance.
- Larry
--
P. Larry Nelson | Systems/Network Administrator
217-244-9855 | U. of Ill., CCSO Departmental User Services
lnelson@uiuc.edu | Consultant to: High Energy Physics Group
www.uiuc.edu/ph/www/lnelson | 461 Loomis Lab, 1110 W. Green St., Urbana, IL
next prev parent reply other threads:[~1999-03-16 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-16 5:00 Problem with gcc-2.8.1 on a dec alpha Antoon Pardon
1999-03-16 5:00 ` P. Larry Nelson [this message]
[not found] ` <7colke$hoe@news.service.uci.edu>
1999-03-18 5:00 ` Another problem " P. Larry Nelson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox