LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   compat-wireless /sbin/modprobe: invalid option -- 'l' (http://www.linuxquestions.org/questions/slackware-14/compat-wireless-sbin-modprobe-invalid-option-l-4175457290/)

RJA_01 04-07-2013 09:27 PM

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.

business_kid 04-08-2013 04:09 PM

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.

RJA_01 04-08-2013 09:20 PM

thank you for replying!


i w ill absorb this and ponder...

mr. newb

bormant 04-09-2013 02:08 PM

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.

RJA_01 04-10-2013 11:28 AM

Thank you bormant.


All times are GMT -5. The time now is 08:29 PM.