------- 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

Reply via email to