Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions
User Name
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.


  Search this Thread
Old 07-23-2001, 10:11 AM   #1
Jim Morris
LQ Newbie
Registered: Jul 2001
Posts: 4

Rep: Reputation: 0
SuSE on G4


First ... I have a cheap boss who won't pay for the newest
distro of SuSE Linux. What I do have is a $9.95 copy of
SuSE Linux 7.0 with the older kernel. No big deal ... I'll
just download the newest kernel source and recompile.

I don't claim to be an expert so that's why I'm posting the
steps below:

After downloading the kernel source to /tmp ...

cd /usr/src
rm linux
tar xzvf /tmp/linux-2.4.6.tar.gz
mv linux linux-2.4.6
ln -s linux-2.4.6 linux

After this, I used make xconfig to make changes. The changes
are very few ... this box is going to be a news server and nothing

make xconfig

Next was the recompile

make dep
make clean
make vmlinux (this is where I stop)
make modules
make modules_install

After the make dep clean vmlinux, I received a few errors
(belos) but I wasn't sure if they were severe enough to cause
the entire process to bail ... then again, maybe they were.
I could not find the vmlinux image anywhere on the system
after this step (ran a find / -name vmlinux).

Any assistance will be very much appreciated. I'm going
to keep plugging away.


> -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple
> -mstring -c -o offb.o offb.c
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.6/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__
> -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple
> -mstring -c -o imsttfb.o imsttfb.c
> imsttfb.c: In function `imsttfb_setcolreg':
> imsttfb.c:1277: `i' undeclared (first use in this function)
> imsttfb.c:1277: (Each undeclared identifier is reported only once
> imsttfb.c:1277: for each function it appears in.)
> make[3]: *** [imsttfb.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.6/drivers/video'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.6/drivers/video'
> make[1]: *** [_subdir_video] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.6/drivers'
> make: *** [_dir_drivers] Error 2
Old 07-23-2001, 10:28 AM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
If its a brandnew kernel source you should do a
make symlinks
to create the symlinks for your architecture as the first step. The kernel is normally found in linux/arch/<your arch>/ (i think)


Old 07-24-2001, 01:52 AM   #3
Senior Member
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
yeah, even a small error in kernel compilation will usually be enough to blitz the make.
what version of gcc do you have? you can check with 'gcc --v'... i think - there's a version out there with a broken compiler, which could be what's giving you the problem, plus 2.4.6 needs 2.95 at least, if i remember correctly. everything else looks ok, except that i usually use 'make bzImage' instead of vmlinuz.

i've never really bothered to find what the difference between 'make vmlinuz' and 'make bzImage" is. anyone know offhand?

Last edited by isajera; 07-24-2001 at 01:57 AM.


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
Dual-boot WinXP / Suse 9, keeps crashing after installing Suse MagNiTek Linux - General 2 07-08-2005 12:39 PM
SuSE: Dlink Access Point: How to let SuSE 9.1 box fetch the webpages for wlan request hansschmucker Linux - Wireless Networking 3 01-06-2005 12:02 PM
ATI(fglrx) +suse 9.1 & supplementary drivers from Suse HenrixL Linux - Hardware 0 11-17-2004 04:14 PM
SUSE Security Announcement - cvs (SuSE-SA:2004:008) ima Linux - Security 3 04-19-2004 08:21 PM
SUSE Security Announcement - Linux Kernel (SuSE-SA:2004:009) ima Linux - Security 0 04-19-2004 08:35 AM > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 07:00 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
Open Source Consulting | Domain Registration