[App_rpt-users] Dial on RPi - recompile after updates

Steve Zingman szingman at msgstor.com
Sat Jan 9 15:10:40 UTC 2016


David,
Not sure why you are getting the error. Lets go further. Worst case, you 
have to reload the image.
verify you have dahdi-linux-complete-current.tar.gz in /srv/download
if not:
cd /srv/download
wget 
https://github.com/N4IRS/AllStar/raw/master/dahdi-linux-complete-current.tar.gz
cd /usr/src/astsrc-1.4.23-pre
rm -rf dahdi-linux-complete
tar zxvf /srv/download/dahdi-linux-complete-current.tar.gz
mv dahdi-linux-complete* dahdi-linux-complete
/srv/scripts/build_dahdi.sh

Steve

On 01/09/2016 09:59 AM, David Osborn wrote:
> Thank you so much for the swift response, Steve. That's really appreciated.
> Unfortunately it's still in the wars :-(
>
> root at pi_repeater:/usr/src/astsrc-1.4.23-pre/dahdi-linux-complete# make clean
> make -C linux clean
> make[1]: Entering directory
> '/usr/src/astsrc-1.4.23-pre/dahdi-linux-complete/linux'
> make -C drivers/dahdi/firmware clean
> make[2]: Entering directory
> '/usr/src/astsrc-1.4.23-pre/dahdi-linux-complete/linux/drivers/dahdi/firmwar
> e'
> rm -f dahdi-fw-*.o
> make[2]: Leaving directory
> '/usr/src/astsrc-1.4.23-pre/dahdi-linux-complete/linux/drivers/dahdi/firmwar
> e'
> make -C
> M='/usr/src/astsrc-1.4.23-pre/dahdi-linux-complete/linux/drivers/dahdi/oct61
> 2x' clean
> make[2]: Entering directory
> '/usr/src/astsrc-1.4.23-pre/dahdi-linux-complete/linux'
> make[2]: ***
> M=/usr/src/astsrc-1.4.23-pre/dahdi-linux-complete/linux/drivers/dahdi/oct612
> x: No such file or directory.  Stop.
> make[2]: Leaving directory
> '/usr/src/astsrc-1.4.23-pre/dahdi-linux-complete/linux'
> Makefile:179: recipe for target 'clean' failed
> make[1]: *** [clean] Error 2
> make[1]: Leaving directory
> '/usr/src/astsrc-1.4.23-pre/dahdi-linux-complete/linux'
> Makefile:14: recipe for target 'clean' failed
> make: *** [clean] Error 2
>
> I fell at the first hurdle. The directory oct612x does exist, however, and
> it contains files.
>
> Any thoughts?
>
>
> -----Original Message-----
> From: Steve Zingman [mailto:szingman at msgstor.com]
> Sent: 09 January 2016 14:51
> To: David Osborn; app_rpt-users at ohnosec.org
> Subject: Re: [App_rpt-users] Dial on RPi - recompile after updates
>
> David,
> cd /usr/src/astsrc-1.4.23-pre/dahdi-linux-complete
> make clean
> make all
> make install
> make config
>
> 73, Steve N4IRS
>
> On 01/09/2016 09:46 AM, David Osborn wrote:
>> Hi all,
>>
>> I downloaded and installed the DIAL image for the RPi2 and it went in
>> a treat. Great work guys!
>>
>> What I did next broke it, but it is something that we all have to do
>> and I've done it many times with my Acid installs: I did an update to
>> the system.
>>
>> Just as with Acid, the updates broke Asterisk and it craps out after a
>> few
>> tries:
>>
>> [Jan  9 14:34:48] WARNING[300] chan_dahdi.c: Unable to open
>> '/dev/dahdi/pseudo': No such file or directory [Jan  9 14:34:48]
>> ERROR[300] chan_dahdi.c: Unable to dup channel: No such file or
>> directory [Jan  9 14:34:48] WARNING[301] chan_simpleusb.c: File
>> simpleusb_tune_usb.conf not found, device usb using default parameters.
>> [Jan  9 14:34:50] ERROR[269] app_rpt.c: Continual RPT thread restarts,
>> killing Asterisk
>>
>> I am guessing that Asterisk etc needs to be re-compiled. How do I go
>> about this? I tried running the rpi2 install script at
>> https://github.com/N4IRS/AllStar and answered "n" to repeated queries
>> about patches. Compilation appeared to succeed, but Asterisk still dies on
> me.
>> Thanks again for the work on this. I'm most impressed with the RPI2!
>>
>> David Osborn
>> GD4HOZ
>>
>>
>> _______________________________________________
>> App_rpt-users mailing list
>> App_rpt-users at ohnosec.org
>> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>>
>> To unsubscribe from this list please visit
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to
> the bottom of the page. Enter your email address and press the "Unsubscribe
> or edit options button"
>> You do not need a password to unsubscribe, you can do it via email
> confirmation. If you have trouble unsubscribing, please send a message to
> the list detailing the problem.
>
> --
> "Anything is possible if you don't know what you are talking about."
> 1st Law of Logic
>

-- 
"Anything is possible if you don't know what you are talking about."
1st Law of Logic




More information about the App_rpt-users mailing list