Click to See Complete Forum and Search --> : trouble installing gcc


Sanmirado
10-30-2002, 08:49 PM
Hey everyone,
while trying to install gcc 3.2 (w/ the gcc-3.2.tar.gz file) I keep running into this error message (during the "make bootstrap" portion of the installation):

jargrep.o(.text+0x4e7):/home/bbond/zips/gcc-3.2/fastjar/jargrep.c:392: undefined reference to `__ctype_b'
jargrep.o(.text+0x78d): In function `mk_ascii':
/home/bbond/zips/gcc-3.2/fastjar/jargrep.c:498: undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
make[2]: *** [grepjar] Error 1
make[2]: Leaving directory `/home/bbond/zips/gcc-3.2/fastjar'
make[1]: *** [all-fastjar] Error 2
make[1]: Leaving directory `/home/bbond/zips/gcc-3.2'
make: *** [bootstrap] Error 2
root@austin:/home/bbond/zips/gcc-3.2#

any suggestions?

slackware 8.1

bwkaz
10-31-2002, 12:05 AM
Hmm... can you configure it without Java support? That seems to be what it's failing on (jargrep looks like something to search through .jar (Java archive) files)...

Re-configure it, and pass --enable-languages=c,c++,<whatever else> to the configure script. For a list of supported languages, give configure the --help option.

Penrich
11-01-2002, 06:01 PM
Can I use this command to add g77 to my existing gcc 2.95 (my thread (http://www.linuxnewbie.org/forum/showthread.php?s=&threadid=71873)) ? I'm not at my box right now, but this post caught my eye. I'll look into it later...