[asterisk-dev] Dahdi not building under FC13?
Philip Prindeville
philipp_subx at redfish-solutions.com
Sun Jun 27 15:50:43 CDT 2010
On 6/27/10 2:37 PM, Oron Peled wrote:
> 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).
>
Yeah, sorry, I'm cross-compiling.
The cross-compile worked fine with F12. But breaks with F13.
Which is very odd, because very little changed between the two (or at
least, between F12-updated and F13 initial).
I'll try building everything again, including my toolchain from scratch.
-Philip
>
>> 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,
>
>
More information about the asterisk-dev
mailing list