c/zaptel.conf\" -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include -I/usr/src/linux/include/net -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h -DSTANDALONE_ZAPATA -c zaptel.c
In file included from /usr/src/linux-2.4/include/linux/config.h:4,
from zconfig.h:9,
from zaptel.c:40:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from /usr/src/linux-2.4/include/linux/module.h:11,
from zaptel.c:44:
/usr/src/linux-2.4/include/linux/spinlock.h:65:1: warning: "atomic_dec_and_lock" redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:1038,
from <command line>:1:
/usr/src/linux-2.4/include/linux/modules/i386_ksyms.ver:234:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4/include/linux/prefetch.h:13,
from /usr/src/linux-2.4/include/linux/list.h:6,
from /usr/src/linux-2.4/include/linux/module.h:12,
from zaptel.c:44:
/usr/src/linux-2.4/include/asm/processor.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/src/linux-2.4/include/asm/processor.h:65: requested alignment is not a constant
In file included from /usr/src/linux-2.4/include/linux/prefetch.h:13,
from /usr/src/linux-2.4/include/linux/list.h:6,
from /usr/src/linux-2.4/include/linux/module.h:12,
from zaptel.c:44:
/usr/src/linux-2.4/include/asm/processor.h:90:1: warning: "cpu_data" redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:1038,
from <command line>:1:
/usr/src/linux-2.4/include/linux/modules/i386_ksyms.ver:19:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4/include/linux/prefetch.h:13,
from /usr/src/linux-2.4/include/linux/list.h:6,
from /usr/src/linux-2.4/include/linux/module.h:12,
from zaptel.c:44:
/usr/src/linux-2.4/include/asm/processor.h:268:1: warning: "EISA_bus" redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:1038,
from <command line>:1:
/usr/src/linux-2.4/include/linux/modules/i386_ksyms.ver:101:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4/include/linux/rwsem.h:29,
from /usr/src/linux-2.4/include/asm/semaphore.h:42,
from /usr/src/linux-2.4/include/linux/fs.h:200,
from /usr/src/linux-2.4/include/linux/capability.h:17,
from /usr/src/linux-2.4/include/linux/binfmts.h:4,
from /usr/src/linux-2.4/include/linux/sched.h:10,
from /usr/src/linux-2.4/include/linux/mm.h:22,
from /usr/src/linux-2.4/include/linux/slab.h:14,
from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux-2.4/include/asm/rwsem.h: In function `__down_write_trylock_Rsmp_443dc266':
/usr/src/linux-2.4/include/asm/rwsem.h:177: warning: implicit declaration of function `cmpxchg'
In file included from /usr/src/linux-2.4/include/linux/ext3_fs_sb.h:20,
from /usr/src/linux-2.4/include/linux/fs.h:716,
from /usr/src/linux-2.4/include/linux/capability.h:17,
from /usr/src/linux-2.4/include/linux/binfmts.h:4,
from /usr/src/linux-2.4/include/linux/sched.h:10,
from /usr/src/linux-2.4/include/linux/mm.h:22,
from /usr/src/linux-2.4/include/linux/slab.h:14,
from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux-2.4/include/linux/timer.h:30:1: warning: "del_timer_sync" redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:1350,
from <command line>:1:
/usr/src/linux-2.4/include/linux/modules/ksyms.ver:6087:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4/include/linux/sched.h:25,
from /usr/src/linux-2.4/include/linux/mm.h:22,
from /usr/src/linux-2.4/include/linux/slab.h:14,
from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux-2.4/include/linux/smp.h:80:1: warning: "smp_num_cpus" redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:1038,
from <command line>:1:
/usr/src/linux-2.4/include/linux/modules/i386_ksyms.ver:63:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4/include/linux/sched.h:25,
from /usr/src/linux-2.4/include/linux/mm.h:22,
from /usr/src/linux-2.4/include/linux/slab.h:14,
from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux-2.4/include/linux/smp.h:88:1: warning: "smp_call_function" redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:1038,
from <command line>:1:
/usr/src/linux-2.4/include/linux/modules/i386_ksyms.ver:136:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4/include/linux/sched.h:25,
from /usr/src/linux-2.4/include/linux/mm.h:22,
from /usr/src/linux-2.4/include/linux/slab.h:14,
from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux-2.4/include/linux/smp.h:89:1: warning: "cpu_online_map" redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:1038,
from <command line>:1:
/usr/src/linux-2.4/include/linux/modules/i386_ksyms.ver:212:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4/include/linux/mm.h:22,
from /usr/src/linux-2.4/include/linux/slab.h:14,
from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux-2.4/include/linux/sched.h:572:1: warning: "set_cpus_allowed" redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:1350,
from <command line>:1:
/usr/src/linux-2.4/include/linux/modules/ksyms.ver:4418:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4/include/linux/mm.h:30,
from /usr/src/linux-2.4/include/linux/slab.h:14,
from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux-2.4/include/linux/mmzone.h: At top level:
/usr/src/linux-2.4/include/linux/mmzone.h:34: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/src/linux-2.4/include/linux/mmzone.h:34: requested alignment is not a constant
In file included from zaptel.c:45:
/usr/src/linux-2.4/include/linux/proc_fs.h:180:1: warning: "proc_root_driver" redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:1988,
from <command line>:1:
/usr/src/linux-2.4/include/linux/modules/root.ver:59:1: warning: this is the location of the previous definition
In file included from zaptel.c:45:
/usr/src/linux-2.4/include/linux/proc_fs.h:209: parse error before "void"
zaptel.c:116: parse error before "config_must_be_included_before_module"
zaptel.c:116: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:116: warning: data definition has no type or storage class
zaptel.c:117: parse error before "config_must_be_included_before_module"
zaptel.c:117: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:117: warning: data definition has no type or storage class
zaptel.c:118: parse error before "config_must_be_included_before_module"
zaptel.c:118: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:118: warning: data definition has no type or storage class
zaptel.c:119: parse error before "config_must_be_included_before_module"
zaptel.c:119: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:119: warning: data definition has no type or storage class
zaptel.c:120: parse error before "config_must_be_included_before_module"
zaptel.c:120: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:120: warning: data definition has no type or storage class
zaptel.c:121: parse error before "config_must_be_included_before_module"
zaptel.c:121: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:121: warning: data definition has no type or storage class
zaptel.c:126: parse error before "config_must_be_included_before_module"
zaptel.c:126: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:126: warning: data definition has no type or storage class
zaptel.c:127: parse error before "config_must_be_included_before_module"
zaptel.c:127: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:127: warning: data definition has no type or storage class
zaptel.c:129: parse error before "config_must_be_included_before_module"
zaptel.c:129: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:129: warning: data definition has no type or storage class
zaptel.c:130: parse error before "config_must_be_included_before_module"
zaptel.c:130: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:130: warning: data definition has no type or storage class
zaptel.c:131: parse error before "config_must_be_included_before_module"
zaptel.c:131: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:131: warning: data definition has no type or storage class
zaptel.c:132: parse error before "config_must_be_included_before_module"
zaptel.c:132: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:132: warning: data definition has no type or storage class
zaptel.c:133: parse error before "config_must_be_included_before_module"
zaptel.c:133: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:133: warning: data definition has no type or storage class
zaptel.c:134: parse error before "config_must_be_included_before_module"
zaptel.c:134: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:134: warning: data definition has no type or storage class
zaptel.c:135: parse error before "config_must_be_included_before_module"
zaptel.c:135: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:135: warning: data definition has no type or storage class
zaptel.c:136: parse error before "config_must_be_included_before_module"
zaptel.c:136: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:136: warning: data definition has no type or storage class
zaptel.c:137: parse error before "config_must_be_included_before_module"
zaptel.c:137: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:137: warning: data definition has no type or storage class
zaptel.c:138: parse error before "config_must_be_included_before_module"
zaptel.c:138: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
zaptel.c:138: warning: data definition has no type or storage class
make: *** [zaptel.o] Error 1
[root@asterisk zaptel]#