Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
I can't install Thunderbird

*whats this message? user1@ubuntu:~$ make KBUILD_NOPEDANTIC=1 make -C /lib/modules/uname -r/build M=pwd make[1]: Entering directory /usr/src/linux-headers-2.6.38-8-generic' CC [M] /home/user1/src/wl/sys/wl_linux.o Assembler messages: Fatal error: can't create /home/user1/src/wl/sys/.tmp_wl_linux.o: Permission denied /home/user1/src/wl/sys/wl_linux.c: In function ‘wl_attach’: /home/user1/src/wl/sys/wl_linux.c:485:3: error: implicit declaration of function ‘init_MUTEX’ make[2]: *** [/home/user1/src/wl/sys/wl_linux.o] Error 2 make[1]: *** [_module_/home/user1] Error 2 make[1]: Leaving directory/usr/src/linux-headers-2.6.38-8-generic' make: * [all] Error 2 how to solve problem?*

thank you fossfreedom. i did it, this is the result:

chown: invalid option -- 'r' Try chown --help' for more information. user1@ubuntu:~/src/wl/sys$ sudo chown -r user1:user1 * chown: invalid option -- 'r' Trychown --help' for more information.

(my ubuntu ver. is natty 11.04)

i tried chown --help , i found that -R is correct, and i learnd -f suffix. BUT make command does not work and result is same as thah i wrote.

share|improve this question

marked as duplicate by Marco Ceppi Oct 24 '11 at 21:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

The permission denied message could be that at some point you ran make as root

e.g.

sudo make

try

cd /home/user1/src/wl/sys

pwd

sudo chown -R user1:user1 *

The MUTEX error could be due to the initial permissions issue. Fix that first, recompile and see if the error still occurs.

IMPORTANT: the pwd command should display "/home/user1/src/wl/sys" i.e. that you have correctly navigated to that subfolder

the chown -r command will change all permissions in that folder and all sub folders to the user1 user (and his group)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.