[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Compiling pcmcia-package in Cube2



On Wed, 19 Apr 2000, Jarno Lahteenmaki wrote:

> 
> Have anyone managed to compile pcmcia-package in Cube2?
> 
> I picked up
>  
> 	ftp://sourceforge.org/pcmcia/pcmcia-cs-3.1.14.tar.gz 
> 
> and  gunzipped and untarred it. I picked up  
> 
> 	kernel-headers-2.0.34C52_SK-2.mips.rpm, 
> 	kernel-source-2.0.34C52_SK-2.mips.rpm and 
> 	kernel-2.0.34C52_SK-2.mips.rpm
> 
> from  ftp://ftp.cobaltnet.com/pub/experimental.
> 
> After installing them I rebooted Cube. 
> Then I started to compile pcmcia-package. 
> Script-session is attached with this mail. 
> 
> What I did wrong? What is missing? Or
> does pcmcia-package even compile in Mips?
> 
> Any hints?

I didn't know that attachments where not allowed, so here is this.

------------------------

Script started on Wed Apr 19 14:45:16 2000
[root@cube pcmcia-cs-3.1.14]# make all

    -------- Linux PCMCIA Configuration Script --------

The default responses for each question are correct for most users.
Consult the PCMCIA-HOWTO for additional info about each option.

Linux source directory [/usr/src/linux]: /usr/src/linux-2.0.34C52_SK

The kernel source tree is version 2.0.34C52_SK.
The current kernel build date is Tue Nov 30 18:14:40 1999.

Alternate target install directory []: 
Build 'trusting' versions of card utilities (y/n) [n]: y
Include 32-bit (CardBus) card support (y/n) [y]: 

The PCMCIA drivers need to be compiled to match the kernel they
will be used with, or some or all of the modules may fail to load.
If you are not sure what to do, please consult the PCMCIA-HOWTO.

How would you like to set kernel-specific options?
    1 - Read from the currently running kernel
    2 - Read from the Linux source tree
Enter option (1-2) [1]: 

Module install directory [/lib/modules/2.0.34C52_SK]: 

Kernel configuration options:
    Symmetric multiprocessing support is disabled.
    PCI BIOS support is enabled.
    Power management (APM) support is disabled.
    SCSI support is enabled.
    Networking support is enabled.
     Radio network interface support is disabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
    Module version checking is enabled.
    PCMCIA IDE device support is disabled.
    /proc filesystem support is enabled.

It doesn't look like you are using 'lilo'.
It looks like you have a System V init file setup.

X Windows include files not installed.
    If you wish to build the 'cardinfo' control panel, you need the Forms
    library and the X Windows include files.  See the HOWTO for details.

Configuration successful.

make[1]: Entering directory
`/home/users/jvlahtee/pcmcia-cs-3.1.14/modules'
cc   -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux-2.0.34C52_SK/include  -D__KERNEL__ -DMODULE -c cs.c
../include/asm/uaccess.h: In function `copy_from_user':
In file included from ../include/pcmcia/k_compat.h:248,
                 from cs.c:35:
../include/asm/uaccess.h:16: warning: implicit declaration of function
`memcpy_fromfs'
../include/asm/uaccess.h: In function `copy_to_user':
../include/asm/uaccess.h:24: warning: implicit declaration of function
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h: At top level:
In file included from ../include/asm/uaccess.h:35,
                 from ../include/pcmcia/k_compat.h:248,
                 from cs.c:35:
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:16: warning: previous implicit declaration of
`memcpy_fromfs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was declared implicitly `extern' and later `static'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:24: warning: previous implicit declaration of
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was declared implicitly `extern' and later `static'
cc   -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux-2.0.34C52_SK/include  -D__KERNEL__ -DMODULE -c cistpl.c
../include/asm/uaccess.h: In function `copy_from_user':
In file included from ../include/pcmcia/k_compat.h:248,
                 from cistpl.c:36:
../include/asm/uaccess.h:16: warning: implicit declaration of function
`memcpy_fromfs'
../include/asm/uaccess.h: In function `copy_to_user':
../include/asm/uaccess.h:24: warning: implicit declaration of function
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h: At top level:
In file included from ../include/asm/uaccess.h:35,
                 from ../include/pcmcia/k_compat.h:248,
                 from cistpl.c:36:
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:16: warning: previous implicit declaration of
`memcpy_fromfs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was declared implicitly `extern' and later `static'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:24: warning: previous implicit declaration of
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was declared implicitly `extern' and later `static'
cc   -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux-2.0.34C52_SK/include  -D__KERNEL__ -DMODULE -c rsrc_mgr.c
../include/asm/uaccess.h: In function `copy_from_user':
In file included from ../include/pcmcia/k_compat.h:248,
                 from rsrc_mgr.c:36:
../include/asm/uaccess.h:16: warning: implicit declaration of function
`memcpy_fromfs'
../include/asm/uaccess.h: In function `copy_to_user':
../include/asm/uaccess.h:24: warning: implicit declaration of function
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h: At top level:
In file included from ../include/asm/uaccess.h:35,
                 from ../include/pcmcia/k_compat.h:248,
                 from rsrc_mgr.c:36:
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:16: warning: previous implicit declaration of
`memcpy_fromfs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was declared implicitly `extern' and later `static'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:24: warning: previous implicit declaration of
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was declared implicitly `extern' and later `static'
cc   -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux-2.0.34C52_SK/include  -D__KERNEL__ -DMODULE -c bulkmem.c
../include/asm/uaccess.h: In function `copy_from_user':
In file included from ../include/pcmcia/k_compat.h:248,
                 from bulkmem.c:36:
../include/asm/uaccess.h:16: warning: implicit declaration of function
`memcpy_fromfs'
../include/asm/uaccess.h: In function `copy_to_user':
../include/asm/uaccess.h:24: warning: implicit declaration of function
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h: At top level:
In file included from ../include/asm/uaccess.h:35,
                 from ../include/pcmcia/k_compat.h:248,
                 from bulkmem.c:36:
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:16: warning: previous implicit declaration of
`memcpy_fromfs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was declared implicitly `extern' and later `static'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:24: warning: previous implicit declaration of
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was declared implicitly `extern' and later `static'
cc   -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux-2.0.34C52_SK/include  -D__KERNEL__ -DMODULE -c cardbus.c
../include/asm/uaccess.h: In function `copy_from_user':
In file included from ../include/pcmcia/k_compat.h:248,
                 from cardbus.c:41:
../include/asm/uaccess.h:16: warning: implicit declaration of function
`memcpy_fromfs'
../include/asm/uaccess.h: In function `copy_to_user':
../include/asm/uaccess.h:24: warning: implicit declaration of function
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h: At top level:
In file included from ../include/asm/uaccess.h:35,
                 from ../include/pcmcia/k_compat.h:248,
                 from cardbus.c:41:
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:16: warning: previous implicit declaration of
`memcpy_fromfs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was declared implicitly `extern' and later `static'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:24: warning: previous implicit declaration of
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was declared implicitly `extern' and later `static'
cc   -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux-2.0.34C52_SK/include  -D__KERNEL__ -DMODULE -c
pci_fixup.c
../include/asm/uaccess.h: In function `copy_from_user':
In file included from ../include/pcmcia/k_compat.h:248,
                 from pci_fixup.c:16:
../include/asm/uaccess.h:16: warning: implicit declaration of function
`memcpy_fromfs'
../include/asm/uaccess.h: In function `copy_to_user':
../include/asm/uaccess.h:24: warning: implicit declaration of function
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h: At top level:
In file included from ../include/asm/uaccess.h:35,
                 from ../include/pcmcia/k_compat.h:248,
                 from pci_fixup.c:16:
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:16: warning: previous implicit declaration of
`memcpy_fromfs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was declared implicitly `extern' and later `static'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:24: warning: previous implicit declaration of
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was declared implicitly `extern' and later `static'
pci_fixup.c:37: warning: `cb_pci_irq' defined but not used
ld -r -o pcmcia_core.o cs.o cistpl.o rsrc_mgr.o bulkmem.o cardbus.o
pci_fixup.o
chmod -x pcmcia_core.o
cc   -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux-2.0.34C52_SK/include  -D__KERNEL__ -DMODULE -c ds.c
../include/asm/uaccess.h: In function `copy_from_user':
In file included from ../include/pcmcia/k_compat.h:248,
                 from ds.c:35:
../include/asm/uaccess.h:16: warning: implicit declaration of function
`memcpy_fromfs'
../include/asm/uaccess.h: In function `copy_to_user':
../include/asm/uaccess.h:24: warning: implicit declaration of function
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h: At top level:
In file included from ../include/asm/uaccess.h:35,
                 from ../include/pcmcia/k_compat.h:248,
                 from ds.c:35:
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:16: warning: previous implicit declaration of
`memcpy_fromfs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: warning:
`memcpy_fromfs' was declared implicitly `extern' and later `static'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning: type
mismatch with previous implicit declaration
../include/asm/uaccess.h:24: warning: previous implicit declaration of
`memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was previously implicitly declared to return `int'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: warning:
`memcpy_tofs' was declared implicitly `extern' and later `static'
../include/asm/uaccess.h: In function `ds_ioctl':
../include/asm/uaccess.h:16: conflicting types for `memcpy_fromfs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:110: previous
declaration of `memcpy_fromfs'
../include/asm/uaccess.h:24: conflicting types for `memcpy_tofs'
/usr/src/linux-2.0.34C52_SK/include/asm/segment.h:117: previous
declaration of `memcpy_tofs'
ds.c: At top level:
ds.c:857: warning: initialization from incompatible pointer type
ds.c:858: warning: initialization from incompatible pointer type
make[1]: *** [ds.o] Error 1
make[1]: Leaving directory `/home/users/jvlahtee/pcmcia-cs-3.1.14/modules'
make: *** [all] Error 2
[root@cube pcmcia-cs-3.1.14]# exit
exit

Script done on Wed Apr 19 14:47:24 2000


--> Jarno Lähteenmäki (19.04.2000)
--> Telecenter Oy / Espoo