From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e660ec006fa8142 X-Google-Attributes: gid1164f8,public From: "P. Larry Nelson" Subject: Another problem with gcc-2.8.1 on a dec alpha Date: 1999/03/16 Message-ID: <36EEE6DD.BD9BDB66@uiuc.edu>#1/1 X-Deja-AN: 455838544 Content-Transfer-Encoding: 7bit References: <7clnb2$qfj$2@mach.vub.ac.be> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: University of Illinois, Urbana-Champaign Mime-Version: 1.0 Newsgroups: comp.sys.dec 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