You are not logged in.

#1 2013-03-08 19:35:16

unknow04
Member
Registered: 2012-06-29
Posts: 11

[SOLVED] error make file compat-drivers

I just install arch linux on my laptop, and now I don't have any internet connection, last time i use an analog modem install it via wvdial, after the reboot it doesn't recognize the command, so now I'm trying to install my ethernet connection, with this

$ wget http://www.orbit-lab.org/kernel/compat- … pc.tar.bz2
$ tar xjf compat-wireless-3.6.8-1-snpc.tar.bz2
$ cd compat-wireless-3.6.8-1-snpc
$ ./scripts/driver-select alx
$ make
$ sudo make install
$ sudo modprobe alx

Cause I don't have internet connection I download the package with other pc, problem now is that when I type the command ./scripts/driver-select alx appears something like this

Processing new driver-select request...
Backing up makefile: Makefile.bk
back up exists: Makefile.bk
backing up makefile: drivers/net/ethernet/broadcom/Makefile.bk
backing up makefile: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk

I don't know if the code above indicates that something is missing, but when I try the make command this appears

./scripts/gen-compat-autoconf.sh /mnt/usb/compat-wireless-3.6.8-1-snpc/ .config /mnt/usb/compat-wireless-3.6.8-1-snpc/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.7.10-1-ARCH/build M=/mnt/usb/compat-wireless-3.6.8-1-snpc modules
make: *** /lib/modules/3.7.10-1-ARCH/build: No such file or directory. Stop.
make: *** [modules] Error 2

Thanks for those who took his time for read my treath

Last edited by unknow04 (2014-08-20 06:01:28)

Offline

#2 2013-03-08 19:48:30

vyu223
Member
Registered: 2013-02-18
Posts: 24

Re: [SOLVED] error make file compat-drivers

Did you recently update the kernel and not reboot? Although your path, "/lib/modules/3.7.10-1..." seems to be correct, though. I had a similar problem, except the path make was using was "/lib/modules/3.7.9..." when my kernel version was actually 3.7.10-1. It turns out that I had forgotten to reboot after a kernel upgrade. Rebooting fixed it for me. I... kind of doubt this is your problem, though.

cd to your /lib/modules/3.7.10-1-ARCH directory, and check to see that there is a symlink in there called "build".

Offline

#3 2013-03-08 19:59:40

unknow04
Member
Registered: 2012-06-29
Posts: 11

Re: [SOLVED] error make file compat-drivers

I reboot and the problems still's

I don't know what to do, i need an internet connection, in any case analog modem, ethernet or wifi... I need help with this.

Last edited by unknow04 (2013-03-08 23:06:20)

Offline

#4 2013-05-22 12:41:20

samebchase
Member
Registered: 2012-01-31
Posts: 9

Re: [SOLVED] error make file compat-drivers

Hi,

I'm getting the same error after trying to recompile after a kernel upgrade as well.

Offline

#5 2013-05-22 12:43:42

samebchase
Member
Registered: 2012-01-31
Posts: 9

Re: [SOLVED] error make file compat-drivers

I checked the /lib/modules/3.9.3-1-ARCH/ and there is no symlink called "build" there.

Offline

#6 2013-05-22 12:53:21

samebchase
Member
Registered: 2012-01-31
Posts: 9

Re: [SOLVED] error make file compat-drivers

Does anyone know approximately when the driver for Qualcomm Atheros AR8162 will make it into the kernel, so it won't be necessary to compile drivers myself?

Offline

#7 2013-05-23 14:04:21

unknow04
Member
Registered: 2012-06-29
Posts: 11

Re: [SOLVED] error make file compat-drivers

HI samebchase... did you install all the libraries necessary to the make ??? cause I think that was what solve my problem

Offline

#8 2013-05-23 18:54:30

samebchase
Member
Registered: 2012-01-31
Posts: 9

Re: [SOLVED] error make file compat-drivers

I think so.

I've built various versions of these drivers in the past. It was only after the latest upgrade that I've been having problems.

Anyway, what should I have installed?

Offline

Board footer

Powered by FluxBB