public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: "Robert W. Hasker" <hasker@baobab.cs.uwplatt.edu> To: gcc-gnats@gcc.gnu.org Subject: bootstrap/7716: can't compile getpwd.c during build Date: Sun, 25 Aug 2002 14:06:00 -0000 [thread overview] Message-ID: <200208252053.PAA30249@baobab.cs.uwplatt.edu> (raw) >Number: 7716 >Category: bootstrap >Synopsis: can't compile getpwd.c during build >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Aug 25 13:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Robert W. Hasker >Release: 3.2 >Organization: UW-Platteville >Environment: System: OSF1 baobab.cs.uwplatt.edu V4.0 1530 alpha Machine: alpha host: alpha-dec-osf4.0g build: alpha-dec-osf4.0g target: alpha-dec-osf4.0g configured with: ../gcc-3.2/configure --with-stabs --enable-languages=c,c++,f77,java >Description: On the alpha, it seems HAVE_SYS_STAT_H is not being set properly. When I build ("make bootstrap" followed by "make install"), I get the following error: /usr2/sys/usr/local/src/b/gcc/xgcc -B/usr2/sys/usr/local/src/b/gcc/ -B/usr/local/alpha-dec-osf4.0g/bin/ -B/usr/local/alpha-dec-osf4.0g/lib/ -isystem /usr/local/alpha-dec-osf4.0g/include -c -DHAVE_CONFIG_H -g -I. -I../../../gcc-3.2/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-3.2/libiberty/getpwd.c ../../../gcc-3.2/libiberty/getpwd.c: In function `getpwd': ../../../gcc-3.2/libiberty/getpwd.c:74: storage size of `dotstat' isn't known ../../../gcc-3.2/libiberty/getpwd.c:74: storage size of `pwdstat' isn't known ../../../gcc-3.2/libiberty/getpwd.c:78: warning: implicit declaration of function `getenv' ../../../gcc-3.2/libiberty/getpwd.c:78: warning: assignment makes pointer from integer without a cast ../../../gcc-3.2/libiberty/getpwd.c:80: warning: implicit declaration of function `stat' ../../../gcc-3.2/libiberty/getpwd.c:86: warning: implicit declaration of function `getcwd' ../../../gcc-3.2/libiberty/getpwd.c:89: warning: implicit declaration of function `free' ../../../gcc-3.2/libiberty/getpwd.c:74: warning: unused variable `dotstat' ../../../gcc-3.2/libiberty/getpwd.c:74: warning: unused variable `pwdstat' *** Exit 1 Stop. *** Exit 1 Stop. I then edited getpwd.c to change the line #if HAVE_SYS_STAT_H to #if 1 and getpwd.c builds just fine. >How-To-Repeat: "make bootstrap" (which requires a number of fixes for Digial Unix; see earlier PR'S) followed by "make install". >Fix: See description. >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-08-25 20:56 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-08-25 14:06 Robert W. Hasker [this message] 2003-05-14 9:26 Dara Hazeghi 2003-05-14 10:52 giovannibajo 2003-05-20 1:46 Robert W. Hasker
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200208252053.PAA30249@baobab.cs.uwplatt.edu \ --to=hasker@baobab.cs.uwplatt.edu \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).