* PCMCIA WOES :-(
@ 1996-12-29 22:31 Alan
0 siblings, 0 replies; 2+ messages in thread
From: Alan @ 1996-12-29 22:31 UTC (permalink / raw)
Hi,
I have read the faq and the mail archives concerning setting pcmcia
services and applied all the correct patches from the mail group.
Still can't it get running :-(.
make config shows the following configuration, and I also setup the
configuration manually.
Kernel configuration options:
PCI BIOS support is enabled.
Advanced Power Management (APM) support is disabled.
SCSI support is enabled.
Networking support is enabled.
IPv6 support is disabled.
IPv6 module support is disabled.
Radio network interface support is disabled.
Module version checking is disabled.
PCMCIA IDE device support is disabled.
Token Ring device support is disabled.
DEC Alpha UDB target platform is enabled.
I got a lot of errors, but then removed the line <sys/types.h> in the
tcic.c and i82365.c, according to the old e-mail messages and things
started settling down.
* I started getting the following errors
cs.c: In function `reset_card':
cs.c:1686: warning: cast to pointer from integer of different size
cs.c: In function `report_error':
cs.c:1855: warning: cast from pointer to integer of different size
cs.c:1855: warning: cast from pointer to integer of different size
* These errors were okay according to the email messages I read in the
archives so I was not sweating it at all.
* However, the following message was different and the end result was
the ds module would not load. The message was ->
ds.c:617: warning: implicit declaration of function `get_user'
* Below in the complete function the end result is this module will
not load!
gcc -O2 -Wall -Wstrict-prototypes -Winline -pipe -D__KERNEL__ -DMODULE -I../include -I/usr/src/linux/include -I/usr/src/linux -c ds.c -o ds.o
ds.c:109: warning: initialization from incompatible pointer type
ds.c:110: warning: initialization from incompatible pointer type
ds.c: In function `cs_error':
ds.c:138: warning: cast to pointer from integer of different size
ds.c:138: warning: cast to pointer from integer of different size
ds.c: In function `ds_write':
ds.c:617: warning: implicit declaration of function `get_user'
* Here is the error I get after trying to load the "ds" module. I
stripped the module according to the e-mail messages with strip -x
module. Also not stripping the module got the same results.
> insmod ds
./ds.o: In function `ds_write':
ds.c(.text+0xf7c): undefined reference to `get_user'
ds.c(.text+0xf80): undefined reference to `get_user'
/usr/tmp/ds1432: No such file or directory
I took a close look at the function get_user that is defined in
<include/pcmcia/k_compat.h>, and in <asm/segment.h>. It looks like a
simple macro definition but for some reason gcc wants to make it a
function. HELP. I have tried many different things but the same
result. So close but so far away.
I'm using a noname kernel 2.0.18 and have tried pcmcia package 2.9.1,
2.9.0, and 2.8.23.
Thanks, and
Thanks for reading this post is nothing else.
Alan
********************
Alan P. Kennedy, Sr.
apkenned@nc5.infi.net
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: PCMCIA WOES :-(
@ 1997-01-02 16:34 Paul Stewart
0 siblings, 0 replies; 2+ messages in thread
From: Paul Stewart @ 1997-01-02 16:34 UTC (permalink / raw)
In message <199612292231.QAA01453@alpha.deerrun.lnet>, "Alan P. Kennedy, Sr" wr
ites:
>> insmod ds
>./ds.o: In function `ds_write':
>ds.c(.text+0xf7c): undefined reference to `get_user'
>ds.c(.text+0xf80): undefined reference to `get_user'
>/usr/tmp/ds1432: No such file or directory
My only question is why you're trying to insmod ds by itself. Have you
tried the normal pcmcia scripts that come with the distribution? It should
load pcmcia_core.o first which may have that function. I can't give you a
definitive answer on that since my UDB is in a box right now. Perhaps
someone else might want to confirm this..
--
Paul
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-01-02 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-29 22:31 PCMCIA WOES :-( Alan
-- strict thread matches above, loose matches on Subject: below --
1997-01-02 16:34 Paul Stewart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox