Hello guys, i ran into an error while compiling CDemu and tought i'd let you know, seems to be a problem with a i/o function, here is the output:


dfuentes@raziel:~/build/cdemu-0.7$ make
make -C /lib/modules/2.4.30/build SUBDIRS=/home/dfuentes/build/cdemu-0.7 modules
make[1]: Entering directory `/usr/src/linux-2.4.30'
make -C  /home/dfuentes/build/cdemu-0.7 CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.30/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/home/dfuentes/build/cdemu-0.7'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.30/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -DMODULE -D__KERNEL__ -I/usr/src/linux-2.4.30/include  -c -o cdemu.o cdemu.c
In file included from /usr/src/linux-2.4.30/include/linux/kernel.h:15,
                 from /usr/src/linux-2.4.30/include/asm/system.h:5,
                 from /usr/src/linux-2.4.30/include/linux/spinlock.h:6,
                 from /usr/src/linux-2.4.30/include/linux/module.h:12,
                 from cdemu_kernel.h:55,
                 from cdemu.c:57:
/usr/src/linux-2.4.30/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.30/include/asm/byteorder.h:30: warning: type qualifiers ignored on function return type
In file included from /usr/src/linux-2.4.30/include/linux/byteorder/little_endian.h:11,
                 from /usr/src/linux-2.4.30/include/asm/byteorder.h:65,
                 from /usr/src/linux-2.4.30/include/linux/kernel.h:15,
                 from /usr/src/linux-2.4.30/include/asm/system.h:5,
                 from /usr/src/linux-2.4.30/include/linux/spinlock.h:6,
                 from /usr/src/linux-2.4.30/include/linux/module.h:12,
                 from cdemu_kernel.h:55,
                 from cdemu.c:57:
/usr/src/linux-2.4.30/include/linux/byteorder/swab.h:160: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.30/include/linux/byteorder/swab.h:173: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.30/include/linux/byteorder/swab.h:186: warning: type qualifiers ignored on function return type
/usr/src/linux-2.4.30/include/linux/byteorder/swab.h:200: warning: type qualifiers ignored on function return type
In file included from /usr/src/linux-2.4.30/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.30/include/linux/list.h:6,
                 from /usr/src/linux-2.4.30/include/linux/module.h:13,
                 from cdemu_kernel.h:55,
                 from cdemu.c:57:
/usr/src/linux-2.4.30/include/asm/processor.h:75: error: array type has incomplete element type
cdemu.c:728: error: 'cdemu_block_ioctl' undeclared here (not in a function)
make[2]: *** [cdemu.o] Error 1
make[2]: Leaving directory `/home/dfuentes/build/cdemu-0.7'
make[1]: *** [_mod_/home/dfuentes/build/cdemu-0.7] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.30'
make: *** [all] Error 2


Hope this helps in some way.


Saludos
Diego De Fuentes Ceballos
Directo (55) 50952386
Celular  (04455) 18657027
email diego.defuentes@metrored.com.mx

MetroRED
Montes Urales 632, Segundo Piso
Lomas de Chapultepec, Mexico D.F.