[Bug target/27076] During installation of gcc-3.4.0 compiler getting an error make[1]: *** [getpwd.o] Error 1
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-07-19 03:54 --- ../../gcc-4.0.3/libiberty/getpwd.c:77: storage size of `dotstat' isn't known ../../gcc-4.0.3/libiberty/getpwd.c:77: storage size of `pwdstat' isn't known That is a bug in the headers you have installed and not a bug in gcc. Closing as invalid as there has been no feedback in 3 months. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27076
[Bug target/27076] During installation of gcc-3.4.0 compiler getting an error make[1]: *** [getpwd.o] Error 1
--- Comment #2 from sagar dot indalkar at ge dot com 2006-04-10 11:45 --- Created an attachment (id=11236) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11236action=view) Config log of gcc-4.0.3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27076
[Bug target/27076] During installation of gcc-3.4.0 compiler getting an error make[1]: *** [getpwd.o] Error 1
--- Comment #3 from sagar dot indalkar at ge dot com 2006-04-10 11:46 --- Hi, As per suggestion given, I have downloaded the gcc compiler version 4.0.3 and uploaded to the box. When started configuring the using the command given below. ../gcc-4.0.3/configure --prefix=/usr/bin/gcc-4.0.3 I was getting error as follows. configure:2271: gcc -c -g conftest.c 15 configure:2261:17: gmp.h: No such file or directory configure: In function `main': configure:2265: `choke' undeclared (first use in this function) configure:2265: (Each undeclared identifier is reported only once configure:2265: for each function it appears in.) configure:2265: parse error before me configure: failed program was: #line 2260 configure #include confdefs.h #include gmp.h int main() { #if __GNU_MP_VERSION 3 choke me #endif ; return 0; } For more details I have attached config.log file. Thanks in advance Regards, Sagar -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27076
[Bug target/27076] During installation of gcc-3.4.0 compiler getting an error make[1]: *** [getpwd.o] Error 1
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-10 16:40 --- That error should not effect compiling of GCC unless you need a fortran compiler and then you need to read: http://gcc.gnu.org/install/ AND: http://gcc.gnu.org/install/prerequisites.html People build all the time on x86-linux-gnu so we know building is not broken. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27076
[Bug target/27076] During installation of gcc-3.4.0 compiler getting an error make[1]: *** [getpwd.o] Error 1
--- Comment #5 from sagar dot indalkar at ge dot com 2006-04-10 16:49 --- Hi, Thanks for quick response. I am not installing Fortran compiler, I am only installing the gcc compiler. After your mail I have tried running the make command. make command still giving the error. The error is as follows. gcc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../gcc-4.0.3/libiberty/getpwd.c -o getpwd.o ../../gcc-4.0.3/libiberty/getpwd.c: In function `getpwd': ../../gcc-4.0.3/libiberty/getpwd.c:77: storage size of `dotstat' isn't known ../../gcc-4.0.3/libiberty/getpwd.c:77: storage size of `pwdstat' isn't known ../../gcc-4.0.3/libiberty/getpwd.c:81: warning: implicit declaration of function `getenv' ../../gcc-4.0.3/libiberty/getpwd.c:81: warning: assignment makes pointer from integer without a cast ../../gcc-4.0.3/libiberty/getpwd.c:83: warning: implicit declaration of function `stat' ../../gcc-4.0.3/libiberty/getpwd.c:89: warning: implicit declaration of function `getcwd' ../../gcc-4.0.3/libiberty/getpwd.c:92: warning: implicit declaration of function `free' ../../gcc-4.0.3/libiberty/getpwd.c:77: warning: unused variable `dotstat' ../../gcc-4.0.3/libiberty/getpwd.c:77: warning: unused variable `pwdstat' make[1]: *** [getpwd.o] Error 1 make[1]: Leaving directory `/var/build/gcc-4.0.3-build/libiberty' make: *** [all-libiberty] Error 2 Could you please let me know what is the problem because for gcc version 3.4.0 I was getting almost same error. Is there anyway to resolve the error? This problem is preventing my project work. Thanks in advance Regards, Sagar -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27076
[Bug target/27076] During installation of gcc-3.4.0 compiler getting an error make[1]: *** [getpwd.o] Error 1
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-07 17:15 --- ../../gcc-3.4.0/libiberty/getpwd.c:74: storage size of `dotstat' isn't known ../../gcc-3.4.0/libiberty/getpwd.c:74: storage size of `pwdstat' isn't known Why are you trying to compile 3.4.0, when there is 3.4.6 to try? Also if 3.4.6 does not work, please try 4.0.3 as 3.4.x is no longer being updated. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Component|c |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27076
[Bug target/27076] During installation of gcc-3.4.0 compiler getting an error make[1]: *** [getpwd.o] Error 1
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27076