[asterisk-dev] Problem building Zaptel 1.4 from SVN

Patrick asterisk-list at puzzled.xs4all.nl
Mon Feb 12 22:18:52 MST 2007


On Tue, 2007-02-13 at 16:55 +1300, Matt Riddell (NZ) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Another problem on another machine today, this time a Fedora Core 5 box:
> 
> Linux ocean 2.6.18-1.2257.fc5smp #1 SMP Fri Dec 15 16:33:51 EST 2006
> i686 i686 i386 GNU/Linux
> 
> make[1]: Entering directory `/usr/src/1.4.branch/zaptel'
> make -C /lib/modules/2.6.18-1.2257.fc5smp/build
> SUBDIRS=/usr/src/1.4.branch/zaptel HOTPLUG_FIRMWARE=yes modules
> make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2257.fc5-smp-i686'
>   CC [M]  /usr/src/1.4.branch/zaptel/zaptel.o
> 
>   CC [M]  /usr/src/1.4.branch/zaptel/xpp/card_fxo.o
>   CC [M]  /usr/src/1.4.branch/zaptel/xpp/card_fxs.o
>   CC [M]  /usr/src/1.4.branch/zaptel/xpp/xbus-core.o
> /usr/src/1.4.branch/zaptel/xpp/xbus-core.c: In function â??debugfs_openâ??:
> /usr/src/1.4.branch/zaptel/xpp/xbus-core.c:171: error: â??struct
> inodeâ?? has no member named â??uâ??
> make[4]: *** [/usr/src/1.4.branch/zaptel/xpp/xbus-core.o] Error 1
> make[3]: *** [/usr/src/1.4.branch/zaptel/xpp] Error 2
> make[2]: *** [_module_/usr/src/1.4.branch/zaptel] Error 2
> make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2257.fc5-smp-i686'
> make[1]: *** [linux26] Error 2
> make[1]: Leaving directory `/usr/src/1.4.branch/zaptel'
> make: *** [all] Error 2

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

Regards,
Patrick



More information about the asterisk-dev mailing list