LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-26-2023, 09:00 AM   #1
Bbmr
LQ Newbie
 
Registered: Mar 2023
Distribution: Debian
Posts: 22

Rep: Reputation: 0
Problem compiling TP-LINK USB adaptator driver


Hello,
I tried to compile TP-LINK USB wireless adaptator driver's source, but I got several errors (for instance incomplete types or "cfg80211.h" not found).
I suppose it is caused by my Slackware and gcc version choice:

Slackware version 12.0
Linux kernel version 2.6
gcc version 4.1.2

It it the case ? If yes, how can I find a version of the driver with this software ?
 
Old 03-26-2023, 09:46 AM   #2
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 337

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
cfg80211.h got introduced in kernel 2.6.22 in the year 2007.
I'm afraid you need a more recent operating system in order to get it working.
 
Old 03-26-2023, 09:56 AM   #3
Bbmr
LQ Newbie
 
Registered: Mar 2023
Distribution: Debian
Posts: 22

Original Poster
Rep: Reputation: 0
Can't i just download the file?
 
Old 03-26-2023, 10:12 AM   #4
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,018

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
Most likely you will need to upgrade the entire kernel. The easiest way to do that is probably to install a newer version of Slackware.

If you really need your old Slackware 12.0 installation for something you might be able to create a disk image of your current installation and keep it alive in some virtual environment like qemu.

If your old Slackware 12.0 installation needs access to some hardware and not possible to virtualize, you might be able to compile some old version of qemu which works on Slackware 12, install a newer version of Slackware within a virtual machine running on Slackware 12.0. Give the virtual machine access to the USB device and make the virtual machine a router for your Slackware 12.0 machine.

However, it really seem better to upgrade to a version of Slackware that has not been End Of Life for more than 10 years. From https://mirrors.slackware.com/slackw.../ChangeLog.txt :

Code:
####################################################################
# NOTICE OF INPENDING EOL (END OF LIFE) FOR OLD SLACKWARE VERSIONS #
#                                                                  #
# Effective August 1, 2012, security patches will no longer be     #
# provided for the following versions of Slackware (which will all #
# be more than 5 years old at that time):                          #
# Slackware 8.1, 9.0, 9.1, 10.0, 10.1, 10.2, 11.0, 12.0.           #
# If you are still running these versions you should consider      #
# migrating to a newer version (preferably as recent as possible). #
# Alternately, you may make arrangements to handle your own        #
# security patches.  If for some reason you are unable to upgrade  #
# or handle your own security patches, limited security support    #
# may be available for a fee.  Inquire at security@slackware.com.  #
####################################################################
regards Henrik
 
1 members found this post helpful.
Old 03-26-2023, 11:23 AM   #5
Bbmr
LQ Newbie
 
Registered: Mar 2023
Distribution: Debian
Posts: 22

Original Poster
Rep: Reputation: 0
Thanks for your answers.
Shall I take the 13.1 version ?
 
Old 03-26-2023, 12:02 PM   #6
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,944

Rep: Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569
Code:
###################################################################
# NOTICE OF INPENDING EOL (END OF LIFE) FOR OLD SLACKWARE VERSIONS #
#                                                                  #
# Effective July 5, 2018, security patches will no longer be       #
# provided for the following versions of Slackware (which will all #
# be more than 7 years old at that time):                          #
#   Slackware 13.0, Slackware 13.1, Slackware 13.37.               #
# If you are still running these versions you should consider      #
# migrating to a newer version (preferably as recent as possible). #
# Alternately, you may make arrangements to handle your own        #
# security patches.                                                #
####################################################################
14.0, 14.1, and 14.2 still get some security patches, but 15.0 is much better supported.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wired interface not detected until plugged with USB adaptator ninjaconcombre Linux - Networking 6 12-01-2018 01:38 PM
Physical link vs Relative link vs Symbolic link hack3rcon Linux - Newbie 13 01-13-2018 10:48 AM
skge: eth0: Link is up... Link is down... Link is up.... sugar2 Linux - Hardware 5 07-03-2007 03:52 PM
Trouble compiling driver for D-Link DWL-G122 USB wireless DanThomas Linux - Wireless Networking 3 02-02-2007 08:17 AM
vmlinuz.version.h problem compiling D-Link PCI ethernet adapter driver dancin Linux - Networking 2 08-09-2004 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration