<!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.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello.. Im quiet new in this, but i have got 
asterisk running so far with some extensions and so on..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>But now I want som Music on Hold and Some 
Conference calls.. Then do need the zaprtc installed but there i get this 
failure message.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have checked the version of my kernel, and this 
is a version. 2.4..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can anyone explan what i am doing wrong 
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best Regard</FONT></DIV>
<DIV><FONT face=Arial size=2>Thomas H.</FONT></DIV>
<DIV><FONT face=Arial size=2>Denmark.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>cc -c zaprtc.c -D__KERNEL__ -DMODULE 
-DEXPORT_SYMTAB -fomit-frame-pointer -O2 -Wall -I/usr/src/linux/include&nbsp; 
-Wall<BR>In file included from 
/usr/include/linux/prefetch.h:13,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from 
/usr/include/linux/list.h:6,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from 
/usr/include/linux/module.h:11,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from zaprtc.c:60:<BR>/usr/include/asm/processor.h:55: error: 
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a 
function)<BR>/usr/include/asm/processor.h:55: error: requested alignment is not 
a constant<BR>In file included from 
/usr/include/linux/module.h:20,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from zaprtc.c:60:<BR>/usr/include/linux/modversions.h:1:2: #error 
"======================================================="<BR>/usr/include/linux/modversions.h:2:2: 
#error "You should not include /usr/include/{linux,asm}/ 
header"<BR>/usr/include/linux/modversions.h:3:2: #error "files directly for the 
compilation of kernel modules."<BR>/usr/include/linux/modversions.h:4:2: #error 
""<BR>/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header 
files from a well-defined"<BR>/usr/include/linux/modversions.h:6:2: #error 
"working kernel version (as recommended by Linus 
Torvalds)"<BR>/usr/include/linux/modversions.h:7:2: #error "These files are 
glibc internal and may not match the"<BR>/usr/include/linux/modversions.h:8:2: 
#error "currently running kernel. They should only 
be"<BR>/usr/include/linux/modversions.h:9:2: #error "included via other system 
header files - user space"<BR>/usr/include/linux/modversions.h:10:2: #error 
"programs should not directly include &lt;linux/*.h&gt; 
or"<BR>/usr/include/linux/modversions.h:11:2: #error "&lt;asm/*.h&gt; as 
well."<BR>/usr/include/linux/modversions.h:12:2: #error 
""<BR>/usr/include/linux/modversions.h:13:2: #error "To build kernel modules 
please do the following:"<BR>/usr/include/linux/modversions.h:14:2: #error 
""<BR>/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources 
installed"<BR>/usr/include/linux/modversions.h:16:2: #error 
""<BR>/usr/include/linux/modversions.h:17:2: #error " o Make sure that the 
symbolic link"<BR>/usr/include/linux/modversions.h:18:2: #error "&nbsp;&nbsp; 
/lib/modules/`uname -r`/build exists and points 
to"<BR>/usr/include/linux/modversions.h:19:2: #error "&nbsp;&nbsp; the matching 
kernel source directory"<BR>/usr/include/linux/modversions.h:20:2: #error 
""<BR>/usr/include/linux/modversions.h:21:2: #error " o Now copy 
/boot/vmlinuz.version.h to"<BR>/usr/include/linux/modversions.h:22:2: #error 
"&nbsp;&nbsp; /lib/modules/`uname 
-r`/build/include/linux/version.h"<BR>/usr/include/linux/modversions.h:23:2: 
#error ""<BR>/usr/include/linux/modversions.h:24:2: #error " o When compiling, 
make sure to use the following"<BR>/usr/include/linux/modversions.h:25:2: #error 
"&nbsp;&nbsp; compiler option to use the correct include 
files:"<BR>/usr/include/linux/modversions.h:26:2: #error 
""<BR>/usr/include/linux/modversions.h:27:2: #error "&nbsp;&nbsp; 
-I/lib/modules/`uname 
-r`/build/include"<BR>/usr/include/linux/modversions.h:28:2: #error 
""<BR>/usr/include/linux/modversions.h:29:2: #error "&nbsp;&nbsp; instead 
of"<BR>/usr/include/linux/modversions.h:30:2: #error 
""<BR>/usr/include/linux/modversions.h:31:2: #error "&nbsp;&nbsp; 
-I/usr/include/linux"<BR>/usr/include/linux/modversions.h:32:2: #error 
""<BR>/usr/include/linux/modversions.h:33:2: #error "&nbsp;&nbsp; Please adjust 
the Makefile accordingly."<BR>/usr/include/linux/modversions.h:34:2: #error 
"======================================================="<BR>In file included 
from 
/usr/include/linux/module.h:297,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from zaprtc.c:60:<BR>/usr/include/linux/version.h:2:2: #error 
"======================================================="<BR>/usr/include/linux/version.h:3:2: 
#error "You should not include /usr/include/{linux,asm}/ 
header"<BR>/usr/include/linux/version.h:4:2: #error "files directly for the 
compilation of kernel modules."<BR>/usr/include/linux/version.h:5:2: #error 
""<BR>/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header 
files from a well-defined"<BR>/usr/include/linux/version.h:7:2: #error "working 
kernel version (as recommended by Linus 
Torvalds)"<BR>/usr/include/linux/version.h:8:2: #error "These files are glibc 
internal and may not match the"<BR>/usr/include/linux/version.h:9:2: #error 
"currently running kernel. They should only 
be"<BR>/usr/include/linux/version.h:10:2: #error "included via other system 
header files - user space"<BR>/usr/include/linux/version.h:11:2: #error 
"programs should not directly include &lt;linux/*.h&gt; 
or"<BR>/usr/include/linux/version.h:12:2: #error "&lt;asm/*.h&gt; as 
well."<BR>/usr/include/linux/version.h:13:2: #error 
""<BR>/usr/include/linux/version.h:14:2: #error "To build kernel modules please 
do the following:"<BR>/usr/include/linux/version.h:15:2: #error 
""<BR>/usr/include/linux/version.h:16:2: #error " o Have the kernel sources 
installed"<BR>/usr/include/linux/version.h:17:2: #error 
""<BR>/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic 
link"<BR>/usr/include/linux/version.h:19:2: #error "&nbsp;&nbsp; 
/lib/modules/`uname -r`/build exists and points 
to"<BR>/usr/include/linux/version.h:20:2: #error "&nbsp;&nbsp; the matching 
kernel source directory"<BR>/usr/include/linux/version.h:21:2: #error 
""<BR>/usr/include/linux/version.h:22:2: #error " o Now copy 
/boot/vmlinuz.version.h to"<BR>/usr/include/linux/version.h:23:2: #error 
"&nbsp;&nbsp; /lib/modules/`uname 
-r`/build/include/linux/version.h"<BR>/usr/include/linux/version.h:24:2: #error 
""<BR>/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to 
use the following"<BR>/usr/include/linux/version.h:26:2: #error "&nbsp;&nbsp; 
compiler option to use the correct include 
files:"<BR>/usr/include/linux/version.h:27:2: #error 
""<BR>/usr/include/linux/version.h:28:2: #error "&nbsp;&nbsp; 
-I/lib/modules/`uname -r`/build/include"<BR>/usr/include/linux/version.h:29:2: 
#error ""<BR>/usr/include/linux/version.h:30:2: #error "&nbsp;&nbsp; instead 
of"<BR>/usr/include/linux/version.h:31:2: #error 
""<BR>/usr/include/linux/version.h:32:2: #error "&nbsp;&nbsp; 
-I/usr/include/linux"<BR>/usr/include/linux/version.h:33:2: #error 
""<BR>/usr/include/linux/version.h:34:2: #error "&nbsp;&nbsp; Please adjust the 
Makefile accordingly."<BR>/usr/include/linux/version.h:35:2: #error 
"======================================================="<BR>In file included 
from zaprtc.c:60:<BR>/usr/include/linux/module.h:299: error: syntax error before 
"UTS_RELEASE"<BR>In file included from 
/usr/include/linux/mm.h:12,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from 
/usr/include/linux/vmalloc.h:5,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from 
/usr/include/asm/io.h:47,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from 
/usr/include/linux/mc146818rtc.h:14,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from zaprtc.c:66:<BR>/usr/include/linux/mmzone.h:44: error: 
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a 
function)<BR>/usr/include/linux/mmzone.h:44: error: requested alignment is not a 
constant<BR>zaprtc.c:76:20: zaptel.h: No such file or directory<BR>zaprtc.c:89: 
error: field `span' has incomplete type<BR>zaprtc.c:90: error: field `chan' has 
incomplete type<BR>zaprtc.c: In function `rtc_zt_init':<BR>zaprtc.c:172: error: 
`ZT_LAW_MULAW' undeclared (first use in this function)<BR>zaprtc.c:172: error: 
(Each undeclared identifier is reported only once<BR>zaprtc.c:172: error: for 
each function it appears in.)<BR>zaprtc.c:176: warning: implicit declaration of 
function `zt_register'<BR>zaprtc.c: In function 
`rtc_interrupt':<BR>zaprtc.c:219: warning: implicit declaration of function 
`zt_receive'<BR>zaprtc.c:220: warning: implicit declaration of function 
`zt_transmit'<BR>make: *** [zaprtc.o] Fejl 1<BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>