[asterisk-users] Error compiling zaptel 1.4.0
Chris Nighswonger
cnighswonger at foundations.edu
Fri Mar 16 11:17:14 MST 2007
Hi all,
I decided the best way to get to know * well is to do it from
scratch. Having read the majority of the "Asterisk: The Future of
Telephony" I am now attempting to compile zaptel 1.4.0 and am receving
the very same series of errors mentioned in this post on the forums:
http://forums.digium.com/viewtopic.php?t=13619&highlight=zaptel1+++zttranscode++error
However, there has been no solution offered to this issue. I am
running 2.6.20-1.2925.fc6. I have combed through the various
suggestions for issues compiling zaptel. I do have the kernel-devel
package installed and the proper sym links, etc. When performing 'make
linux26' it blows chunks trying to compile zttranscode.o. Here is what
it looks like:
CC [M] /usr/src/zaptel-1.4.0/zttranscode.o
/usr/src/zaptel-1.4.0/zttranscode.c: In function 'zt_tc_open':
/usr/src/zaptel-1.4.0/zttranscode.c:192: error: invalid use of
undefined type 'struct page'
/usr/src/zaptel-1.4.0/zttranscode.c:193: error: invalid use of
undefined type 'struct page'
/usr/src/zaptel-1.4.0/zttranscode.c:194: error: increment of pointer
to unknown structure
/usr/src/zaptel-1.4.0/zttranscode.c:194: error: arithmetic on pointer
to an incomplete type
/usr/src/zaptel-1.4.0/zttranscode.c:195: error: implicit declaration
of function 'SetPageReserved'
/usr/src/zaptel-1.4.0/zttranscode.c: In function 'ztc_release':
/usr/src/zaptel-1.4.0/zttranscode.c:208: error: invalid use of
undefined type 'struct page'
/usr/src/zaptel-1.4.0/zttranscode.c:209: error: invalid use of
undefined type 'struct page'
/usr/src/zaptel-1.4.0/zttranscode.c:210: error: increment of pointer
to unknown structure
/usr/src/zaptel-1.4.0/zttranscode.c:210: error: arithmetic on pointer
to an incomplete type
/usr/src/zaptel-1.4.0/zttranscode.c:211: error: implicit declaration
of function 'ClearPageReserved'
/usr/src/zaptel-1.4.0/zttranscode.c: In function 'zt_tc_mmap':
/usr/src/zaptel-1.4.0/zttranscode.c:370: error: dereferencing pointer
to incomplete type
/usr/src/zaptel-1.4.0/zttranscode.c:376: error: dereferencing pointer
to incomplete type
/usr/src/zaptel-1.4.0/zttranscode.c:376: error: dereferencing pointer
to incomplete type
/usr/src/zaptel-1.4.0/zttranscode.c:378: error: dereferencing pointer
to incomplete type
/usr/src/zaptel-1.4.0/zttranscode.c:378: error: dereferencing pointer
to incomplete type
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: implicit declaration
of function 'remap_pfn_range'
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: dereferencing pointer
to incomplete type
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: 'PAGE_SHARED'
undeclared (first use in this function)
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: (Each undeclared
identifier is reported only once
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: for each function it
appears in.)
make[2]: *** [/usr/src/zaptel-1.4.0/zttranscode.o] Error 1
make[1]: *** [_module_/usr/src/zaptel-1.4.0] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2925.fc6-i686'
make: *** [linux26] Error 2
and dumps me back to the prompt.
I am working with a fresh install of fc6.
Any help is appriciated.
Chris
--
Chris Nighswonger
Network & Systems Director
Foundations Bible College & Seminary
www.foundations.edu
www.fbcradio.org
cnighswonger at foundations.edu
V:910-892-8761
C:919-820-5473
-------------
NOTICE: The information contained in this electronic mail message is
intended only for the use of the intended recipient, and may also be
protected by the Electronic Communications Privacy Act, 18 USC
Sections 2510-2521. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please reply to the
sender, and delete the original message. Thank you.
More information about the asterisk-users
mailing list