[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux-wlan-ng driver



Baan Zoltan <banan@hirosima.martos.bme.hu> writes:
> Has anyone ever tried to compile linux-wlan-ng driver for wireless cards
> with the 'fakeroot debian/rules binary' method? 
> Because i've decided to do it, but i run into some trouble with it.
>
> Any help you can offer is great.

Knowing very little about linux-wlan-ng (but speaking as the
lm-sensors maintainer), that's almost certainly the wrong thing to
do.  The various modules-source packages are designed to be used in
combination with kernel-package, and by and large work with the
conventions described in
/usr/share/doc/kernel-package/README.modules.  If you really insist on
doing things by hand, a close-to-correct invocation is going to look
like

  fakeroot debian/rules kdist-image KVERS=2.4.18 \
    KSRC=/usr/src/linux APPEND_TO_VERSION=-686

Reading /usr/share/doc/linux-wlan-ng/README.Debian, there is no
supported 'fakeroot debian/rules binary' method to build it.  Getting
the source (as suggested in README.Debian) and running 'debian/rules
binary' will probably successfully build the user-space utilities but
not the kernel modules, which isn't what you want at all.

Kernel modules are subtle beasts.  It kind of sucks that there's not a
convenient magic automated way for every possible pair of (kernel,
module source) to get built, but there isn't.  The most-supported way
to build extra kernel modules is using kernel-package; if you're going
to stray from this route, *read the package's documentation* before
blindly poking at things.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: