Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "P. Larry Nelson" <lnelson@uiuc.edu>
Subject: Re: Another problem with gcc-2.8.1 on a dec alpha
Date: 1999/03/18	[thread overview]
Message-ID: <36F126A8.88FE37CA@uiuc.edu> (raw)
In-Reply-To: 7colke$hoe@news.service.uci.edu

Mike Iglesias wrote:
> 
> In article <36EEE6DD.BD9BDB66@uiuc.edu>,
> P. Larry Nelson <lnelson@uiuc.edu> 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 <sys/resource.h>
> 
> 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



      parent reply	other threads:[~1999-03-18  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 ` Another problem " P. Larry Nelson
     [not found]   ` <7colke$hoe@news.service.uci.edu>
1999-03-18  5:00     ` P. Larry Nelson [this message]
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