Re: Error compiling PCMCIA modules
On Thu, 2 Dec 1999, Sebastien Kalt wrote:
> I'm trying to compile the PCMCIA modules the Debian way.
> When I use the pcmcia-source provided with the Slink distribution it works.
> When i want to compile another version (3.0.9 from the
> pcmcia-cs-3.0.9.tar.gz archive), if i put the directory in
> /usr/src/modules/pcmcia-cs or if i just make a link from that dir, i always
> have the following error (after running 'make config' in the 'pcmcia-cs' dir):
[...] (usually, one tries to include error messages in english, as some
people out there may not know a word of french...)
> My /usr/src/linux/debian/rules file exists. It occurs with 2.0.36 and
> 2.2.13 kernel source.
Well, seems like you are trying to build a kernel package (that is,
standard kernel+modules). I do not remember well how this is done
properly, but what I'm sure, is that it is not the proper way to build the
pcmcia-cs package. They are different.
For the pcmcia-cs, I simply got the sources of the package
(dsc+orig.tar.gz) included in Slink, and unpacked them in /usr/src/modules
(which seems to be the right directory for this), with command
dpkg-source -x (....)/pcmcia*.dsc
(This creates a directory where you launched the command.)
Then I applied a patch (or several, if I remember well, there were
several minors to go up from) to go from that version to the new one.
Next, I CD'ed to the directory, updated debian/changelog (where version
information seems to be stored) adding a new section at the top, and
dpkg-buildpackage -us -uc -b
(-us and -uc mean that I didn't want dpkg-buildpackage to sign the debs)
This command runned ok, and there it was, I got the ../pcmcia_cs*.deb
built up-to-date. I then just had to "dpkg -i" them.
Hope this helps.
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com