<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV><FONT face=Arial size=2>Hi!<BR><BR>I have fresh installation of 
<STRONG>Fedora (Core 1) RedHat Linux-2.4.22-1.2115.nptl</STRONG><BR>The 
<STRONG>kernel source</STRONG> is in place 
<STRONG>/usr/src/linux-2.4.22-1.2115.nptl<BR></STRONG>The 
<STRONG>config</STRONG> file for the kernel is in place 
<STRONG>/boot/config-2.4.22-1.2115.nptl<BR></STRONG><BR>As per zaptel 
instruction, i first created the kernel config file as follows:<BR><STRONG># cd 
/usr/src/linux-2.4.22-1.2115.nptl; make menuconfig</STRONG><BR><BR>(in the menu 
config window)<BR>I loaded the existing config file from 
<STRONG>/boot/config-2.4.22-1.2115.nptl</STRONG><BR>Then i saved the new over it 
and exit (i didn't make any other changes in the settings of any device etc, 
simply loaded and saved).<BR><BR>and then did<BR><STRONG># make dep</STRONG> 
(modversion.h file was created)<BR><BR>I then tried to compile zaptel 
(<STRONG>zaptel-0.9.1.tar</STRONG> downloaded from ftp site) to get errors (see 
below)<BR>All errors are in the kernel.h (and others) file included in 
tor2.c<BR></FONT><FONT face=Arial size=2>I haven't added any digium/other h/w as 
yet.</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>Could anyone help me fix this please.<BR>Regards,</DIV>
<DIV><BR>Satish Kumar B.G<BR>satishkbg@vsnl.net<BR>ICODE india pvt 
ltd<BR>Bangalore<BR>India<BR>------------- errors 
------------------<BR>[root@localhost zaptel-0.9.1]# make clean; make 
install<BR>rm -f torisatool makefw tor2fw.h<BR>rm -f zttool<BR>rm -f *.o ztcfg 
tzdriver sethdlc sethdlc-new<BR>rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 
*.lo<BR>rm -f *.ko *.mod.c .*o.cmd<BR>rm -f gendigits tones.h<BR>rm -f 
libtonezone*<BR>rm -f tor2ee<BR>rm -f core<BR>cc -I. -O4 -g -Wall 
-DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o gendigits.o gendigits.c<BR>cc -o 
gendigits gendigits.o -lm<BR>./gendigits<BR>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<BR>In file included from 
/usr/src/linux-2.4/include/asm/semaphore.h:39,<BR>from 
/usr/src/linux-2.4/include/linux/fs.h:202,<BR>from 
/usr/src/linux-2.4/include/linux/capability.h:17,<BR>from 
/usr/src/linux-2.4/include/linux/binfmts.h:4,<BR>from 
/usr/src/linux-2.4/include/linux/sched.h:10,<BR>from 
/usr/src/linux-2.4/include/linux/mm.h:4,<BR>from 
/usr/src/linux-2.4/include/linux/slab.h:14,<BR>from 
/usr/src/linux-2.4/include/linux/proc_fs.h:5,<BR>from 
zaptel.c:45:<BR>/usr/src/linux-2.4/include/asm/system.h: In function 
`__set_64bit_var':<BR>/usr/src/linux-2.4/include/asm/system.h:189: warning: 
dereferencing type-punned pointer will break strict-aliasing 
rules<BR>/usr/src/linux-2.4/include/asm/system.h:189: warning: dereferencing 
type-punned pointer will break strict-aliasing rules<BR>cc -I. -O4 -g -Wall 
-DBUILDING_TONEZONE -DSTANDALONE_ZAPATA makefw.c -o makefw<BR>./makefw 
tormenta2.rbt tor2fw &gt; tor2fw.h<BR>Loaded 69900 bytes from file<BR>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 
tor2.c<BR>In file included from 
tor2.c:30:<BR><STRONG>/usr/src/linux-2.4/include/linux/kernel.h:60:31: invalid 
suffix "d5eeb25" on integer constant<BR>In file included from 
tor2.c:30:<BR>/usr/src/linux-2.4/include/linux/kernel.h:60: error: syntax error 
before numeric 
constant</STRONG><BR>/usr/src/linux-2.4/include/linux/kernel.h:60: warning: 
function declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:61:17: invalid suffix 
"bf0" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:61: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:62: error: 
`panic_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:62: warning: function 
declaration isn't a prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:68: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:68: error: 
`simple_strtoul_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:68: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:69:13: invalid suffix 
"b742fd7" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:69: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:69: error: 
`simple_strtol_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:69: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:70:27: invalid suffix 
"b7b126" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:70: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:70: error: 
`simple_strtoull_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:70: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:72:12: invalid suffix 
"d26aa98" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:72: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:73: error: 
`sprintf_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:73: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:74:12: invalid suffix 
"cbb26" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:74: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:74: error: 
`vsprintf_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:74: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:75:12: invalid suffix 
"da070" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:75: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:76: error: 
`snprintf_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:76: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:77:12: invalid suffix 
"a6504e" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:77: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:77: error: 
`vsnprintf_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:77: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:79:12: invalid suffix 
"af" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:79: error: 
syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:80: error: 
`sscanf_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:80: warning: function 
declaration isn't a prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:81: 
error: `vsscanf_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:81: warning: parameter 
names (without types) in function 
declaration<BR>/usr/src/linux-2.4/include/linux/kernel.h:83: error: 
`get_option_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:83: warning: parameter 
names (without types) in function 
declaration<BR>/usr/src/linux-2.4/include/linux/kernel.h:84:14: invalid suffix 
"fbff9b9" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:84: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:84: error: 
`get_options_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:84: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:85:27: invalid suffix 
"f2d36f" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:85: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:85: error: 
`memparse_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:85: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:93:16: invalid suffix 
"b7d4074" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:93: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:94: error: 
`printk_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:94: warning: function 
declaration isn't a prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:110: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:110: warning: function 
declaration isn't a prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:111: 
warning: parameter names (without types) in function 
declaration<BR>/usr/src/linux-2.4/include/linux/kernel.h:116:13: invalid suffix 
"b2dc060" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:116: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:116: error: 
`dump_stack_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/kernel.h:116: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/kernel.h:194:13: invalid suffix 
"b0fd3c5" on integer constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:194: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/kernel.h:194: error: 
`__out_of_line_bug_R_ver_str' declared as function returning a 
function/usr/src/linux-2.4/include/linux/kernel.h:194: warning: function 
declaration isn't a prototype<BR>In file included from 
/usr/src/linux-2.4/include/linux/prefetch.h:13,<BR>from 
/usr/src/linux-2.4/include/linux/list.h:6,<BR>from 
/usr/src/linux-2.4/include/linux/module.h:12,<BR>from 
tor2.c:32:<BR>/usr/src/linux-2.4/include/asm/processor.h:60: warning: parameter 
names (without types) in function 
declaration<BR>/usr/src/linux-2.4/include/asm/processor.h:60: error: field 
`loops_per_jiffy_R_ver_str' declared as a function<BR>In file included from 
/usr/src/linux-2.4/include/linux/prefetch.h:13,<BR>from 
/usr/src/linux-2.4/include/linux/list.h:6,<BR>from 
/usr/src/linux-2.4/include/linux/module.h:12,<BR>from 
tor2.c:32:<BR>/usr/src/linux-2.4/include/asm/processor.h:83:27: invalid suffix 
"a8db2ac" on integer constant<BR>/usr/src/linux-2.4/include/asm/processor.h:83: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/asm/processor.h:83: warning: function 
declaration isn't a prototype<BR>/usr/src/linux-2.4/include/asm/processor.h:202: 
warning: parameter names (without types) in function 
declaration<BR>/usr/src/linux-2.4/include/asm/processor.h: In function 
`set_in_cr4':<BR>/usr/src/linux-2.4/include/asm/processor.h:206: error: 
`dad5638d' undeclared (first use in this 
function)<BR>/usr/src/linux-2.4/include/asm/processor.h:206: error: (Each 
undeclared identifier is reported only 
once<BR>/usr/src/linux-2.4/include/asm/processor.h:206: error: for each function 
it appears in.)<BR>/usr/src/linux-2.4/include/asm/processor.h:206: error: 
invalid lvalue in assignment<BR>/usr/src/linux-2.4/include/asm/processor.h: In 
function `clear_in_cr4':<BR>/usr/src/linux-2.4/include/asm/processor.h:216: 
error: `dad5638d' undeclared (first use in this 
function)<BR>/usr/src/linux-2.4/include/asm/processor.h:216: error: invalid 
lvalue in assignment<BR>/usr/src/linux-2.4/include/asm/processor.h:255:12: 
invalid suffix "a" on integer 
constant<BR>/usr/src/linux-2.4/include/asm/processor.h: At top 
level:<BR>/usr/src/linux-2.4/include/asm/processor.h:255: error: syntax error 
before numeric constant<BR>/usr/src/linux-2.4/include/asm/processor.h:255: 
warning: function declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/asm/processor.h:259: warning: parameter 
names (without types) in function declaration<BR>In file included from 
tor2.c:32:<BR>/usr/src/linux-2.4/include/linux/module.h:190:13: invalid suffix 
"dada05" on integer constant<BR>In file included from 
tor2.c:32:<BR>/usr/src/linux-2.4/include/linux/module.h:190: error: syntax error 
before numeric constant<BR>/usr/src/linux-2.4/include/linux/module.h:190: error: 
`inter_module_register_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/module.h:190: warning: function 
declaration isn't a 
prototype<BR>/usr/src/linux-2.4/include/linux/module.h:191:13: invalid suffix 
"a9e845e" on integer constant<BR>/usr/src/linux-2.4/include/linux/module.h:191: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/module.h:191: error: 
`inter_module_unregister_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/module.h:191: warning: function 
declaration isn't a prototype<BR>/usr/src/linux-2.4/include/linux/module.h:192: 
error: `inter_module_get_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/module.h:192: warning: parameter 
names (without types) in function 
declaration<BR>/usr/src/linux-2.4/include/linux/module.h:193: error: 
`inter_module_get_request_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/module.h:193: warning: parameter 
names (without types) in function 
declaration<BR>/usr/src/linux-2.4/include/linux/module.h:194:13: invalid suffix 
"b99f7d8" on integer constant<BR>/usr/src/linux-2.4/include/linux/module.h:194: 
error: syntax error before numeric 
constant<BR>/usr/src/linux-2.4/include/linux/module.h:194: error: 
`inter_module_put_R_ver_str' declared as function returning a 
function<BR>/usr/src/linux-2.4/include/linux/module.h:194: warning: function 
declaration isn't a prototype<BR>/usr/src/linux-2.4/include/linux/module.h:203: 
error: `try_inc_mod_count_R_ver_str' declared as function returning a 
function/usr/src/linux-2.4/include/linux/module.h:203: warning: parameter names 
(without types) in function declaration<BR>In file included from 
/usr/src/linux-2.4/include/linux/fs.h:19,<BR>from 
/usr/src/linux-2.4/include/linux/capability.h:17,<BR>from 
/usr/src/linux-2.4/include/linux/binfmts.h:4,<BR>from 
/usr/src/linux-2.4/include/linux/sched.h:10,<BR>from 
/usr/src/linux-2.4/include/linux/mm.h:4,<BR>from 
/usr/src/linux-2.4/include/linux/slab.h:14,<BR>from 
/usr/src/linux-2.4/include/asm/pci.h:37,<BR>from 
/usr/src/linux-2.4/include/linux/pci.h:658,<BR>from 
tor2.c:33:<BR>/usr/src/linux-2.4/include/linux/dcache.h: In function 
`dget':<BR>/usr/src/linux-2.4/include/linux/dcache.h:252: warning: implicit 
declaration of function `__out_of_line_bug_R8b0fd3c5'<BR>In file included from 
/usr/src/linux-2.4/include/asm/semaphore.h:39,<BR>from 
/usr/src/linux-2.4/include/linux/fs.h:202,<BR>from 
/usr/src/linux-2.4/include/linux/capability.h:17,<BR>from 
/usr/src/linux-2.4/include/linux/binfmts.h:4,<BR>from 
/usr/src/linux-2.4/include/linux/sched.h:10,<BR>from 
/usr/src/linux-2.4/include/linux/mm.h:4,<BR>from 
/usr/src/linux-2.4/include/linux/slab.h:14,<BR>from 
/usr/src/linux-2.4/include/asm/pci.h:37,<BR>from 
/usr/src/linux-2.4/include/linux/pci.h:658,<BR>from 
tor2.c:33:<BR>/usr/src/linux-2.4/include/asm/system.h: In function 
`__set_64bit_var':<BR>/usr/src/linux-2.4/include/asm/system.h:189: warning: 
dereferencing type-punned pointer will break strict-aliasing 
rules<BR>/usr/src/linux-2.4/include/asm/system.h:189: warning: dereferencing 
type-punned pointer will break strict-aliasing rules<BR>In file included from 
/usr/src/linux-2.4/include/linux/highmem.h:5,<BR>from 
/usr/src/linux-2.4/include/linux/vmalloc.h:8,<BR>from 
/usr/src/linux-2.4/include/asm/io.h:47,<BR>from 
/usr/src/linux-2.4/include/asm/pci.h:40,<BR>from 
/usr/src/linux-2.4/include/linux/pci.h:658,<BR>from 
tor2.c:33:<BR>/usr/src/linux-2.4/include/asm/pgalloc.h: In function 
`get_pgd_fast':<BR>/usr/src/linux-2.4/include/asm/pgalloc.h:79: error: 
`boot_cpu_data_R4a8db2ac' undeclared (first use in this 
function)<BR>/usr/src/linux-2.4/include/asm/pgalloc.h: In function 
`free_pgd_fast':<BR>/usr/src/linux-2.4/include/asm/pgalloc.h:90: error: 
`boot_cpu_data_R4a8db2ac' undeclared (first use in this 
function)<BR>/usr/src/linux-2.4/include/asm/pgalloc.h: In function 
`pte_alloc_one_fast':<BR>/usr/src/linux-2.4/include/asm/pgalloc.h:123: error: 
`boot_cpu_data_R4a8db2ac' undeclared (first use in this 
function)<BR>/usr/src/linux-2.4/include/asm/pgalloc.h: In function 
`pte_free_fast':<BR>/usr/src/linux-2.4/include/asm/pgalloc.h:133: error: 
`boot_cpu_data_R4a8db2ac' undeclared (first use in this function)<BR>In file 
included from /usr/src/linux-2.4/include/asm/io.h:47,<BR>from 
/usr/src/linux-2.4/include/asm/pci.h:40,<BR>from 
/usr/src/linux-2.4/include/linux/pci.h:658,<BR>from 
tor2.c:33:<BR>/usr/src/linux-2.4/include/linux/vmalloc.h: In function 
`vmalloc':<BR>/usr/src/linux-2.4/include/linux/vmalloc.h:40: error: 
`boot_cpu_data_R4a8db2ac' undeclared (first use in this 
function)<BR>/usr/src/linux-2.4/include/linux/vmalloc.h: In function 
`vmalloc_dma':<BR>/usr/src/linux-2.4/include/linux/vmalloc.h:49: error: 
`boot_cpu_data_R4a8db2ac' undeclared (first use in this 
function)<BR>/usr/src/linux-2.4/include/linux/vmalloc.h: In function 
`vmalloc_32':<BR>/usr/src/linux-2.4/include/linux/vmalloc.h:58: error: 
`boot_cpu_data_R4a8db2ac' undeclared (first use in this function)<BR>tor2.c: In 
function `tor2_spanconfig':<BR>tor2.c:206: warning: implicit declaration of 
function `printk_R1b7d4074'<BR>tor2.c: In function `init_spans':<BR>tor2.c:274: 
warning: implicit declaration of function `sprintf_R1d26aa98'<BR>make: *** 
[tor2.o] Error 1<BR>[root@localhost zaptel-0.9.1]#</FONT></DIV>
<DIV><FONT face=Arial 
size=2>----------------------------------------------------------------------- 
end of errors 
-------------------------------------------</FONT></DIV></BODY></HTML>