Hi,
am building the latest version of Asterisk (1.4.13) on a self-build
Linux host (based on LFS-6.3).
Version 1.4.12 built installed and worked fine. Last night I upgraded
the kernel to 2.6.23 and rebuilt the zaptel driver package 1.4.5.1
against it. That seemed to build and install O.K. too.
I dl'd the 1.4.13 source tarball and tried to build that:
./configure ran O.k. 'make menuselect' was O.K. During 'make'
however,
gcc segfaulted.
After the crash, to validate my host environment, I re-built Asterisk
version 1.4.12 against the exact same system (without restarting the
host) and that built fine.
My host's details: glibc-2.5.1, gcc-4.2.1, binutils-2.17.
Here's the last few lines of output before it crashed:
[CC] res_smdi.c -> res_smdi.o
[LD] res_smdi.o -> res_smdi.so
[CC] res_speech.c -> res_speech.o
[LD] res_speech.o -> res_speech.so
[CC] chan_agent.c -> chan_agent.o
[LD] chan_agent.o -> chan_agent.so
[CC] chan_iax2.c -> chan_iax2.o
[CC] iax2-parser.c -> iax2-parser.o
[CC] iax2-provision.c -> iax2-provision.o
[LD] chan_iax2.o iax2-parser.o iax2-provision.o -> chan_iax2.so
[CC] chan_local.c -> chan_local.o
[LD] chan_local.o -> chan_local.so
[LD] gentone.c -> gentone
./gentone busy 480 620
Wavelength 1 (in samples): 16.66667
Minimum samples (1): 50 (3.000000.3 wavelengths)
Wavelength 1 (in samples): 12.90323
Minimum samples (1): 400 (31.000000.3 wavelengths)
Need 400 samples
Wrote busy.h
./gentone ringtone 440 480
Wavelength 1 (in samples): 18.18182
Minimum samples (1): 200 (11.000000.3 wavelengths)
Wavelength 1 (in samples): 16.66667
Minimum samples (1): 50 (3.000000.3 wavelengths)
Need 200 samples
Wrote ringtone.h
[CC] chan_oss.c -> chan_oss.o
[LD] chan_oss.o -> chan_oss.so
[CC] chan_phone.c -> chan_phone.o
[LD] chan_phone.o -> chan_phone.so
[CC] chan_sip.c -> chan_sip.o
[LD] chan_sip.o -> chan_sip.so
[CC] chan_zap.c -> chan_zap.o
chan_zap.c: In function ?process_zap?:
chan_zap.c:11149: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [chan_zap.o] Error 1
make: *** [channels] Error 2
(FYI, my configure line was ./configure --prefix=/usr --sysconfdir=/etc
--localstatedir=/var. I am installing to a DESTDIR currently, as I am
trying to document a sane build process where I can run Asterisk as
non-root. I am also planning to submit my docs to the BLFS team,
hopefully for inclusion in their book at some later date)
If I can help further just let me know. For now, I will go back to 1.4.12.
Cheers
Alan
--
The way out is open!
http://www.theopensourcerer.com