There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard mouse network printer problem ram registry router server slow software sound svchost.exe trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
How to compile the kernel in Ubuntu

Reply  
Thread Tools
kyle7119's Avatar
Member with 147 posts.
 
Join Date: Jan 2009
18-Apr-2009, 06:19 PM #1
How to compile the kernel in Ubuntu
I am using these instructions to make my wireless card work with Ubuntu with linux. I am having problems during this step:


Quote:
We now need to compile and install the driver:
#cd usb
#make
#sudo make install
I think these problems are becuase I haven't build/configured the kernel. What are the command lines to do this in Ubuntu?
cancon's Avatar
Computer Specs
Senior Member with 1,164 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
18-Apr-2009, 06:25 PM #2
What error message are you getting? Please copy and paste everything in terminal in your next post.
kyle7119's Avatar
Member with 147 posts.
 
Join Date: Jan 2009
18-Apr-2009, 06:35 PM #3
please give me some time to post back with the answer. I uninstall linux the other day becasue I couldn't use the wireless. I'll reinstall it and post the error message once I go through the process agian. While I am doing that, could you please answer my original question too. Thanks
cancon's Avatar
Computer Specs
Senior Member with 1,164 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
18-Apr-2009, 06:43 PM #4
Well, the driver you are trying to install needs compiling, the same as you posted above, and then you need to type modprobe drivername, and that should be it.
kyle7119's Avatar
Member with 147 posts.
 
Join Date: Jan 2009
18-Apr-2009, 06:49 PM #5
I cannot get through the "make" part though
cancon's Avatar
Computer Specs
Senior Member with 1,164 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
18-Apr-2009, 08:21 PM #6
i need to see the error to know why. It could be a variety of different reasons.
kyle7119's Avatar
Member with 147 posts.
 
Join Date: Jan 2009
18-Apr-2009, 08:30 PM #7
Ok, please give me a few days to get Ubuntu back up and running again. I have homework that I need to be doing right now. I will private message you when I have posted my error message here.
kyle7119's Avatar
Member with 147 posts.
 
Join Date: Jan 2009
18-Apr-2009, 11:52 PM #8
here is the command line that I run and the error message that I get

Quote:
ubuntu@ubuntu:~$ cd usb
ubuntu@ubuntu:~/usb$ make
make -C /usr/src/linux-headers-2.6.27-7-generic M=/home/ubuntu/usb KERNELRELEASE=2.6.27-7-generic modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
CC [M] /home/ubuntu/usb/orinoco.o
In file included from /home/ubuntu/usb/orinoco.c:90:
/home/ubuntu/usb/orinoco.h: In function ‘orinoco_spin_unlock’:
/home/ubuntu/usb/orinoco.h:188: warning: ‘__raw_spin_unlock’ is static but used in inline function ‘orinoco_spin_unlock’ which is not static
/home/ubuntu/usb/orinoco.h:188: warning: ‘raw_local_irq_enable’ is static but used in inline function ‘orinoco_spin_unlock’ which is not static
/home/ubuntu/usb/orinoco.c: In function ‘orinoco_translate_scan’:
/home/ubuntu/usb/orinoco.c:3975: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:3975: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:3975: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/ubuntu/usb/orinoco.c:3975: error: too few arguments to function ‘iwe_stream_add_event’
/home/ubuntu/usb/orinoco.c:3985: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:3985: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:3985: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:3985: error: too few arguments to function ‘iwe_stream_add_point’
/home/ubuntu/usb/orinoco.c:3995: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:3995: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:3995: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/ubuntu/usb/orinoco.c:3995: error: too few arguments to function ‘iwe_stream_add_event’
/home/ubuntu/usb/orinoco.c:4005: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:4005: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:4005: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/ubuntu/usb/orinoco.c:4005: error: too few arguments to function ‘iwe_stream_add_event’
/home/ubuntu/usb/orinoco.c:4019: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:4019: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:4019: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/ubuntu/usb/orinoco.c:4019: error: too few arguments to function ‘iwe_stream_add_event’
/home/ubuntu/usb/orinoco.c:4028: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:4028: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:4028: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:4028: error: too few arguments to function ‘iwe_stream_add_point’
/home/ubuntu/usb/orinoco.c:4053: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:4053: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
/home/ubuntu/usb/orinoco.c:4053: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
/home/ubuntu/usb/orinoco.c:4053: error: too few arguments to function ‘iwe_stream_add_value’
make[2]: *** [/home/ubuntu/usb/orinoco.o] Error 1
make[1]: *** [_module_/home/ubuntu/usb] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Error 2
kyle7119's Avatar
Member with 147 posts.
 
Join Date: Jan 2009
19-Apr-2009, 07:51 AM #9
Quote:
Try following the instructions in *markds*'s post here (http://www.slax.org/forum.php?action=view&parentID=31051).
cancon's Avatar
Computer Specs
Senior Member with 1,164 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
19-Apr-2009, 09:56 AM #10
Yeah I realised it was the wrong driver
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:34 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.