![]() Registered Member ![]()
|
Hey,
I bought me a new WIFI USB Adapter the dootoper AC1200 which use the RTL88x2B according to the driver documentation. When I try compile the driver for installing it I get the error cc1: error: code model kernel does not support PIC mode. How can I solve this problem? |
![]() ![]()
|
First of all:
Plug your device in. Then use: $ ubuntu-drivers --help Did You do this? |
![]() Registered Member ![]()
|
No, I didn't. What does that? |
![]() ![]()
|
It installs the driver from Ubuntu,
if one exists. --- If You don't know what PIC (position independent code) as a compile-option does, and whether Your kernel supports it and if yes, how it does, then: Please ask at the Ubuntu-Forum. They provide KDE neon's kernels and drivers. --- But, if this doesn't satisfy You, say so. |
![]() Registered Member ![]()
|
Okay just try it with ubuntu-drivers and it didn't work. So how exactly do I compile and install the driver? |
![]() ![]()
|
I don't know.
The last Linux-kernel, I compiled was over 15 years ago. The last kernel I compiled myself, was a BSD-kernel. Also, many years ago. --- Follow my hint and go to the Ubuntu-forums. And provide necessary details: Where did You download the driver-source? Give full location! Did You follow the compile-instructions of the driver's included README files? Etc. |
![]() ![]()
|
And don't forget to provide hardware info.
Like this:
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]