Newbie asterisk build


#1

I want to build asterisk from the 1.0.9 stable tarballs. :smile:

I tried to follow these instructions:
[color=darkblue][ul]http://www.digium.com/downloads/quick_install_zaptel_asterisk.pdf
[/ul][/color]
I started with a fresh install of RedHat 9 linux
on a box with digium card. I did a
[color=darkblue][ul]rpm -q kernel-sources zlib zlib-devel openssl openssl-devel[/ul][/color]
and verified the requisite packages were installed.
I uncompressed and unraveled the zaptel tarball with
[color=darkblue][ul]tar -xzf zaptel-1.0.9.2.tar.gz[/ul][/color]
followed by:
[color=darkblue][ul]cd zaptel-1.9.0.2
make clean;make install[/ul][/color]
This resulted in lots similar to the following:
[color=darkblue][ul]/usr/bin/ld /usr/lib/crtn.o: invalid string offset 1>0 for section ' /usr/bin/ld /usr/lib/crtn.o: invalid string offset 4>0 for section.shstrtab’ [/ul][/color]
with the final show stopper :frowning:
[color=darkblue][ul]./gendigits make[1]: *** [tones.h] segmentation fault[/ul][/color]
What do I need to fix in order to get a clean make on these tarballs
on a RedHat 9 box?

Thanks.


#2

Here is some onfo on redhat 9 install

voip-info.org/wiki/index.php … nux+Redhat


#3

Sorry, I should have been more specific on what I tried to do.

I tried to build asterisk from these 1.0.9 stable tarballs
ftp.digium.com/pub/asterisk/aste … 0.9.tar.gz
ftp.digium.com/pub/zaptel/zaptel-1.0.9.2.tar.gz
ftp.digium.com/pub/libpri/libpri-1.0.9.tar.gz
ftp.digium.com/pub/asterisk/aste … 0.9.tar.gz
ftp.digium.com/pub/asterisk/aste … 0.9.tar.gz

I tried following these instructions:
digium.com/downloads/quick_i … terisk.pdf
voip-info.org/wiki/index.php … nux+Redhat
members.lycos.co.uk/wipe_out/ast … l-v1.3.pdf

I tried starting with a fresh install of RedHat 9 linux
on a box with digium card. I did a rpm -q
and verified all of the requisite packages were installed
from this list of RPMs.
voip-info.org/wiki/index.php … terisk+RPM

I uncompressed and unraveled the zaptel tarball with

tar -xzf zaptel-1.0.9.2.tar.gz

followed by:

cd zaptel-1.9.0.2
make config;make clean;make install

This resulted in lots similar to the following:

/usr/bin/ld /usr/lib/crtn.o: invalid string offset 1>0 for section ' /usr/bin/ld /usr/lib/crtn.o: invalid string offset 4>0 for section.shstrtab’

with the final show stopper

./gendigits make[1]: *** [tones.h] segmentation fault

What do I need to fix in order to get a clean make on these tarballs
on a RedHat 9 box?


#4

Did some searching here
google.com/search?hl=en&lr=& … tnG=Search

found several compile problems but nothing that looks specific to your problem sorry :cry:


#5

Thanks for the link.
I searched there and also
linuxquestions.org/questions/search.php
and similar sites because I hate to post dumb questions.
I also tried to find info on crtn.o library thinking there
must be an updated one that would work.