discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Problem compiling on "Raspbian wheezy".


From: Andrew Back
Subject: [Discuss-gnuradio] Problem compiling on "Raspbian wheezy".
Date: Thu, 19 Jul 2012 13:09:22 +0100

Hello,

I'm trying to compile a fresh copy of GNU Radio from Git on a
Raspberry Pi running Raspbian wheezy [1] and encountering some
problems. I seem to have got round the first by setting -mfpu neon
when running cmake:

    cmake -DCMAKE_CXX_FLAGS:STRING="-mfpu=neon"
-DCMAKE_C_FLAGS:STRING="-mfpu=neon" ../

But now it's crashing out at 68% when "Generating
atsci_viterbi_mux.cc" — paste below.

Can anyone suggest a possible fix? And let me know if more
debug/environment information is required.

Regards,

Andrew

[1] http://www.raspberrypi.org/downloads

Build error:

Updating goal targets....
Considering target file `gr-atsc/src/lib/CMakeFiles/gnuradio-atsc.dir/depend'.
 File `gr-atsc/src/lib/CMakeFiles/gnuradio-atsc.dir/depend' does not exist.
  Considering target file `gr-atsc/src/lib/atsci_viterbi_mux.cc'.
   File `gr-atsc/src/lib/atsci_viterbi_mux.cc' does not exist.
    Considering target file `gr-atsc/src/lib/atsci_viterbi_gen'.
     Finished prerequisites of target file `gr-atsc/src/lib/atsci_viterbi_gen'.
    No need to remake target `gr-atsc/src/lib/atsci_viterbi_gen'.
   Finished prerequisites of target file `gr-atsc/src/lib/atsci_viterbi_mux.cc'.
  Must remake target `gr-atsc/src/lib/atsci_viterbi_mux.cc'.
[ 68%] Generating atsci_viterbi_mux.cc
Illegal instruction
make[2]: *** [gr-atsc/src/lib/atsci_viterbi_mux.cc] Error 132
make[1]: *** [gr-atsc/src/lib/CMakeFiles/gnuradio-atsc.dir/all] Error 2
make: *** [all] Error 2

Environment:

address@hidden ~/SW/GR/gnuradio/build $ uname -a
Linux raspberrypi 3.1.9+ #168 PREEMPT Sat Jul 14 18:56:31 BST 2012
armv6l GNU/Linux
address@hidden ~/SW/GR/gnuradio/build $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian
4.6.3-8+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc
--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 4.6.3 (Debian 4.6.3-8+rpi1)

-- 
Andrew Back
http://carrierdetect.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]