Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-07-2013, 09:27 PM   #1
LQ Newbie
Registered: Apr 2013
Posts: 3

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


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, 04:09 PM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,710

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
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
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, 09:20 PM   #3
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, 02:08 PM   #4
Registered: Jan 2008
Posts: 278

Rep: Reputation: 156Reputation: 156
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, 11:28 AM   #5
LQ Newbie
Registered: Apr 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you bormant.


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 01:06 PM
/sbin/modprobe hates my NIC jamwaffles Linux - Hardware 4 04-09-2009 01:39 PM
'/sbin/modprobe' abnormal exit ShadowHywind Linux - General 4 08-20-2008 03:54 PM
Failed to exec /sbin/modprobe scrawper Slackware 3 10-25-2004 06:05 AM
help with /sbin/modprobe tulip enzo250gto Slackware 3 09-05-2002 06:16 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:59 PM.

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