how to compile a custom driver in ubuntu
Hi,
I installed ubuntu 6.0.6LTS on my pc.I noticed following problems. 1.#make no make command found. Is there any command to compile a driver otherthan make ? 2.how to enter as root adminstrator. please helpme. |
Regarding root access, Ubuntu I believe uses "sudo" to provide this. Basically you run "sudo command", enter your password if prompted, and "command" will then be run as root.
For the first problem, installing make is easy: "sudo apt-get install make". |
Hi trevelluk,
I got the following error message to while installing make. madhu@madhu-desktop:~$ sudo apt-get install make Reading package lists... Done Building dependency tree... Done E: Couldn't find package make So, how can i insall make package in ubuntu 6.0.6LTS |
Install the build-essential package. It includes make, gcc, etc
|
Hi,
I observed the same problem with mandirva also. 1.#make no make command found. give the instructions to install make package in ubuntu and mandriva. |
For Ubuntu, I don't know why the make package isn't available. Can you post the contents of /etc/apt/sources.list?
I would also recommend Redeye2's suggestion of installing build-essential, as this will contain a number of other useful tools for compiling. I don't use Mandriva myself, but there should be an option to install new software somewhere in the control centre. It might also be worth looking round the Mandriva forum for more advice. Hope this helps! |
You can install make and all it's buddies with your original ubuntu install cd. Just insert it, and the interface will ask you if you want to run synaptic. Then, look for the package "build-essential". Install that and you will have "make". Be sure to use "sudo ./configure" and "sudo make install" when building; but "make" doesn't usually need to be root.
|
Quote:
|
Quote:
so check that the lines don't all start with a "#" |
hi,
i have ubuntu 6.10. where the "network-scripts' file located in ubuntu |
they are in /etc/network/
in if-down.d if-post-down.d if-pre-up.d and if-up.d |
Quote:
Which file do I have to edit to uncomment? Kubuntu 6.10 |
like I said, /etc/apt/sources
what wireless device are you trying to compile a driver for? |
All times are GMT -5. The time now is 11:52 PM. |