Re: problem compiling pcmcia with 2.4.20 kernel (testing distribution)
Hi,
Sounds like you manually configured your kernel to produce
a module which also is in pcmcia-modules-2.4.20. Dpkg doens't
know what to do with it. You could try to switch off your serial
port in your kernel configuration. (I think that produces the file
serial_cs.o)
This url tells me the file isn't in the stock 2.4.20 kernel.
http://packages.debian.org/cgi-bin/search_contents.pl?word=serial_cs.o&searchmode=searchfiles&case=insensitive&version=testing&arch=i386
Btw, I usually download a stock kernel and use the configuration file
from that as a starting point for custom compilation. You can load
files like that after you do make menuconfig or equivalent.
You can retrieve the config file from the .deb with a tool like mc to
examine what is in the kernel-image<more text>.deb
The config file can then be loaded if you select load and type the right file.
Something like /boot/config-2.4.20 needs to be copied out of the .deb and loaded
as kernel config.
Hope this helps a bit.
Cheers,
Remco.
On Fri, 4 Jul 2003 15:01:41 +0100 (BST)
"Naomi Ridge" <naomi_ridge@yahoo.co.uk> wrote:
>
> Hi,
>
> thanks for the fixes. Using GCC 3.2 solved the problem
> with the compilation. However I am now encountering
> problems when I try to install the modules:
>
> dpkg -i
> pcmcia-modules-2.4.20_3.1.33-6woody1+custom.1.2_i386.deb
> (Reading database ... 61989 files and directories
> currently installed.)
> Unpacking pcmcia-modules-2.4.20 (from
> pcmcia-modules-2.4.20_3.1.33-6woody1+custom.1.2_i386.deb)
> ...
> dpkg: error processing
> pcmcia-modules-2.4.20_3.1.33-6woody1+custom.1.2_i386.deb
> (--install):
> trying to overwrite
> `/lib/modules/2.4.20/pcmcia/serial_cs.o', which is
> also in package kernel-image-2.4.20
> dpkg-deb: subprocess paste killed by signal (Broken
> pipe)
> Errors were encountered while processing:
>
> pcmcia-modules-2.4.20_3.1.33-6woody1+custom.1.2_i386.deb
>
> Further suggestions would be appreciated.
>
> Thanks,
>
> Naomi.
>
>
> --- Shawn Clark <sc@mtxnet.com> wrote: > Date: Fri, 4
> Jul 2003 01:21:14 -0700 (PDT)
>
> > see bug #194422[pcmcia-source] for details and fix.
> >
> > --sc.
> >
> > > Hi,
> > >
> > > I am not sure if this is the cause of your
> > problem, but the new gcc-3.3
> > > in debian testing/unstable is known to have
> > problems with compiling
> > > kernels
> > > older than 2.4.21. Maybe modules too. Your gcc
> > might have been upgraded
> > > after
> > > you succesfully compiled your 2.4.20 kernel.
> > >
> > > Maybe someone can conform this would lead to such
> > errors.
> > >
> > > You could try to compile with gcc-3.2 or try the
> > 2.4.21 kernel (with
> > > modules)
> > >
> > > Cheers,
> > > Remco.
>
>
> __________________________________________________
> Yahoo! Plus - For a better Internet experience
> http://uk.promotions.yahoo.com/yplus/yoffer.html
>
>
> --
> To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: