[App_rpt-users] compiling asterisk
George Csahanin
george at dyb.com
Sat Mar 23 12:19:48 UTC 2019
Mike, I really hate Arch Linux... and will never use “brand x” distro with all their Chinese simplex nodes...
That said, my third message yesterday was that I did finally get it to compile but needed to de-select simpleusb. Something is funny with the makefile for that. And the issue just isn’t jumping out at me. I also had to change permissions on all the files in the sources. In haste I just made them all 777. Still didn’t work till I also chmod -R .* at which point the only problem was simpleusb. I need that but I’m limping along with usbradio fir now, but it has the usual “holes” in the audio.
I followed the instructions in the README file.
Like I said, when I’d pull the sources from Jim Duuuude’s SVN in the past it all compiled ok.
Thanks fir the suggestions but the only issue I see now is simpleusb. I figured out the work around fir the rest. And I ran this all as root. Hate sudo...
GeorgeC W2DB
George Csahanin
Retired
Sent from my iPhone
> On Mar 22, 2019, at 4:36 PM, Mike <mm at midnighteng.com> wrote:
>
> 2 questions....
>
> Are you using a HamVOIP image ?
> if not
> Did you place a hold on the kernel headers before applying updates ?
>
> http://dvswitch.org/files/ASL_Images/Raspberry_Pi/Stretch/ASL_1.01-20180228-armhf-raspbian-stretch-image.readme
>
> Login: repeater
> Passsword: allstarlink
> SSH port: 22
> User repeater has sudo privileges (sudo -s)
>
> There may have been updates to the operating system and AllStarLink since this image was built.
> Run the following commands after the first time you boot.
>
> sudo apt-mark hold raspberrypi-kernel-headers raspberrypi-kernel
> sudo apt-get update
> sudo apt-get upgrade -y
> sudo reboot
>
> at the # prompt run "asl-menu" to setup your node.
>
> ...mike/kb8jnm
>
>> On 3/22/2019 4:35 PM, George Csahanin wrote:
>> OK folks. I've tried everything I know how to do to recompile asterisk with my mod to app_rpt.c and am at wit's end. Just tried fresh today on a fresh install of the Allstarlink 1.01 on a Pi3 (the distro works fine). I made sure that gcc and g++ 4.9 were installed. Then did:
>> git clone https://github.com/AllStarLink/Asterisk.git
>> Then in asterisk/ did ./configure CXX=g++-4.9 CC=gcc-4.9
>> Then did make
>> Blows up. Needed to delete menuselect.makeopts (not unusual) so deleted and start over.
>> Blows up at need termcap...I re-installed libncurses-dev
>> Gets past that and blows up at chan_pi, go into menuselect and unselect pi, try again
>> Blows up now at chan_beagle, unslect that and try again
>> Blows up at chan_simpleusb, unselect try again
>> Blows up at:
>> Makefile:361:recipe for target "main" failed
>> Running this as root. Also for grins (assuming a permissions issue) did chmod -R 777 *
>> Didn't help.
>> The README says this is what was used to make 1.01
>> WHAT am I doing incorrectly??
>> Used to be I'd recompile asterisk with zero issues.
>> Can anyone give me any pointers?
>> GeorgeC W2DB 2360, 28599, etc
>
More information about the App_rpt-users
mailing list