[asterisk-dev] Dahdi not building under FC13?

Oron Peled oron.peled at xorcom.com
Sun Jun 27 15:37:23 CDT 2010


On Sunday, 27 בJune 2010 22:25:35 Philip Prindeville wrote:
> I'm building 1.6.2.9 and it was building fine with FC12, but as soon as 
> I upgraded to FC13 it started dying in dahdi:

Just tested it on my F13 and it compiles cleanly (without a single
warning, not to mention errors).

> make -C /home/philipp/kernel/build_i586/linux-2.6.27.42-astlinux 
SUBDIRS=/home/philipp/kernel/build_i586/dahdi-linux-2.3.0.1/drivers/dahdi 
DAHDI_INCLUDE=/home/philipp/kernel/build_i586/dahdi-linux-2.3.0.1/include 
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
> make[2]: Entering directory 
`/home/philipp/kernel/build_i586/linux-2.6.27.42-astlinux'

Hmmm... this is definitely not a F13 kernel. My current up to date F13
kernel version is:
    2.6.33.5-124.fc13.i686.PAE
Even my other F12 box has:
    2.6.32.12-115.fc12.i686.PAE

A 2.6.27 is ancient history for Fedora ;-)

So you probably try to use Fedora as a build platform a non-Fedora
kernel, belonging to a different distribution (this is OK, but you
didn't mention it).

>    Building modules, stage 2.
>    MODPOST 30 modules
> /bin/sh: line 1:  8488 Segmentation fault      (core dumped) 
scripts/mod/modpost -m -i /home/philipp/kernel/build_i586/linux-2.6.27.42-
astlinux/Module.symvers -I /home/philipp/kernel/build_i586/dahdi-
linux-2.3.0.1/drivers/dahdi/Module.symvers -o ...

The offender is modpost which bombs out...

A wild guess -- you have an old kernel tree and you use its binaries
(in the scripts/ subdirectories) to build new DAHDI-linux. The best
shot is to make a complete 'distclean' of the kernel itself,
reconfigure and re-build it -- only than try to build DAHDI-linux
against this kernel.

Cheers,

-- 
Oron Peled                                 Voice: +972-4-8228492
oron at actcom.co.il                  http://users.actcom.co.il/~oron
"The wonderful thing about standards is that there are so many of
them to choose from."
                                -- Grace Murray Hopper



More information about the asterisk-dev mailing list