From: Don Munroe <don@ips.ca>
Subject: Re: Redhat 4.0 - Kernel Modules - PCMCIA
Date: Sat, 14 Dec 1996 19:22:15 -0400 [thread overview]
Message-ID: <d96f3a952c02cf7b701e063e324886c5.axp-list@archive.invalid> (raw)
On 14 Dec 96, Andreas Johansson <ajo@wopr.campus.luth.se> wrote:
> On Sat, 14 Dec 1996, Don Munroe wrote:
>
> > There are a few warnings like...
> > <warning: cast to pointer from integer of different size>
> > but I think I read on this list that this is not serious (is this
> > true?)
>
> Most of those are harmless, yes. But if you get any problems with the
> module once it's installed you should look those warnings up and see if
> they make any 32 bit assumptions.
How do you fix 32-bit assumptions? (I'm new to this...)
Anywhere you can point me? Is there an ALPHA porting FAQ?
> > After commanding <insmod pcmcia_core.o> I get:
> > insmod: module is xxxxx bytes long (expected xxxxx)
> > insmod: forgot to specify -dc when linking pcmcia_core.o?
> >
> > Do I have a problem with kernel modules in general, the pcmica
> > package, or both?
>
> Modules in general. There are to my knowledge two ways to get around this.
> 1) Do a
> strip -x pcmcia_core.o
> on your compiled module. This makes insmod accept it.
---> Great!! This fixed the problem!! Modules are now loading!!
> 2) Recompile insmod and remove the check which produces this
> error-message. This seems to work well for me atleast.
> The source for insmod is available at
> http://ftp.azstarnet.com/pub/linux/axp/sys/insmod-bfd-0.2.tar.gz
> Here is a patch for removing the check:
> (apply with patch -p0 < patchfile in the insmod-bfd-0.2 directory)
I'll try this patch later -- Thanks!!!
Thanks for the help!!!
--Don
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1996-12-14 23:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-14 23:22 Don Munroe [this message]
[not found] <199612142321.TAA28842@M3.ips.ca>
1996-12-16 12:36 ` Redhat 4.0 - Kernel Modules - PCMCIA Jim Nance
-- strict thread matches above, loose matches on Subject: below --
1996-12-14 22:06 Don Munroe
1996-12-14 22:43 ` Andreas Johansson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox