You are not logged in.

#1 2017-02-22 18:21:24

Zazzman
Member
Registered: 2011-12-26
Posts: 34

Third Party Driver compilation fails. Not even sure where to find logs

I'm not even quite sure what I'm looking for in /var/log, so I'm kinda lost.

I'm compiling this package: http://download.alfa.com.tw/index.php/s … H/download
with the install.sh script inside the root folder.

When we get to the "debug" section of the driver, the following error pops up 6 times:

error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]

but half of the time, "__DATE__" is replaced with "__TIME__"

there's also this notice:

cc1: some warnings being treated as errors

Any suggestions?

Last edited by Zazzman (2017-02-22 18:48:44)

Offline

#2 2017-02-22 18:41:32

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Third Party Driver compilation fails. Not even sure where to find logs

Why are you trying to build the driver manually?
Have you worked through Wireless_network_configuration#Check_the_driver_status first?

Offline

#3 2017-02-22 18:50:41

Zazzman
Member
Registered: 2011-12-26
Posts: 34

Re: Third Party Driver compilation fails. Not even sure where to find logs

Uhm... brand new usb wifi adapter. The driver isn't in the kernel yet. It is NOT on the list of supported devices.

But the manufacturer has this installer for linux drivers.

Last edited by Zazzman (2017-02-22 18:52:24)

Offline

#4 2017-02-22 19:00:31

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Third Party Driver compilation fails. Not even sure where to find logs

Without checking the vid:pid against https://wikidevi.com/wiki/List_of_Wi-Fi … s_in_Linux?
If it has no supported driver on that list and there was no package in AUR I would suggest you create a PKGBUILD for the driver to prevent files being untracked by pacman.
Edit:
With this horribly thrown together PKGBUILD the build progresses a bit further unfortunately it appears the driver is not compatible with at least 4.9 without patching

# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name <youremail@domain.com>
pkgname=rtl8814AU
pkgver=1
pkgrel=1
pkgdesc=""
arch=(x86_64)
url=""
license=('unknown')
depends=('linux-headers')
source=("AWUS1900_Linux_v4.3.21_17997.20160531.zip::http://download.alfa.com.tw/index.php/s/ni6gM3bDf7FxWYH/download")
sha256sums=('951a6b6a7c1d5235342169c4effa258865f90ea1bf1d9a24718804e89d7a9c74')

prepare() {
	bsdtar -xf AWUS1900_Linux_v4.3.21_17997.20160531/driver/rtl8814AU_linux_v4.3.21_17997.20160531.tar.gz
	cd rtl8814AU_linux_v4.3.21_17997.20160531
	sed -ie 's/#EXTRA_CFLAGS += -Wno-error=date-time/EXTRA_CFLAGS += -Wno-error=date-time/' Makefile
}

build() {
	cd rtl8814AU_linux_v4.3.21_17997.20160531
	make
}

package() {
	cd rtl8814AU_linux_v4.3.21_17997.20160531
	make DESTDIR="$pkgdir/" install
}

Last edited by loqs (2017-02-22 20:13:25)

Offline

Board footer

Powered by FluxBB