[Asterisk-Users] Error in compilation [URGENT].

Steven Critchfield critch at basesys.com
Wed Jul 21 13:01:08 MST 2004


On Wed, 2004-07-21 at 13:50, Ricardo Maia Martins dos Santos wrote:
> Hi.

Just because it is Urgent to you doesn't make it urgent to anyone else.
Our help is voluntary. If you want urgent care, call a consultant. You
may encounter more hostility next time you invoke "urgent" without a
check in hand.

> I'm from Brazil, and I have some problems due the instalation of zaptel.
> Using RH9, kernel 2.4.20-8.
> 
> I don't understand the error and i need help.
> 
> While the compilation of zaptel 1.0, this return many errors and warnings. The
> errors is listed below:
> 
> # make
> 
> 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
> In file included from tor2.c:30:
> /usr/src/linux-2.4/include/linux/kernel.h:60: invalid suffix on integer constant

<snip>

> /usr/src/linux-2.4/include/linux/dcache.h: In function `dget':
> /usr/src/linux-2.4/include/linux/dcache.h:254: warning: implicit declaration
> of function `__out_of_line_bug_R8b0fd3c5'
> tor2.c: In function `tor2_spanconfig':
> tor2.c:206: warning: implicit declaration of function `printk_R1b7d4074'
> tor2.c: In function `init_spans':
> tor2.c:274: warning: implicit declaration of function `sprintf_R1d26aa98'
> make: ** [tor2.o] Erro 1
> 

It appears you have a kernel source problem. all the complaints stem
from /usr/src/linux-2.4 files. My guess is you don't have the properly
downloaded and config source code.

-- 
Steven Critchfield  <critch at basesys.com>





More information about the asterisk-users mailing list