Unable to use "make" in Raspberry PI

Ask questions about Arch Linux ARM. Please search before making a new topic.

Unable to use "make" in Raspberry PI

Postby luismoondo » Sun Aug 20, 2017 6:50 pm

I am trying to compile driver rtl8723bu for my EDIMAX EW-7611ULB unsuccessfully.

When doing this:
$this->bbcode_second_pass_code('', '
[alarm@alarmpi rtl8723bu]$ make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.9.43-1-ARCH/build M=/home/alarm/rtl8723bu modules
make[1]: *** /lib/modules/4.9.43-1-ARCH/build: No such file or directory. Stop.
make: *** [Makefile:321: modules] Error 2
')

I checked the directory and the "build" directory indeed does not exist. I am not sure if the "make" command needs to point somewhere else. Any help is greatly appreciated.
luismoondo
 
Posts: 2
Joined: Sun Aug 20, 2017 6:36 pm

Re: Unable to use "make" in Raspberry PI

Postby graysky » Sun Aug 20, 2017 7:23 pm

Without seeing the Makefile I dunno... did you install the corresponding header package and base-devel? Why wouldn't you just build the AUR package?

https://aur.archlinux.org/packages/rtl8723bu-git/
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Unable to use "make" in Raspberry PI

Postby luismoondo » Sun Aug 20, 2017 8:13 pm

I solved the issue. I previously installed the base-devel package.
$this->bbcode_second_pass_code('', '
[alarm@alarmpi rtl8723bu]$ sudo pacman -S base-devel
')

To solve it I upgraded linux and linux headers with the following commands:

$this->bbcode_second_pass_code('', '
pacman -Syy
pacman -S linux
reboot
pacman -S linux-headers
')

Now I see the usb dongle successfully:
$this->bbcode_second_pass_code('', '
[alarm@alarmpi ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether b8:27:eb:8e:c9:ef brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 74:da:38:c7:83:f4 brd ff:ff:ff:ff:ff:ff
4: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 76:da:38:c7:83:f4 brd ff:ff:ff:ff:ff:ff
')

Two wlan adapters are found after the reboot.
https://edimax.freshdesk.com/support/so ... spberry-pi
luismoondo
 
Posts: 2
Joined: Sun Aug 20, 2017 6:36 pm

Re: Unable to use "make" in Raspberry PI

Postby graysky » Sun Aug 20, 2017 8:56 pm

You were likely just missing the headers package. In any case, you should use the PKGBUILD and let pacman handle and track all the files built. Pacman is Arch.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to User Questions

Who is online

Users browsing this forum: No registered users and 6 guests