Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 24th May 2007, 19:52
modul8r modul8r is offline
Junior Member
 
Join Date: May 2007
Posts: 10
Thanks: 4
Thanked 0 Times in 0 Posts
Default

debian:~# apt-cache search gcc
acovea - analysis of compiler options via evolutionary algorithms
cableswig - Generate wrappers for Python and Tcl from C++ code
chill-2.95 - The GNU CHILL compiler
colorgcc - Colorizer for GCC warning/error messages
cpp - The GNU C preprocessor (cpp)
cpp-2.95 - The GNU C preprocessor
cpp-2.95-doc - Documentation for the GNU C preprocessor (cpp)
cpp-3.3 - The GNU C preprocessor
cpp-3.4 - The GNU C preprocessor
cpp-4.1 - The GNU C preprocessor
cpphs - Simplified cpp-a-like preprocessor for Haskell
cstream - general-purpose stream-handling tool similar to dd
cxref - Generates latex and HTML documentation for C programs
dpkg-dev - package building tools for Debian
g++-2.95 - The GNU C++ compiler
g++-3.4 - The GNU C++ compiler
g77 - The GNU Fortran 77 compiler
g77-2.95 - The GNU Fortran 77 compiler
g77-2.95-doc - Documentation for the GNU Fortran compiler (g77)
g77-3.4 - The GNU Fortran 77 compiler
gcc - The GNU C compiler
gcc-2.95 - The GNU C compiler
gcc-2.95-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcc-3.3 - The GNU C compiler
gcc-3.3-base - The GNU Compiler Collection (base package)
gcc-3.4 - The GNU C compiler
gcc-3.4-base - The GNU Compiler Collection (base package)
gcc-4.1 - The GNU C compiler
gcc-4.1-base - The GNU Compiler Collection (base package)
gcc-4.1-locales - The GNU C compiler (native language support files)
gcc-4.1-source - Source of the GNU Compiler Collection
gcc-avr - The GNU C compiler (cross compiler for avr)
gcc-m68hc1x - GNU C compiler for the Motorola 68HC11/12 processors
gcc272 - The GNU C compiler.
gcc272-docs - Documentation for the gcc compiler (gcc272).
gccxml - XML output extension to GCC
gcj - The GNU Java compiler
gcj-4.1 - The GNU compiler for Java(TM)
gcj-4.1-base - The GNU Compiler Collection (gcj base package)
gfortran - The GNU Fortran 95 compiler
gfortran-4.1 - The GNU Fortran 95 compiler
ggcov - Graphical tool for displaying gcov test coverage data
gnat-4.1 - The GNU Ada compiler
gnat-4.1-base - The GNU Compiler Collection (gnat base package)
gobjc - The GNU Objective-C compiler
gobjc++ - The GNU Objective-C++ compiler
gobjc++-4.1 - The GNU Objective-C++ compiler
gobjc-2.95 - The GNU Objective-C compiler
gobjc-4.1 - The GNU Objective-C compiler
gpc - The GNU Pascal compiler
gpc-2.1-3.4 - The GNU Pascal compiler
gpc-2.1-3.4-doc - Documentation for the GNU Pascal compiler (gpc)
gpc-2.95 - The GNU Pascal compiler
gpc-2.95-doc - Documentation for the GNU Pascal compiler (gpc)
lib64gcc1 - GCC support library (64bit)
lib64mudflap0 - GCC mudflap shared support libraries (64bit)
lib64ssp0 - GCC stack smashing protection library (64bit)
libacovea-5.1-5 - library for analyzing compiler options via evolutionary algori thms
libacovea-dev - library for analyzing compiler options via evolutionary algorith ms
libaspell15c2 - GNU Aspell spell-checker runtime library [dummy]
libg++2.8.1.3-dbg - The GNU C++ extension library - debugging files
libg++2.8.1.3-dev - The GNU C++ extension library - development files
libg++2.8.1.3-glibc2.2 - The GNU C++ extension library - runtime version
libgcc1 - GCC support library
libgcj7-0 - Java runtime library for use with gcj
libgcj7-dev - Java development headers and static library for use with gcj
libgcj7-jar - Java runtime library for use with gcj (jar files)
libmudflap0 - GCC mudflap shared support libraries
libmudflap0-dev - GCC mudflap support libraries (development files)
libssp0 - GCC stack smashing protection library
libstdc++2.10-dbg - The GNU stdc++ library (debugging files)
libstdc++2.10-dev - The GNU stdc++ library (development files)
libstdc++2.10-glibc2.2 - The GNU stdc++ library
motor - C/C++/Java Integrated Development Environment
motor-common - C/C++/Java Integrated Development Environment
motor-fribidi - C/C++/Java Integrated Development Environment
pentium-builder - force pentium optimized compilation
pilrc - PalmOS resource compiler and editor
pilrcui - graphical viewer for PalmOS resource files
pocketpc-gcc - The GNU C compiler for Pocket PC
ratfor - Rational Fortran preprocessor for Fortran 77
stalin - An extremely aggressive Scheme compiler
tcc - The smallest ANSI C compiler
treelang-4.1 - The GNU Treelang compiler
uisp - Micro In-System Programmer for Atmel's AVR MCUs
debian:~#
Reply With Quote
Sponsored Links
  #12  
Old 25th May 2007, 16:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Please try this:
Code:
apt-get install gcc-2.95
Then try to compile the kernel again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
modul8r (30th May 2007)
  #13  
Old 29th May 2007, 20:10
modul8r modul8r is offline
Junior Member
 
Join Date: May 2007
Posts: 10
Thanks: 4
Thanked 0 Times in 0 Posts
Default

If you think it would be easier, I don't mind download another distribution. I just need a 2.4.17 kernel =)

/usr/bin/make -C ide
make[3]: Entering directory `/usr/src/linux/drivers/ide'
/usr/bin/make all_targets
make[4]: Entering directory `/usr/src/linux/drivers/ide'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c ide.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c ide-features.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o cmd640.o cmd640.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-adma.o ide-adma.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-dma.o ide-dma.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-pci.o ide-pci.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o piix.o piix.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o rz1000.o rz1000.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-proc.o ide-proc.c
ld -m elf_i386 -r -o ide-mod.o ide.o ide-features.o cmd640.o ide-adma.o ide-dma.o ide-pci.o piix.o rz1000.o ide-proc.o
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-probe.o ide-probe.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-geometry.o ide-geometry.c
ld -m elf_i386 -r -o ide-probe-mod.o ide-probe.o ide-geometry.o
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-disk.o ide-disk.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-cd.o ide-cd.c
In file included from ide-cd.c:318:
ide-cd.h:438: error: long, short, signed or unsigned used invalidly for `slot_tablelen'
make[4]: *** [ide-cd.o] Error 1
make[4]: Leaving directory `/usr/src/linux/drivers/ide'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux/drivers/ide'
make[2]: *** [_subdir_ide] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [debian/stamp-build-kernel] Error 2
debian:/usr/src/linux#
Reply With Quote
  #14  
Old 30th May 2007, 01:13
modul8r modul8r is offline
Junior Member
 
Join Date: May 2007
Posts: 10
Thanks: 4
Thanked 0 Times in 0 Posts
Default

I just re-installed Debian 3.1 r4 then ran the command "apt-get install gcc-2.95" before following your instructions.

Now I'm getting a different error after I enter the "fakeroot make-kpkg --revision=custom.1.0 kernel_image" command:

/usr/bin/make ARCH=i386 \
bzImage
make[1]: Entering directory `/usr/src/linux'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/wait.h:14,
from /usr/src/linux/include/linux/fs.h:12,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/processor.h:73: error: array type has incomplete element type
In file included from /usr/src/linux/include/linux/fs.h:200,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
/usr/src/linux/include/asm/byteorder.h:28: warning: type qualifiers ignored on function return type
In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux/include/asm/byteorder.h:45,
from /usr/src/linux/include/linux/fs.h:200,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/byteorder/swab.h:132: warning: type qualifiers ignored on function return type
/usr/src/linux/include/linux/byteorder/swab.h:145: warning: type qualifiers ignored on function return type
/usr/src/linux/include/linux/byteorder/swab.h:159: warning: type qualifiers ignored on function return type
In file included from /usr/src/linux/include/linux/fs.h:313,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/ncp_fs_i.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp_fs_i.h:27: warning: 'packed' attribute ignored for field of type '__u8[6]'
In file included from /usr/src/linux/include/linux/ncp_mount.h:12,
from /usr/src/linux/include/linux/ncp_fs_sb.h:12,
from /usr/src/linux/include/linux/fs.h:689,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/ncp.h:24: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:25: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:27: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:28: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:29: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux/include/linux/ncp.h:37: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:38: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:39: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:40: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:41: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:42: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:43: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux/include/linux/ncp.h:137: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux/include/linux/ncp.h:138: warning: 'packed' attribute ignored for field of type '__u8[256]'
/usr/src/linux/include/linux/ncp.h:174: warning: 'packed' attribute ignored for field of type '__u8'
In file included from /usr/src/linux/include/asm/smp.h:17,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/mpspec.h:86: warning: 'packed' attribute ignored for field of type 'unsigned char[6]'
In file included from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/usr/src/linux/include/asm/smp.h:65: error: previous declaration of 'smp_send_reschedule' was here
In file included from /usr/src/linux/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux/include/asm/unistd.h:348: warning: conflicting types for built-in function '_exit'
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/usr/src/linux'
make: *** [debian/stamp-build-kernel] Error 2
debian:/usr/src/linux#
Reply With Quote
  #15  
Old 30th May 2007, 17:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

I'm not sure what to do then...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #16  
Old 30th May 2007, 18:11
modul8r modul8r is offline
Junior Member
 
Join Date: May 2007
Posts: 10
Thanks: 4
Thanked 0 Times in 0 Posts
Default

No problem, I appreciate your time.

Could you, perhaps, suggest another distribution to try (that ships with a 2.4 kernel) and even point me to a good "how to" to recompile a kernel on it, so I can try to get 2.4.17 on it?

Cheers,

-mod
Reply With Quote
  #17  
Old 31st May 2007, 15:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

Basically you can try any old distribution (maybe two years old or older).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig takes forever to load b00gz Installation/Configuration 5 12th April 2007 23:00
MySQL time differs from system arsen.gushin Server Operation 7 23rd June 2006 20:33
Help....package missing sbovisjb1 Installation/Configuration 3 31st March 2006 12:14
Real System users exy123 General 2 12th December 2005 11:01
ISPConfig system stoped johnking Installation/Configuration 7 27th October 2005 03:37


All times are GMT +2. The time now is 03:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.