LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-01-2004, 01:31 PM   #1
fawkes.phoenix
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
Exclamation problem compiling kernel for installing alcatel driver


i've been provided with a dsl (alcatel speedtouch usb 330) connection for
networking. i've installed fedora core 2.0 (kernel 2.6.5-1.358). after
loads of effort in trying to install the drivers for the device i finally
found a straight forward method of doing this. but this method applies to
kernel 2.4.25. now i've got kernel 2.5.35. but let me clarify the reason
why i'm installing on a diff kernel than the one provided to me. i'm doing
this because i'm not sure if tampering with my kernel settings is a good
thing to do at this stage. so now i'm into kernel installation. now i
copied the settings from my the config for my existing kernel to the new
kernel that i'm trying to install (i "didnot" copy the config file, i made
the settings manually!). now i did the following after saving the kernel
configurations :
make dep
make clean
make bzImage
after several mins and loads of verbose stuff, that i've not been able to
understand properly, i get the following error :

echo ' Generating build number'
Generating build number
. scripts/mkversion > .tmpversion
mv -f .tmpversion .version
make -C init
make[1]: Entering directory `/usr/src/linux-2.5.35/init'
Generating /usr/src/linux-2.5.35/include/linux/compile.h (unchanged)
make[1]: Leaving directory `/usr/src/linux-2.5.35/init'
ld -m elf_i386 -T arch/i386/vmlinux.lds.s -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/init.o
--start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o security/built-in.o
/usr/src/linux-2.5.35/arch/i386/lib/lib.a lib/lib.a
/usr/src/linux-2.5.35/arch/i386/lib/lib.a drivers/built-in.o
sound/sound.o arch/i386/pci/pci.o net/network.o --end-group -o vmlinux
fs/fs.o(.text+0xbada): In function `de_thread':
: undefined reference to `wait_task_inactive'
make: *** [vmlinux] Error 1

please suggest how i can handle this error.
 
Old 07-01-2004, 02:36 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well first thing, the 2.5 kernel series was the development series used to develop the current 2.6 kernel. Why don't you build a 2.6 kernel. The speedtouch works for me on Fedora Core 2, I have it installed on another partition. Like you I had to recompile the kernel as it didn't have atm enabled in the kernel, though I think I read somewhere that a kernel module is available as an .rpm . As for your problems compiling the kernel, for a 2.6 kernel you don't do make dep, make clean or make bzImage, so that may be the problem. After you've done make menuconfig you do make and then make modules_install and then copy bzImage and System.map to boot. This page has stuff about the speedtouch on core 2 http://www.4p8.com/eric.brasseur/fc2...touch_usb.html and so does this http://grumz.dyndns.org/ADSL_FC2/ Good luck
 
Old 07-01-2004, 02:46 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
yea I'm not sure i would go back to 2.4 on a system build with 2.6
and certainly no reson to use 2.5 ??
The module init tools are different for 2.4 than 2.6
so if you go back these need to be rolled back as well
also your /etc/modprobe.conf file will have to be converted to the old 2.4 name and format
also the new 2.6 systems are built with a glibc compiled against the new
2.6 user space kernel headers and this also may have reverse compatability problems with 2.4
though I'm not sure....

i agree with what was said before -- use 2.6.x
you can use exactly the kernel you start with just when you recompile set the variable in the top level Makefile
EXTRAVERSION=
then you won't mess up you current kernel at all

Last edited by foo_bar_foo; 07-01-2004 at 02:47 PM.
 
  


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
Compiling driver into kernel DDoS YourseLF Linux - General 1 08-07-2005 02:45 PM
Compiling Kernel Driver: ACPI mebaro Linux - Newbie 3 07-15-2005 09:03 AM
Alcatel SpeedTouch - kernel driver guldo Linux - Hardware 8 01-24-2005 08:16 PM
How to built-in a driver when compiling the kernel 7helix Linux - Software 9 06-18-2004 03:17 PM
Problem installing an USB Alcatel Speedtouch 330 on Smoothwall. Spooneo Linux - Laptop and Netbook 3 01-25-2004 07:16 AM


All times are GMT -5. The time now is 06:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration