You are not logged in.

#1 2024-02-20 00:47:30

mptito
Member
Registered: 2024-02-15
Posts: 6

help with building with make

HI, Im relatively new to arch and i need some help.

so for example im trying to install new drivers for mediatek mt7610u which i got here
https://github.com/sohaib17/mt7610u

so affter running the make command, i get
make -C tools
make[1]: Entering directory '/home/max/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/mt7610u/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/max/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/mt7610u/tools'
/home/max/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/mt7610u/tools/bin2h
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/max/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/mt7610u/os/linux/Makefile
make -C  SUBDIRS=/home/max/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/mt7610u/os/linux modules
make[1]: Entering directory '/home/max/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/mt7610u'
make[1]: *** SUBDIRS=/home/max/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/mt7610u/os/linux: No such file or directory.  Stop.
make[1]: Leaving directory '/home/max/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/mt7610u'
make: *** [Makefile:394: LINUX] Error 2


and when i dont get that i get that no such file as arch/arm/kcrypto or that antoconf.h doesnt exist

uname -a = Linux laptop 6.7.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 17 Feb 2024 14:02:33 +0000 x86_64 GNU/Linux


sudo pacman -Qikk linux-headers
[sudo] password for max:
Name            : linux-headers
Version         : 6.7.5.arch1-1
Description     : Headers and scripts for building modules for the Linux kernel
Architecture    : x86_64
URL             : https://github.com/archlinux/linux
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : pahole
Optional Deps   : None
Required By     : arptools
Optional For    : chipsec  dkms  eresi  pcileech  python2-pysctp  scamper  sylkie
Conflicts With  : None
Replaces        : None
Installed Size  : 124.72 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Sat 17 Feb 2024 09:02:33 AM
Install Date    : Mon 19 Feb 2024 07:38:48 PM
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : SHA-256 Sum

linux-headers: 19817 total files, 0 altered files


what should i do

Last edited by mptito (2024-02-20 00:48:27)

Offline

#2 2024-02-20 01:25:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: help with building with make

Why are you trying to build it manually?  Use one of the AUR packages:
https://aur.archlinux.org/packages?K=mt7610u

EDIT: though I'm not sure any of this would work.  You realize those "new" drivers you linked to are over 9 years old, right?

EDIT 2: isn't coverage for this now included in the kernel?  There's a mt76x0u kernel module which I gather would be for this chip.

Last edited by Trilby (2024-02-20 01:29:45)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-02-20 12:04:38

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,091

Re: help with building with make


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB