Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 21 Sep 2018, 21:46
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
MAKE error compiling driver for wireless device
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
dfw55

Joined: 24 Jun 2013
Posts: 10

PostPosted: Thu 22 Feb 2018, 15:05    Post subject:  MAKE error compiling driver for wireless device  

This is the first time I have ever tried to compile a driver.

This is the line in the install script...

make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.14.55/build M=/root/my-documents/RTL8188 8192EUS_linux_v4.3.0.4_11485.20140519/driver/rtl8188EUS_linux_v4.3.0.4_11485.20140519 modules

...and this is the error message that I get

make: *** /lib/modules/3.14.55/build: No such file or directory. Stop.

Running on Slacko 6.3.2

Creating a driver for Hornettek HT-WN300A.

I checked the Hornettek website, but it is currently down.
Back to top
View user's profile Send private message 
matchpoint

Joined: 26 Jan 2018
Posts: 169

PostPosted: Thu 22 Feb 2018, 15:25    Post subject:  

Heya dfw55, is Slackos`devx and kernel src loaded?

The "build" directory you've got to create.

Use PupScan in the system menu to tell us the "Vendor:Product" ID of your card.
Back to top
View user's profile Send private message 
dfw55

Joined: 24 Jun 2013
Posts: 10

PostPosted: Thu 22 Feb 2018, 16:06    Post subject:  

devx_slacko_6.3.2.sfs is loaded

"build" directory has been created

Manufacturer=Realtek
Product=802.11n NIC
SerialNumber=000F002C0C45
VendorID=0bda ProductID=818b KERNEL-DRIVER(builtin)=(none)
Back to top
View user's profile Send private message 
matchpoint

Joined: 26 Jan 2018
Posts: 169

PostPosted: Thu 22 Feb 2018, 16:13    Post subject:  

You need the kernel source any time you're compiling a driver. Is that loaded?
Back to top
View user's profile Send private message 
dfw55

Joined: 24 Jun 2013
Posts: 10

PostPosted: Thu 22 Feb 2018, 16:24    Post subject:  

Where do I get the kernel source?
Back to top
View user's profile Send private message 
matchpoint

Joined: 26 Jan 2018
Posts: 169

PostPosted: Thu 22 Feb 2018, 16:34    Post subject:  

If there's no SFS_Manager in the menu, get the correct src here.

If you're noPAE, this one.

https://wikidevi.com/wiki/Realtek says you need the RTL8192EU driver.

As it has the latest commit, I think you need this rtl8192eu-linux-driver package.

Green bar on the right, you want the zip.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13011
Location: Arizona USA

PostPosted: Thu 22 Feb 2018, 19:36    Post subject:  

Ah, I think drivers are compiled for a specific kernel. That is, drivers compiled for one kernel (probably) won't work with a different kernel.
Back to top
View user's profile Send private message 
dfw55

Joined: 24 Jun 2013
Posts: 10

PostPosted: Fri 23 Feb 2018, 02:19    Post subject:  

OK.

I've made it past the previous error at the "make ARCH..." line.

Here's the new error message:


make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.14.55/build M=/initrd/mnt/dev_save/wifi_adapter/RTL8188 8192EUS_linux_v4.3.0.4_11485.20140519/driver/rtl8188EUS_linux_v4.3.0.4_11485.20140519 modules
make[1]: Entering directory `/usr/src/linux'
make[1]: *** No rule to make target `8192EUS_linux_v4.3.0.4_11485.20140519/driver/rtl8188EUS_linux_v4.3.0.4_11485.20140519'. Stop.
make[1]: Leaving directory `/usr/src/linux'
make: *** [modules] Error 2
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11017
Location: Charleston S.C. USA

PostPosted: Fri 23 Feb 2018, 03:48    Post subject:  

This fdrv sfs package has more firmware for Slacko 6.3.2

It may have what is needed already compiled and ready to use.

This is the fdrv sfs file.
Download this:
http://distro.ibiblio.org/puppylinux/pet_packages-slacko14.2/fdrv_4.1.11_slacko_PAE.sfs

This is for Slacko 6.3.2 using Linux kernel 4.1.11
Check in menu>System>Pup-Sysinfo>Sys-specs>kernel to see if that is the kernel you are using.

I hope you have Slacko 6.3.2 as a frugal install with all the files in a directory(folder) usually named slacko632uefi.
Place the fdrv sfs in this directory with the other Slacko sfs files.
Reboot to get it loaded.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
dfw55

Joined: 24 Jun 2013
Posts: 10

PostPosted: Fri 23 Feb 2018, 17:42    Post subject:  

I checked, and my kernel is 3.14.55.

I just downloaded and created my frugal Slacko 6.3.2 a few days ago, so I assumed it had all of the latest stuff.

Looking around for how to update the kernel, and it doesn't look easy.

Since I'm just trying to create a new system, and I am more than willing to start again from scratch, where would I find the newest Slacko that already has kernel 4.1.11 (or newer)?
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11017
Location: Charleston S.C. USA

PostPosted: Sat 24 Feb 2018, 01:09    Post subject:  

Sorry for the misinformation.

Found this info for the Realtek RTL8192EU chipset
http://www.murga-linux.com/puppy/viewtopic.php?t=110812
Seems by this info you need the 4.9.13 kernel.
It tells you how to change the kernel and where to get a new one to use.
I assume you are using the 32bit version of Slacko 6.3.2. Make sure you get the 32bit kernel.
Slacko may already have change_kernels program. So, try entering it in a console to see what happens.

rcrsn51 actually made some pet packages to install the needed module/driver to different Puppies. however, the download seems to be dead.
That would be the easy fix.

Wifi just seems to be a constant moving target providing the needed support.

Unless you are stuck on using Slacko.
Xenialpup 7.5 is a good option to try.

There is this info on compiling the driver.
http://www.murga-linux.com/puppy/viewtopic.php?t=110162

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
dfw55

Joined: 24 Jun 2013
Posts: 10

PostPosted: Sun 25 Feb 2018, 18:51    Post subject:  

My problem was resolved by perdido providing me an alternate site to download the pet that was recommended by bigpup. See the following post for the download site:

http://www.murga-linux.com/puppy/viewtopic.php?t=110812

This was the easy fix, because it did not require me to compile the driver, and I did not have to change the kernel.

So, while my problem with compiling the driver has still not been resolved, I now no longer need to compile this driver.

My thanks to all of you who responded to this thread.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0844s ][ Queries: 11 (0.0113s) ][ GZIP on ]