LinuxQuestions.org
Visit Jeremy's Blog.
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 04-07-2013, 08:27 PM   #1
RJA_01
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Rep: Reputation: Disabled
Talking compat-wireless /sbin/modprobe: invalid option -- 'l'


hello,

i'm trying to compile patched driver modules using compat-wireless on slackware-current; however i am getting this error:
----------------------------------------------------------------------
root@darkmoon:/usr/src/compat-wireless-3.1.1-1# make
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
make -C /lib/modules/3.8.4-smp/build M=/usr/src/compat-wireless-3.1.1-1 modules
make[1]: Entering directory `/usr/src/linux-3.8.4'
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
CC [M] /usr/src/compat-wireless-3.1.1-1/compat/main.o
In file included from include/linux/mm.h:8:0,...etc...
--------------------------------------------------------------------

I have successfully managed to do this on backtrack by installing
linux headers and src but i'm not really sure how to install headers and src on slackware...

Help would be greatly appreciated.

sorry if this is vague....i'm a brand noobian.
 
Old 04-08-2013, 03:09 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,383

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Looks like a typo which is spilling a warning.

Somebody has /sbin/modprobe -I whereas the correct form is /sbin/modprobe -i
In program options, that actually matters.

When compiling, you may get warnings and errors

Warnings is the compiler wagging a finger.
Error are show stoppers.

Ignore it. It carried on, so it's a warning.

In slackware, all packages are lower case, and in /var/log/packages. So this commend
Quote:
ls /var/log/packages/kernel*
will show you if the kernel headers are installed. Your compile dies very quick if they are not, as a rule.
 
1 members found this post helpful.
Old 04-08-2013, 08:20 PM   #3
RJA_01
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
thank you for replying!


i w ill absorb this and ponder...

mr. newb
 
Old 04-09-2013, 01:08 PM   #4
bormant
Member
 
Registered: Jan 2008
Posts: 100

Rep: Reputation: 47
modprobe comes now from kmod package and doesn't support -l (lower case L) option -- recursive list of modules in /usr/lib/modules/$(uname -r)/. It can be replaced with find plus some grep/awk/sed/cut magic.
 
1 members found this post helpful.
Old 04-10-2013, 10:28 AM   #5
RJA_01
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you bormant.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware 12.2 /sbin/dhcpcd: invalid option R due to DHCP_KEEPRESOLV[x]="yes" rhermsen Slackware 2 07-19-2009 12:06 PM
/sbin/modprobe hates my NIC jamwaffles Linux - Hardware 4 04-09-2009 12:39 PM
'/sbin/modprobe' abnormal exit ShadowHywind Linux - General 4 08-20-2008 02:54 PM
Failed to exec /sbin/modprobe scrawper Slackware 3 10-25-2004 05:05 AM
help with /sbin/modprobe tulip enzo250gto Slackware 3 09-05-2002 05:16 PM


All times are GMT -5. The time now is 06:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration