I need to run the following instructions:
Quote:
Run build.sh as follows from a terminal window, where /path/to /expanded/folder is where build.sh is located, i.e.
I have a source tarball: ap-kernelmodule-1.0.14-13.tar.gz
I have to compile a kernel module out of it and was instructed to install development tools for my Ubuntu version (which is 12.10).
The format is: sudo apt-get install linux-headers-$(uname -r) build-essential
Question #1: what is uname?
(When I installed Ubuntu, I input sharon as my name and which is also my account name.
This query is regarding the makefiles of linux kernel modules.
I saw at some sites on net it is suggesting to include the following path:
KERNEL_SOURCE := /usr/src/linux...
while at some places it is askibg to include /lib/modules path:
KERNEL_SOURCE := /lib/modules/2.6.27-7-generic/build
I see that lib/modules links to the usr/src/linux...
My Application has a folder structure like
/PNRPHD1/ex1/11.txt
/PNRPHD1/ex1/ex2/11.txt
/PNRPHD1/ex1/ex2/ex3/23.txt
/PNRPHD1/ex1/ex2/34.txt
/PNRPHD1/ex1/ex3/sp4/sp3/4334.txt,
but /PNRPHD1 is main folder, within that folder I need to iterate every time and go to the last level and check if the file exists or not,in that Directory or not,
if File is the content of directory, then i need to bu
I am new to Ubuntu (coming from Windows 7) and I am trying to add a directory to my system path and for some reason I can't get it to work.
Trilby wrote:I don't see a point in putting a link in /usr/bin to something in your home directory. If you're putting something in /usr/bin anyways, why not just move the program there?Well, it would allow other users to get to the binary easily, even if they aren't sudoers.
i downloaded the latest broadcom wifi drivers to my opensuse laptop, and i get the following error message.
Code:
linux@linux:~/Desktop/hybrid_wl> make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory. Stop.
make: *** [clean] Error 2
hi all,
I have a shell script which is executable in a folder named build. What i currently do is cd into the build directory from my home folder and do a ./make.sh ...
I got this Huawei E303C Datacard, It came with Linux Installation Guide, It asks to run a command, ./install $path
where $path is the path of the driver directory,
When I run this command it shows error like
Install NDIS driver failed.
The compiling environment is not all ready.
Please check gcc, make and kernel buid(/lib/modules/3.2.0-36-generic/build) to be all installed?
Now please enter any