LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-19-2001, 05:07 PM   #1
shollebeck
LQ Newbie
 
Registered: Jun 2001
Location: plano tx
Posts: 5

Rep: Reputation: 0
tun.o


I'm trying to setup tun under redhat 7.1 kernel 2.4.2
After doing
make menuconfig
make dep
make bzImage
mknod
I'm getting
depmod: *** Unresolved symbols in /lib/modules/2.4.2-2/kernel/drivers/net/tun.o
as well as alot of other modules. What am I doing wrong

I went to the site and yes I did make a backup when I copied
to /boot
When I did make modules only a few make
I'm getting error:
make[2]: *** [dummy.o] error 1
make[2]: leaving directory '/usr/src/linux-2.4.2/dirvers/net'
make[1]: ***[_mod_subdir_net] Error 2
make[1]: leaving directory '/usr/src/linux-2.4.2/dirvers'
make: *** [_mod_drivers} Error 2




Last edited by shollebeck; 06-19-2001 at 06:11 PM.
 
Old 06-19-2001, 05:19 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
After the 'make bzImage' you want to copy the kernel from /usr/src/linux/arch/i386 (assuming you are on an intel box!) to /boot (the file is vmlinuz incase you hadn't guessed) then run

make modules
rm -r /lib/modules/2.4.2 (assuming you are recompiling the same kernel)
make modules_install

then run

lilo

then reboot.

HTH

Jamie...

PS The above won't backup your old kernel - this is something you probably want to do unless you are confident that you havn't missed anything out in the new kernel! Have a look at http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html for some real instructions!
 
Old 06-19-2001, 06:07 PM   #3
shollebeck
LQ Newbie
 
Registered: Jun 2001
Location: plano tx
Posts: 5

Original Poster
Rep: Reputation: 0
I went to the site and yes I did make a backup when I copied
to /boot
When I did make modules only a few make
I'm getting error:
make[2]: *** [dummy.o] error 1
make[2]: leaving directory '/usr/src/linux-2.4.2/dirvers/net'
make[1]: ***[_mod_subdir_net] Error 2
make[1]: leaving directory '/usr/src/linux-2.4.2/dirvers'
make: *** [_mod_drivers} Error 2
 
Old 06-20-2001, 01:44 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
What compiler are you using? Assuming its GCC run gcc --version to find out. I've had problems compiling the 2.4 tree with gcc 2.95.2 thats had the pgcc patch applied. Can't think of anything else, there is a remote possibilty that one of the files is damamged but I'd be surprised!

Jamie...
 
Old 06-20-2001, 05:29 PM   #5
shollebeck
LQ Newbie
 
Registered: Jun 2001
Location: plano tx
Posts: 5

Original Poster
Rep: Reputation: 0
Running version 2.96.
I can easily try to reinstall the entire system. I've done it multiple
times.... I'm really a mainframe tech using linux to run a emulator
for mainframe software.... Not even a C coder.....
I apreciate the help..
 
Old 06-20-2001, 05:36 PM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
If I were in your position I would get down the latest kernel source from you local mirror of ftp.kernel.org (2.4.5 I think) and try building that. Can anyone on the forum confirm that RH 7.1 ships with a correct version of gcc, not the knackered one where you need to use kgcc to compile the kernel? I think that was in RH 7.

HTH

Jamie...
 
Old 06-25-2001, 05:38 PM   #7
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Red Hat "just" sent me an advisory about an updated GCC for 7.1 new gcc-2.96 version available
 
  


Reply


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
need help: /dev/net/tun boxyou Linux - Networking 1 04-29-2005 02:11 AM
How do I use /dev/net/tun mike8s2 Linux - Networking 2 04-19-2005 08:01 PM
TUN device error palanisaravanan Linux - Networking 1 11-24-2004 12:17 AM
Getting FD for an existing tun device alanwolfen Programming 1 10-18-2004 11:39 AM
Problem with tun spoody_goon Linux - Newbie 0 10-11-2003 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:49 AM.

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