This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
FW: Problems compiling gcc-3.0.1 (or any other)
- To: <gcc-help at gcc dot gnu dot org>
- Subject: FW: Problems compiling gcc-3.0.1 (or any other)
- From: "Goran Matic" <gmatic at sircus dot com>
- Date: Mon, 22 Oct 2001 12:23:10 -0700
I cannot compile gcc-3.0.1 (or any other earlier version) on my
solaris8 x86 box. It seems I'm missing key libraries stdlib.h, string.h
etc...
I tried downloading libstdc++-v3 and installing that but I get the
same errors. I am missing this package: (SUNWhea SunOS Header
Files). But where can I get it? I cannot use the installation CD.
Here is my error output:
[bwe:gcc-3.0.1:779]% /usr/local/bin/make
make[1]: Entering directory `/opt/gcc-3.0.1/libiberty'
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall
-Wtraditional -pedantic argv.c -o pic/argv.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall -Wtraditional
-pedantic argv.c
argv.c:35:20: string.h: No such file or directory
argv.c:36:20: stdlib.h: No such file or directory
argv.c: In function `dupargv':
argv.c:101: warning: implicit declaration of function `malloc'
argv.c:108: warning: implicit declaration of function `strlen'
argv.c:109: warning: assignment makes pointer from integer without a
cast
argv.c:115: warning: implicit declaration of function `strcpy'
argv.c: In function `freeargv':
argv.c:153: warning: implicit declaration of function `free'
argv.c:155: warning: function `free' was previously declared within a
block
argv.c: In function `buildargv':
argv.c:237: warning: function `malloc' was previously declared within a
block
argv.c:242: warning: implicit declaration of function `realloc'
argv.c:316: warning: implicit declaration of function `strdup'
argv.c:316: warning: assignment makes pointer from integer without a
cast
make[1]: *** [argv.o] Error 1
make[1]: Leaving directory `/opt/gcc-3.0.1/libiberty'
make: *** [all-libiberty] Error 2
Thank you for taking the time to read this email.
------------------------------------------------------------------------
--
~7%%%%%~ _____ _____ _____ _____ _ _ _____
/7%(//~(((((((%s3/ / ____|_ _| __ \ / ____| | | |/
____|
%7/~t77ttttttttttt(ts6 | (___ | | | |__) | | | | | | (___
^7(/(7tttttttttttttttt76C^ \___ \ | | | _ /| | | | | |\___ \
(%/ttttt(--s(tt7--7tttttt7Gt ____) |_| |_| | \ \| |____| |__| |____)
|
%((7tttt(/ \(%/ \7tttttttss|_____/|_____|_| \_\\_____|\____/|_____/
/C(tttttt| |(| |ttttttt%S( http://www.sircus.com -=> MP3s
C((tttttt| |(| |ttttttttCO
%(tttttttt /t| |tttttttt7G
%(tttttttt(--C(tt\Q*/ttttttttt7O *********************************
%(tttt tttttttttt--ttt 7tttt7O * *
%(ttt( ttttttttttttt 7tttt7G * GMATIC@SIRCUS.COM *
C7tttt( tttttttttt C(tttt%Q * http://www2.sircus.com/goran *
6Cttttt( (ttttttt tttttt7SC * *
/G7ttttt( %tttttt3#( *********************************
/G%ttttttt (tttttttC#(
GO7tttttttttttttttttttt%Q#^ Guy on phone to girlfriend: "How can
OO%tttttttttttttttttt3QQ^ you say I don't care? My records show I
^%QO%7tttttttttt7CG#6/ had a valentine faxed to your home
/6G@B#####R@@Q6/ number."
------------------------------------------------------------------------
--