[App_rpt-users] Build Allstar on Raspbian Stretch?

Dan Srebnick k2dls at k2dls.net
Thu Oct 19 06:13:40 UTC 2017


Turned out to be a header issue.  The current kernel does not have a
corresponding header package, rather it has to be fetched via git.


On Wed, 2017-10-18 at 13:31 -0400, Dan Srebnick wrote:
> Has anyone successfully built Allstar on a fresh Debian Stretch?
> 
> My attempt fails on Dahdi:
> 
> Unpacking dahdi-linux-complete-dkms (2.10.2+2.10.2) over
> (2.10.2+2.10.2) ...
> Setting up dahdi-linux-complete-dkms (2.10.2+2.10.2) ...
> Loading new dahdi-linux-complete-2.10.2+2.10.2 DKMS files...
> It is likely that 4.9.56+ belongs to a chroot's host
> Building for 3.6-trunk-rpi, 4.9.41+, 4.9.41-v7+, 4.9.56+ and 4.9.56-
> v7+
> Building for architecture armhf
> Building initial module for 3.6-trunk-rpi
> Error! Bad return status for module build on kernel: 3.6-trunk-rpi
> (armhf)
> Consult /var/lib/dkms/dahdi-linux-
> complete/2.10.2+2.10.2/build/make.log 
> for more information.
> 
> The failure may have something to do with gcc treating warnings as
> errors by default.
> 
> Unpacking dahdi-linux-complete-dkms (2.10.2+2.10.2) over
> (2.10.2+2.10.2) ...
> Setting up dahdi-linux-complete-dkms (2.10.2+2.10.2) ...
> Loading new dahdi-linux-complete-2.10.2+2.10.2 DKMS files...
> It is likely that 4.9.56+ belongs to a chroot's host
> Building for 3.6-trunk-rpi, 4.9.41+, 4.9.41-v7+, 4.9.56+ and 4.9.56-
> v7+
> Building for architecture armhf
> Building initial module for 3.6-trunk-rpi
> Error! Bad return status for module build on kernel: 3.6-trunk-rpi
> (armhf)
> Consult /var/lib/dkms/dahdi-linux-
> complete/2.10.2+2.10.2/build/make.log 
> for more information.
> 
> 
> cc1: all warnings being treated as errors
> <builtin>: recipe for target 'astribank_usb.o' failed
> make[2]: *** [astribank_usb.o] Error 1
> make[2]: Leaving directory '/var/lib/dkms/dahdi-linux-
> complete/2.10.2+2.10.2/build/tools/xpp'
> Makefile:138: recipe for target 'utils-subdirs' failed
> make[1]: *** [utils-subdirs] Error 2
> make[1]: Leaving directory '/var/lib/dkms/dahdi-linux-
> complete/2.10.2+2.10.2/build/tools'
> Makefile:9: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> 
> gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper
> Target: arm-linux-gnueabihf
> Configured with: ../src/configure -v --with-pkgversion='Raspbian
> 6.3.0-
> 18+rpi1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --
> enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --
> prefix=/usr 
> --program-suffix=-6 --program-prefix=arm-linux-gnueabihf- --enable-
> shared --enable-linker-build-id --libexecdir=/usr/lib --without-
> included-gettext --enable-threads=posix --libdir=/usr/lib --enable-
> nls
> --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --
> enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-
> gnu-unique-object --disable-libitm --disable-libquadmath --enable-
> plugin --with-system-zlib --disable-browser-plugin --enable-java-
> awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-
> gcj-6-armhf/jre --enable-java-home --with-jvm-root-
> dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf --with-jvm-jar-
> dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf --with-arch-
> directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-
> target-system-zlib --enable-objc-gc=auto --enable-multiarch --
> disable-
> sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --
> enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-
> gnueabihf --target=arm-linux-gnueabihf
> Thread model: posix
> gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1) 
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at lists.allstarlink.org
> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
> 
> To unsubscribe from this list please visit http://lists.allstarlink.o
> rg/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. 



More information about the App_rpt-users mailing list