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: Re: Another problem with gcc-2.8.1 on a dec alpha Date: 1999/03/18 Message-ID: <36F126A8.88FE37CA@uiuc.edu>#1/1 X-Deja-AN: 456149887 Content-Transfer-Encoding: 7bit References: <7clnb2$qfj$2@mach.vub.ac.be> <36EEE6DD.BD9BDB66@uiuc.edu> <7colke$hoe@news.service.uci.edu> 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 Mike Iglesias wrote: > > In article <36EEE6DD.BD9BDB66@uiuc.edu>, > P. Larry Nelson wrote: > >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; > >----------------^ > > The source file needs > > #include > > in it to get around this error. Thanks! That worked. > -- > Mike Iglesias Internet: iglesias@draco.acs.uci.edu > University of California, Irvine phone: 949-824-6926 > Office of Academic Computing FAX: 949-824-2069 Now, another problem. After doing 'make stage1', the INSTALL docs say to issue the following: babu /usr/local/gcc-2.8.1# make LANGUAGES=c CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O2" stage1/xgcc -Bstage1/ -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I. -I. -I./config -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.8.1/include\" -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/include/g++\" -DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/alpha-dec-osf4.0e/2.8.1/sys-include\" -DTOOL_INCLUDE_DIR=\"/usr/local/alpha-dec-osf4.0e/include\" -c `echo ./cccp.c | sed 's,^\./,,'` cccp.c:8813: macro `va_start' used with too many (2) args cccp.c:8875: macro `va_start' used with too many (2) args cccp.c:8920: macro `va_start' used with too many (2) args cccp.c:8960: macro `va_start' used with too many (2) args cccp.c:9003: macro `va_start' used with too many (2) args cccp.c:9022: macro `va_start' used with too many (2) args cccp.c:9053: macro `va_start' used with too many (2) args cccp.c:10061: macro `va_start' used with too many (2) args *** Exit 1 Stop. So,,, what to do here to fix this problem? Also, none of the dirs mentioned in the actual command that gets executed exist in /usr/local. I'm running this as root, so why don't they get created during the initial 'make'? Thanks again 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