Unable to compile modules on 2007 - Mandriva
This is a discussion on Unable to compile modules on 2007 - Mandriva ; I have been trying to compile some modules-- alsa, madwifi, and in each
case they complain about not being able to find Modules.symvars and shortly
thereafter they crash.
In the case of madwifi, I get
.....
make -C /lib/modules/2.6.17-14mdv/build
SUBDIRS=/usr/local/src/madwifi/net80211 ...
-
Unable to compile modules on 2007
I have been trying to compile some modules-- alsa, madwifi, and in each
case they complain about not being able to find Modules.symvars and shortly
thereafter they crash.
In the case of madwifi, I get
.....
make -C /lib/modules/2.6.17-14mdv/build
SUBDIRS=/usr/local/src/madwifi/net80211 modules
make[2]: Entering directory `/usr/src/linux-2.6.17-14mdv'
WARNING: Symbol version dump /usr/src/linux-2.6.17-14mdv/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /usr/local/src/madwifi/net80211/test_ccmp.o
/usr/local/src/madwifi/net80211/test_ccmp.c:689: error: expected ')' before
string constant
/usr/local/src/madwifi/net80211/test_ccmp.c:693: error: expected ')' before
string constant
.....
It seems that these errors are because MODULE_PARM( ) is not defined or not
properly defined. I do not know if this is because of the missing
Module.symvers or something else (I cannot figure out where MODULE_PARM is
defined at all.)
(The first line it complains of is
static int tests = -1;
MODULE_PARM(tests, "i");
)
Clearly something is wrong. Am I doing somethng stupid, or is Mandriva
really set up to disallow you from compiling modules?
-
Re: Unable to compile modules on 2007
On Sat, 18 Aug 2007 03:35:59 -0400, Unruh wrote:
> ....
> make -C /lib/modules/2.6.17-14mdv/build
> SUBDIRS=/usr/local/src/madwifi/net80211 modules
> make[2]: Entering directory `/usr/src/linux-2.6.17-14mdv'
>
> WARNING: Symbol version dump /usr/src/linux-2.6.17-14mdv/Module.symvers
> is missing; modules will have no dependencies and modversions.
That warning message is normal. Ignore it.
Try running "cd /usr/src/linux-2.6.17-14mdv;make modules".
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
-
Re: Unable to compile modules on 2007
"David W. Hodgins" writes:
>On Sat, 18 Aug 2007 03:35:59 -0400, Unruh wr=
>ote:
>> ....
>> make -C /lib/modules/2.6.17-14mdv/build
>> SUBDIRS=3D/usr/local/src/madwifi/net80211 modules
>> make[2]: Entering directory `/usr/src/linux-2.6.17-14mdv'
>>
>> WARNING: Symbol version dump /usr/src/linux-2.6.17-14mdv/Module.symv=
>ers
>> is missing; modules will have no dependencies and modversio=
>ns.
>That warning message is normal. Ignore it.
>Try running "cd /usr/src/linux-2.6.17-14mdv;make modules".
I do not want to make all of the modules in teh kernel. I just want to make
a few.
>Regards, Dave Hodgins
>-- =
>Change nomail.afraid.org to ody.ca to reply by email.
>(nomail.afraid.org has been set up specifically for
>use in usenet. Feel free to use it yourself.)
-
Re: Unable to compile modules on 2007
On Sat, 18 Aug 2007 18:53:38 -0400, Unruh wrote:
>> Try running "cd /usr/src/linux-2.6.17-14mdv;make modules".
>
> I do not want to make all of the modules in teh kernel. I just want to make
> a few.
Except for compiling all of the modules, when I compiled a custom kernel,
I only use 2 modules, that I compile, that are not part of the distributed
kernel source. A quickcam replacement for my webcam, and Intel536 for my
modem.
In both cases, the tarball is extracted to a directory under my userid.
I then compile the module using ./configure, make, and make install, and
then run depmod, or a script provided with the module, that does the
equivalent.
You cannot use the makefile that's meant to compile all of the modules,
to just compile one module. You need a makefile, for that module,
which is usually provided with the source.
Can you provide the download link, for one of the modules you're trying
to compile? I'll see if I can figure out exactly the steps that need
to be done.
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)