From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5e726f3d9eb217ade21ce0d329e88c7d.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199612292231.QAA01453@alpha.deerrun.lnet> Date: Sun, 29 Dec 1996 16:31:19 -0600 From: Alan P. Kennedy, Sr Subject: PCMCIA WOES :-( 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 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 , and in . 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