Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-21-2008, 03:23 PM   #1
LQ Newbie
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
Smile kernel compilation error with gcc32

Hi everyone

I am compiling kernel on redhatAS 4 gets errors with gcc32

[root@linux1 src]# ls -ld linux
lrwxrwxrwx 1 root root 19 Mar 22 11:35 linux -> kernels/linux-2.6.9

[root@linux1 src]# cd linux

[root@linux1 linux]# pwd

[root@linux1 linux]# ls
arch Documentation init MAINTAINERS README sound
COPYING drivers ipc Makefile REPORTING-BUGS usr
CREDITS fs kernel mm scripts
crypto include lib net security

[root@linux1 linux]# ls .
./ .config .config.old .version
../ .config.cmd .tmp_versions/

[root@linux1 linux]# make
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
AS arch/i386/kernel/entry.o
gcc32: installation problem, cannot exec `tradcpp0': No such file or directory
make[1]: *** [arch/i386/kernel/entry.o] Error 1
make: *** [arch/i386/kernel] Error 2

[root@linux1 /]# whereis gcc32
gcc32: /usr/bin/gcc32

[root@linux1 /]# rpm -qf /usr/bin/gcc32

[root@linux1 /]# rpm -qa compat-gcc*
[root@linux1 /]#

any clues

thanks for your time and help in advance
Old 03-22-2008, 08:01 AM   #2
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,153
Blog Entries: 3

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
yeap that say,s you do not have a compiler and if you do it is pre 3.2.
open a terminal and type cc the reply should be no input file. then type cc -v and get your version. you really need 3.2 0r better for. and red hat 4 is so old I bet it is using 2.9 gcc.
and you are using a 2.6 kernel your system init is set to load a 2.4 kernel you really need to think this out. there are some very good 2,4 kernels that are very good and have everything you need today the 2.4 is still being kept up 2.4.39 you will like it. my favorite was the 2.4.34.
good luck. again you will need to up grade your gcc. type gcc -v and see what you get.
Old 03-24-2008, 05:18 AM   #3
LQ Newbie
Registered: Mar 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Hello Drakeo

I executed the above commands please verify

[root@linux1 ~]# cc
gcc32: no input files
[root@linux1 ~]# cc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Compilation error praveen_repelle Linux - Newbie 1 02-12-2008 04:04 PM
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
kernel compilation error bond_7942 Linux - Newbie 2 02-02-2005 01:14 PM
kernel compilation error htamayo Linux - Software 3 01-07-2005 04:15 PM
kernel compilation error in 2.4.20-8 cranium2004 Linux - Software 1 11-24-2004 06:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration