isa_irq_patched pd6729 compile errors
Jar
jar at pcuf.fi
Tue Feb 22 04:52:20 EST 2005
When I compile the pd6729 driver outside FC2 the kernel-2.6.10 it compiles ok.
[root at linux pd6729.org]# make
make -C /lib/modules/2.6.10-1.14_FC2/build SUBDIRS=/u1/src/pd6729.org/module modules \
MODVERDIR=/u1/src/pd6729.org/module modules
make[1]: Entering directory `/lib/modules/2.6.10-1.14_FC2/build'
LD /u1/src/pd6729.org/module/built-in.o
CC [M] /u1/src/pd6729.org/module/pd6729.o
Building modules, stage 2.
MODPOST
CC /u1/src/pd6729.org/module/pd6729.mod.o
LD [M] /u1/src/pd6729.org/module/pd6729.ko
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/lib/modules/2.6.10-1.14_FC2/build'
make install_info
make[1]: Entering directory `/u1/src/pd6729.org'
*** Become superuser and 'make install' to install the module. ***
make[1]: Leaving directory `/u1/src/pd6729.org'
But when I compile (using the same build system as above) the pd6729 driver patched
with patch-2.6.11-rc4.bz2, it doesn´t compile well, any ideas why?
[root at linux pd6729.isa_irq]# make
make -C /lib/modules/2.6.10-1.14_FC2/build SUBDIRS=/u1/src/pd6729.isa_irq/module
modules \
MODVERDIR=/u1/src/pd6729.isa_irq/module modules
make[1]: Entering directory `/lib/modules/2.6.10-1.14_FC2/build'
LD /u1/src/pd6729.isa_irq/module/built-in.o
CC [M] /u1/src/pd6729.isa_irq/module/pd6729.o
/u1/src/pd6729.isa_irq/module/pd6729.c:70: warning: type defaults to `int' in
declaration of `DEFINE_SPINLOCK'
/u1/src/pd6729.isa_irq/module/pd6729.c:70: warning: parameter names (without types)
in function declaration
/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_read':
/u1/src/pd6729.isa_irq/module/pd6729.c:82: error: `port_lock' undeclared (first use
in this function)
/u1/src/pd6729.isa_irq/module/pd6729.c:82: error: (Each undeclared identifier is
reported only once
/u1/src/pd6729.isa_irq/module/pd6729.c:82: error: for each function it appears in.)
/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_read16':
/u1/src/pd6729.isa_irq/module/pd6729.c:99: error: `port_lock' undeclared (first use
in this function)
/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_write':
/u1/src/pd6729.isa_irq/module/pd6729.c:118: error: `port_lock' undeclared (first use
in this function)
/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_setbit':
/u1/src/pd6729.isa_irq/module/pd6729.c:133: error: `port_lock' undeclared (first use
in this function)
/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_resetbit':
/u1/src/pd6729.isa_irq/module/pd6729.c:151: error: `port_lock' undeclared (first use
in this function)
/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_write16':
/u1/src/pd6729.isa_irq/module/pd6729.c:169: error: `port_lock' undeclared (first use
in this function)
/u1/src/pd6729.isa_irq/module/pd6729.c: In function `pd6729_pci_probe':
/u1/src/pd6729.isa_irq/module/pd6729.c:763: error: structure has no member named
`resource_ops'
/u1/src/pd6729.isa_irq/module/pd6729.c:763: error: `pccard_nonstatic_ops' undeclared
(first use in this function)
/u1/src/pd6729.isa_irq/module/pd6729.c: At top level:
/u1/src/pd6729.isa_irq/module/pd6729.c:70: warning: `DEFINE_SPINLOCK' declared
`static' but never defined
make[2]: *** [/u1/src/pd6729.isa_irq/module/pd6729.o] Error 1
make[1]: *** [_module_/u1/src/pd6729.isa_irq/module] Error 2
make[1]: Leaving directory `/lib/modules/2.6.10-1.14_FC2/build'
make: *** [pd6729.o] Error 2
--
Best Regards, Jar
More information about the linux-pcmcia
mailing list