Mourning the loss of our friend, WhitPhil.
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 audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
How to compile the kernel in Ubuntu

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
kyle7119's Avatar
Computer Specs
Senior Member with 142 posts.
 
Join Date: Jan 2009
Experience: Intermediate
18-Apr-2009, 05: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,151 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
18-Apr-2009, 05:25 PM #2
What error message are you getting? Please copy and paste everything in terminal in your next post.
kyle7119's Avatar
Computer Specs
Senior Member with 142 posts.
 
Join Date: Jan 2009
Experience: Intermediate
18-Apr-2009, 05: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,151 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
18-Apr-2009, 05: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
Computer Specs
Senior Member with 142 posts.
 
Join Date: Jan 2009
Experience: Intermediate
18-Apr-2009, 05:49 PM #5
I cannot get through the "make" part though
cancon's Avatar
Computer Specs
Senior Member with 1,151 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
18-Apr-2009, 07:21 PM #6
i need to see the error to know why. It could be a variety of different reasons.
kyle7119's Avatar
Computer Specs
Senior Member with 142 posts.
 
Join Date: Jan 2009
Experience: Intermediate
18-Apr-2009, 07: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
Computer Specs
Senior Member with 142 posts.
 
Join Date: Jan 2009
Experience: Intermediate
18-Apr-2009, 10: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
Computer Specs
Senior Member with 142 posts.
 
Join Date: Jan 2009
Experience: Intermediate
19-Apr-2009, 06: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,151 posts.
 
Join Date: Jul 2005
Location: Lebanon
Experience: Intermediate
19-Apr-2009, 08:56 AM #10
Yeah I realised it was the wrong driver
Closed Thread Bookmark and Share

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.

Smart Search

Find your solution!



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


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 11:03 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.