Build on ubuntu 14.04

Dear list,

I try to compile the new GR 3.7.4-git.

But it breaks with pybombs as well as with the script build-grc.sh
The job is done inside of a virtualbox-environment. host: win8.1, guest
ubuntu 14.04 + updates

Mem 1600 MB

cut of the script build-grc.sh log
-----------------8<--------------------------------
– CPU missing cvtpi32_ps, Overruled arch avx
– Check size of void*[8]
– Check size of void*[8] - done
– CPU width is 64 bits, Overruled arch 32
– Available architectures:
generic;64;3dnow;abm;popcount;mmx;sse;sse2;orc;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2
– Available machines:
generic_orc;sse2_64_mmx_orc;sse3_64_orc;ssse3_64_orc;sse4_a_64_orc;sse4_1_64_orc;sse4_2_64_orc
– BUILTTYPERELWITHDEBINFO
– Base cflags = -O2 -g -DNDEBUG
– BUILD INFO ::: generic_orc ::: GNU ::: -O2 -g -DNDEBUG
– BUILD INFO ::: sse2_64_mmx_orc ::: GNU ::: -O2 -g -DNDEBUG -m64
-mmmx -msse -msse2
– BUILD INFO ::: sse3_64_orc ::: GNU ::: -O2 -g -DNDEBUG -m64 -mmmx
-msse -msse2 -msse3
– BUILD INFO ::: ssse3_64_orc ::: GNU ::: -O2 -g -DNDEBUG -m64 -mmmx
-msse -msse2 -msse3 -mssse3
– BUILD INFO ::: sse4_a_64_orc ::: GNU ::: -O2 -g -DNDEBUG -m64 -mmmx
-msse -msse2 -msse3 -msse4a -mpopcnt
– BUILD INFO ::: sse4_1_64_orc ::: GNU ::: -O2 -g -DNDEBUG -m64 -mmmx
-msse -msse2 -msse3 -mssse3 -msse4.1
– BUILD INFO ::: sse4_2_64_orc ::: GNU ::: -O2 -g -DNDEBUG -m64 -mmmx
-msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt
– Compiler Version: cc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright © 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
– Loading build date Thu, 22 May 2014 18:56:46 into constants…
– Loading version 0.1 into constants…
– Using install prefix: /usr/local
– ENABLE_GR_LOG set to ON.
– HAVE_LOG4CPP set to False.
– LOG4CPP_LIBRARIES set to .
-----------------8<--------------------------------
and some lines down during config of gnuradio
-----------------8<--------------------------------
– Boost version: 1.54.0
– Found the following Boost libraries:
– date_time
– program_options
– filesystem
– system
– thread
– Enabling use of known bad versions of Boost.

– Python checking for wx >= 2.8
– Python checking for wx >= 2.8 - found

– Python checking for numpy
– Python checking for numpy - found

– Configuring gr-wxgui support…
– Dependency ENABLE_GNURADIO_RUNTIME = ON
– Dependency ENABLE_GR_FFT = ON
– Dependency ENABLE_GR_FILTER = ON
– Dependency ENABLE_GR_ANALOG = ON
– Dependency ENABLE_PYTHON = ON
– Dependency NUMPY_FOUND = TRUE
– Dependency WX_FOUND = TRUE
– Enabling gr-wxgui support.
– Override with -DENABLE_GR_WXGUI=ON/OFF

– ######################################################
– # Gnuradio enabled components
– ######################################################
– * python-support
– * testing-support
– * volk
– * doxygen
– * gnuradio-runtime
– * gr-blocks
– * gnuradio-companion
– * gr-fec
– * gr-fft
– * gr-filter
– * gr-analog
– * gr-digital
– * gr-atsc
– * gr-audio
– * gr-channels
– * gr-noaa
– * gr-pager
– * gr-qtgui
– * gr-trellis
– * gr-uhd
– * gr-utils
– * gr-video-sdl
– * gr-vocoder
– * gr-fcd
– * gr-wavelet
– * gr-wxgui

– ######################################################
– # Gnuradio disabled components
– ######################################################
– * sphinx
– * gr-ctrlport
– * gr-comedi

– Using install prefix: /usr/local
– Building for version: 3.7.3 / 3.7.3
– Configuring done
– Generating done
– Build files have been written to:
/home/hartje/Dokumente/devel/gr/gnuradio/build
…Building
[ 1%] Generating volk_machine_sse4_2_64_orc.c

-----------------8<--------------------------------
and at the end
-----------------8<--------------------------------
[ 37%] Generating doxygen xml for blocks_swig2_doc docs
Warning: Tag `SYMBOL_CACHE_SIZE’ at line 289 of file
/home/hartje/Dokumente/devel/gr/gnuradio/build/gr-blocks/swig/blocks_swig2_doc_swig_docs/Doxyfile
has become obsolete.
To avoid this warning please remove this line from your configuration
file or upgrade it using “doxygen -u”
Warning: doxygen no longer ships with the FreeSans font.
You may want to clear or change DOT_FONTNAME.
Otherwise you run the risk that the wrong font is being used for dot
generated graphs.
[ 37%] Generating python docstrings for blocks_swig2_doc
[ 37%] Built target blocks_swig2_swig_doc
Scanning dependencies of target _blocks_swig2_swig_tag
[ 37%] Building CXX object
gr-blocks/swig/CMakeFiles/_blocks_swig2_swig_tag.dir/_blocks_swig2_swig_tag.cpp.o
Linking CXX executable _blocks_swig2_swig_tag
[ 37%] Built target _blocks_swig2_swig_tag
[ 37%] Generating blocks_swig2.tag
[ 37%] Swig source
Scanning dependencies of target _blocks_swig2
[ 37%] Building CXX object
gr-blocks/swig/CMakeFiles/_blocks_swig2.dir/blocks_swig2PYTHON_wrap.cxx.o
c++: internal compiler error: Gettet (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: ***
[gr-blocks/swig/CMakeFiles/_blocks_swig2.dir/blocks_swig2PYTHON_wrap.cxx.o]
Fehler 4
make[1]: *** [gr-blocks/swig/CMakeFiles/_blocks_swig2.dir/all] Fehler 2
make: *** [all] Fehler 2
make failed
Exiting Gnu Radio build/install

-----------------8<--------------------------------

the error is similar, wenn I try to use the script
build-grc.sh gnuradio_buld

I like to ask for some help how to get further – I am not sure if the
mentioned error report is the only way or some other people had similar
observations

many thanks for (the expected) help


mit freundlichen Gren
M. Hartje

Prof. Dr.-Ing. Michael H.
Labor Hochspannungstechnik / Labor elektrische Messtechnik
Neustadtswall 30;
D-28199 Bremen
Tel +49 421 5905-3444 FAX +49 421 5905-3476

Hi Michael,

build-grc.sh is not known to me; I think you’re referring to
build-gnuradio? (grc is short for GNU Radio Companion, the graphical
Flowgraph Designer included in GNU Radio).

There have been problems with builds on Ubuntu 14.04.

However, your output indicates no error; so I’m not quite sure how to
help you. Maybe put the complete log somewhere on pastebin or
gist.github.com?
By the way, pybombs is the recommended way to go for modern systems.

If you really just want a running Linux VM with GNU Radio installed, try
the LiveDVD images:
http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioLiveDVD

Greetings,
Marcus

I don’t know if this is the same problem I have seen building on ARM
with low memory and no swap.

The build was failing silently with just the cc1plus error.
Gnuradio needs at least 4GB of swap.

Apologies if neither of the above applies.
73 … Sid.

On 25/05/14 10:29, Michael H. wrote:

cut of the script build-grc.sh log
– Base cflags = -O2 -g -DNDEBUG
-msse -msse2 -msse3 -mssse3 -msse4.1
– HAVE_LOG4CPP set to False.
– thread
– Enabling use of known bad versions of Boost.


Sid B. … Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

Hi Michael and Sid,

how many compiler threads are you spawning? When you use 1 (i.e. make
-j1), is this still a problem?

M

And what is the size of the VM disk limited to and how much RAM have you
allowed it? The step you are showing as exiting in (SWIG) requires lots
of
resources in building gnuradio. I hate SWIG, but have no idea what in
the
world we would do without it.

On ARM it was with 4 threads initially then re-running with 1 thread
gave the same error.

That 3.0.6x distro kernel was built without swap so I had to build and
install a new kernel with swap.
The first go with 2GB swap also failed and I had to make another 2GB
swap file and add it with swapon.

The base memory is 1GB and with a 4GB swapfile enabled in /etc/fstab I
have had no more problems building gnuradio 3.6.5 and a while back
3.7.3git.
73 … Sid.

On 26/05/14 09:08, Martin B. wrote:

I try to compile the new GR 3.7.4-git.
– Check size of void*[8]
– BUILD INFO ::: generic_orc ::: GNU ::: -O2 -g -DNDEBUG
– BUILD INFO ::: sse4_2_64_orc ::: GNU ::: -O2 -g -DNDEBUG -m64 -mmmx
– ENABLE_GR_LOG set to ON.
– system
– thread
– Enabling use of known bad versions of Boost.


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Sid B. … Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

Cython?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs