Asterisk zaptel kernel modules no longer compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

After upgrading to the latest rawhide on one of my test systems, the Asterisk modules for zaptel now fail to compile. From my talks with some of the asterisk guys, it seems that it may be kernel related.

Asterisk bug report at: http://bugs.digium.com/view.php?id=8945

when trying to compile, I get:

  CC [M]  /root/asterisk/zaptel-1.4.0/zttranscode.o
/root/asterisk/zaptel-1.4.0/zttranscode.c: In function ‘zt_tc_open’:
/root/asterisk/zaptel-1.4.0/zttranscode.c:192: error: invalid use of undefined type ‘struct page’ /root/asterisk/zaptel-1.4.0/zttranscode.c:193: error: invalid use of undefined type ‘struct page’ /root/asterisk/zaptel-1.4.0/zttranscode.c:194: error: increment of pointer to unknown structure /root/asterisk/zaptel-1.4.0/zttranscode.c:194: error: arithmetic on pointer to an incomplete type /root/asterisk/zaptel-1.4.0/zttranscode.c:195: error: implicit declaration of function ‘SetPageReserved’
/root/asterisk/zaptel-1.4.0/zttranscode.c: In function ‘ztc_release’:
/root/asterisk/zaptel-1.4.0/zttranscode.c:208: error: invalid use of undefined type ‘struct page’ /root/asterisk/zaptel-1.4.0/zttranscode.c:209: error: invalid use of undefined type ‘struct page’ /root/asterisk/zaptel-1.4.0/zttranscode.c:210: error: increment of pointer to unknown structure /root/asterisk/zaptel-1.4.0/zttranscode.c:210: error: arithmetic on pointer to an incomplete type /root/asterisk/zaptel-1.4.0/zttranscode.c:211: error: implicit declaration of function ‘ClearPageReserved’
/root/asterisk/zaptel-1.4.0/zttranscode.c: In function ‘zt_tc_mmap’:
/root/asterisk/zaptel-1.4.0/zttranscode.c:370: error: dereferencing pointer to incomplete type /root/asterisk/zaptel-1.4.0/zttranscode.c:376: error: dereferencing pointer to incomplete type /root/asterisk/zaptel-1.4.0/zttranscode.c:376: error: dereferencing pointer to incomplete type /root/asterisk/zaptel-1.4.0/zttranscode.c:378: error: dereferencing pointer to incomplete type /root/asterisk/zaptel-1.4.0/zttranscode.c:378: error: dereferencing pointer to incomplete type /root/asterisk/zaptel-1.4.0/zttranscode.c:384: error: implicit declaration of function ‘remap_pfn_range’ /root/asterisk/zaptel-1.4.0/zttranscode.c:384: error: dereferencing pointer to incomplete type /root/asterisk/zaptel-1.4.0/zttranscode.c:384: error: ‘PAGE_SHARED’ undeclared (first use in this function) /root/asterisk/zaptel-1.4.0/zttranscode.c:384: error: (Each undeclared identifier is reported only once /root/asterisk/zaptel-1.4.0/zttranscode.c:384: error: for each function it appears in.)
make[3]: *** [/root/asterisk/zaptel-1.4.0/zttranscode.o] Error 1
make[2]: *** [_module_/root/asterisk/zaptel-1.4.0] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.19-1.2917.fc7-i686'
make[1]: *** [linux26] Error 2
make[1]: Leaving directory `/root/asterisk/zaptel-1.4.0'
make: *** [all] Error 2

Anyone have any ideas on this?

--
Steven Haigh

Email: netwiz@xxxxxxxxx
Web: http://www.crc.id.au
Phone: (03) 9017 0597 - 0412 935 897




--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]