Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#170 Compile Error on 2.4.25 Powerpc

open
nobody
None
8
2004-05-30
2004-05-19
james
No

mactop:~/pcmcia-cs-3.2.7# make all
make[1]: Entering directory
`/root/pcmcia-cs-3.2.7/modules'
cc -fno-builtin -msoft-float -ffixed-r2 -MD -O3 -Wall
-Wstrict-prototypes -pipe -Wa,--no-warn -I../include
-I/usr/src/linux/include -D__KERNEL__ -DMODULE -c cs.c
In file included from ../include/asm/io.h:5,
from /usr/src/linux/include/asm/dma.h:12,
from /usr/src/linux/include/asm/scatterlist.h:5,
from /usr/src/linux/include/asm/pci.h:8,
from /usr/src/linux/include/linux/pci.h:679,
from ../include/linux/pci.h:4,
from cs.c:49:
/usr/src/linux/include/asm/io.h: In function `virt_to_bus':
/usr/src/linux/include/asm/io.h:235:
`CONFIG_KERNEL_START' undeclared (first use in this
function)
/usr/src/linux/include/asm/io.h:235: (Each undeclared
identifier is reported only once
/usr/src/linux/include/asm/io.h:235: for each function it
appears in.)
/usr/src/linux/include/asm/io.h: In function `bus_to_virt':
/usr/src/linux/include/asm/io.h:246:
`CONFIG_KERNEL_START' undeclared (first use in this
function)
/usr/src/linux/include/asm/io.h: In function
`virt_to_phys':
/usr/src/linux/include/asm/io.h:259:
`CONFIG_KERNEL_START' undeclared (first use in this
function)
/usr/src/linux/include/asm/io.h: In function
`phys_to_virt':
/usr/src/linux/include/asm/io.h:268:
`CONFIG_KERNEL_START' undeclared (first use in this
function)
make[1]: *** [cs.o] Error 1
make[1]: Leaving directory
`/root/pcmcia-cs-3.2.7/modules'
make: *** [all] Error 2

it's a mac powerbook g3 wallstreet, with debian sarge
ppc. Custom compiled kernel. please help! I get this
compile error with debian's pcmcia-source package, and
with the latest tarball from sourceforge. please help!

Discussion

  • james
    james
    2004-05-30

    • priority: 5 --> 8
     
  • David Hinds
    David Hinds
    2004-06-02

    Logged In: YES
    user_id=7760

    My first recommendation would be for you to use the kernel's
    PCMCIA driver subsystem rather than trying to build the
    pcmcia-cs modules. Is there a reason you think it would be
    a good idea to use the pcmcia-cs modules?

    I can't easily help fix compilation problems on
    architectures I can't test.

    -- Dave