[asterisk-dev] Problem building Zaptel 1.4 from SVN

Matt Riddell (NZ) matt.riddell at sineapps.com
Wed Feb 21 18:58:23 MST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tzafrir Cohen wrote:
> On Tue, Feb 13, 2007 at 04:55:21PM +1300, Matt Riddell (NZ) wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Another problem on another machine today, this time a Fedora Core 5 box:
> 
> Can you confirm that the original patch (defined(...)) is working?

For the Fedora Core 6 machine the following change worked:

Change

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)

to

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)

in xpp/xbus-core.c

For the Fedora Core 5 Machine (the other error) the following worked:

Index: xpp/xpd.h
===================================================================
- --- xpp/xpd.h   (revision 2128)
+++ xpp/xpd.h   (working copy)
@@ -46,11 +46,8 @@

 #ifdef __KERNEL__
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
- -/* pretend every 2.6.9 is later RHEL */
- -#if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,9)
 typedef        unsigned gfp_t;         /* Added in 2.6.14 */
 #endif
- -#endif

- --
Cheers,

Matt Riddell
Director
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://wap.sineapps.com (Daily Asterisk News for your cellphone)
http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF3Pi+S6d5vy0jeVcRAjPJAJ9iT4EINooUWd0hjZGUJDNY7GfwpQCfYAo5
Ts31D41x7jOfd9hkG+bcrnU=
=IGS0
-----END PGP SIGNATURE-----


More information about the asterisk-dev mailing list