[solved] install USB wireless adapter - "Make" command error

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[solved] install USB wireless adapter - "Make" command error

Postby permitivity » Tue Mar 12, 2013 4:46 am

Hi,
I'm a linux newbie. I'm trying to compile and install a kinivo wireless USB adapter using the source code Kinivo provided for linux. This is on a Pogoplug installed with 3.1.10-13 Arch Linux.

The original file is a .bz2. I untar it and try to run the Make command in the untared folder. I get this:

$this->bbcode_second_pass_quote('', '[')root@alarm 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO]# make
make -C tools
make[1]: Entering directory `/mnt/back1/kinivodriver/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/mnt/back1/kinivodriver/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/tools'
/mnt/back1/kinivodriver/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /mnt/back1/kinivodriver/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile
make -C /lib/modules/3.1.10-13-ARCH/build SUBDIRS=/mnt/back1/kinivodriver/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux modules
make: *** /lib/modules/3.1.10-13-ARCH/build: No such file or directory. Stop.



I'm not sure what Make is trying to do - is the /lib/modules/3.1.10-13-ARCH/build directory something that is standard and it expects to have? Or do I need to change my environment variable?

FYI background: before doing this, I had trouble running the Make command. "Command not found". Another forum post told me to install base-devel. I couldn't install base-devel because the directory to Make and gcc was all wrong (wrong URL)...so I ended up doing a pacman -Syyu. Then pacman -S base-devel worked. That's where I am at right now - Make command runs, but runs into an error.

I'm really new at this, thanks.
Last edited by permitivity on Wed Mar 13, 2013 1:36 am, edited 1 time in total.
permitivity
 
Posts: 141
Joined: Mon Feb 18, 2013 3:08 am

Re: install USB wireless adapter - "Make" command error

Postby moonman » Tue Mar 12, 2013 6:18 am

If you did afull upgrade then you should have kernel 3.1.10-16, not 13. Reboot, try again, read documentation. I bet it's not as simple as running "make". You likely need to run some scripts with certain options beforehand.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: install USB wireless adapter - "Make" command error

Postby permitivity » Wed Mar 13, 2013 1:36 am

Oh, ok. I didn't actually look through the folder. Sorry, like I said, I'm new. The readme tells me to modify the Make files with some system dependent things like:

$this->bbcode_second_pass_quote('', '
')define the GCC and LD of the target machine
define the compiler flags CFLAGS



I'll have to do some research, but thanks for pointing me to the right direction.
permitivity
 
Posts: 141
Joined: Mon Feb 18, 2013 3:08 am

Re: [solved] install USB wireless adapter - "Make" command e

Postby moonman » Wed Mar 13, 2013 2:24 am

You can find the right flags under /etc/makepkg.conf
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 16 guests