discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] README buglet


From: Greg Troxel
Subject: Re: [Discuss-gnuradio] README buglet
Date: Fri, 11 Aug 2006 16:49:00 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (berkeley-unix)

Eric Blossom <address@hidden> writes:

> GNU make shouldn't be required.  
> If there's currently a "feature" which does require it, we'll fix it.
> Can you track down the offending line in the Makefile and/or Makefile.am?

I'll have a look, and I attach "make -k" output after a first run of
make -k to build all that can be built.  I think it's gr-trellis/src/lib; the 
.i file is missing with BSD make.

fnord gdt 536 ~/ADROIT-public/gnuradio/gr-trellis/src/lib > make -n
/usr/pkg/bin/swig -c++ -fvirtual -python -modern  
-I../../../gnuradio-core/src/lib/runtime  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/reed-solomon  
-I../../../gnuradio-core/src/lib/io  -I../../../gnuradio-core/src/lib/g72x  
-I../../../gnuradio-core/src/lib/omnithread  
-I../../../gnuradio-core/src/lib/swig  -I../../../gnuradio-core/src/lib/swig  
-I/usr/pkg/include  -module trellis -o trellis.cc 
/usr/pkg/bin/swig -c++ -fvirtual -python -modern  
-I../../../gnuradio-core/src/lib/runtime  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/reed-solomon  
-I../../../gnuradio-core/src/lib/io  -I../../../gnuradio-core/src/lib/g72x  
-I../../../gnuradio-core/src/lib/omnithread  
-I../../../gnuradio-core/src/lib/swig  -I../../../gnuradio-core/src/lib/swig  
-I/usr/pkg/include  -module trellis -o trellis.cc 
make  all-am


fnord gdt 538 ~/ADROIT-public/gnuradio/gr-trellis/src/lib > gmake -n |head -1
/usr/pkg/bin/swig -c++ -fvirtual -python -modern  
-I../../../gnuradio-core/src/lib/runtime 
-I../../../gnuradio-core/src/lib/general 
-I../../../gnuradio-core/src/lib/general 
-I../../../gnuradio-core/src/lib/filter -I../../../gnuradio-core/src/lib/filter 
-I../../../gnuradio-core/src/lib/reed-solomon 
-I../../../gnuradio-core/src/lib/io -I../../../gnuradio-core/src/lib/g72x 
-I../../../gnuradio-core/src/lib/omnithread 
-I../../../gnuradio-core/src/lib/swig -I../../../gnuradio-core/src/lib/swig 
-I/usr/pkg/include    -module trellis -o trellis.cc trellis.i
gmake: *** [all] Error 141



> Which version of g++ ?

Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=i386-unknown-netbsdelf3.99.17 --host=i386--netbsdelf 
--target=i386--netbsdelf
Thread model: posix
gcc version 4.1.2 20060628 prerelease (NetBSD nb2 20060711)



>> /var/tmp//ccWtqH2F.s: Assembler messages:
>> /var/tmp//ccWtqH2F.s:1447: Warning: .stabs: description field '1fa31' too 
>> big, try a different debug format
>> /var/tmp//ccWtqH2F.s:1448: Warning: .stabs: description field '1fa36' too 
>> big, try a different debug format
>
> Can you try getting g++ to use dwarf2 instead of stabs?

I will look into this.


Also, ./configure fails to find py-wxWidgets because it invokes
'python', and NetBSD has only some of python2.3 and python2.4 (for 2.0
to 2.4).  It seems the main python check works, so probably the py-wx
check should use something like ${PYTHON} instead.  Even on systems
that have a default, this is scary because configure might have chosen
a non-default version (but maybe this can't happen).  My system has
2.3 and 2.4, and py24-wxWidggets.  I can python2.4 and 'import wx;'
with no errors.

make  all-recursive
Making all in config
Making all in gnuradio-core
Making all in src
Making all in gen_interpolator_taps
Making all in lib
Making all in missing
Making all in runtime
Making all in filter
make  all-am
Making all in general
make  all-am
Making all in g72x
Making all in reed-solomon
Making all in omnithread
Making all in io
Making all in .
Making all in swig
make  all-am
Making all in tests
Making all in python
Making all in gnuradio
Making all in gr
Making all in gru
Making all in gruimpl
Making all in blks
Making all in blksimpl
Making all in bin
Making all in doc
Making all in other
Making all in xml
mkdir -p html
Making all in gnuradio-examples
Making all in python
Making all in audio
Making all in channel-coding
Making all in digital_voice
Making all in gmsk2
Making all in mc4020
Making all in multi_usrp
Making all in usrp
Making all in usrp
Making all in host
Making all in misc
Making all in lib
make  all-am
Making all in swig
make  all-am
Making all in apps
Making all in firmware
Making all in include
Making all in lib
make: "/home/gdt/ADROIT-public/gnuradio/usrp/firmware/lib/Makefile" line 523: 
warning: duplicate script for target "%.rel" ignored
make: "/home/gdt/ADROIT-public/gnuradio/usrp/firmware/lib/Makefile" line 520: 
warning: using previous script for "%.rel" defined here
Making all in src
Making all in common
Making all in usrp2
make: "/home/gdt/ADROIT-public/gnuradio/usrp/firmware/src/usrp2/Makefile" line 
627: warning: duplicate script for target "%.rel" ignored
make: "/home/gdt/ADROIT-public/gnuradio/usrp/firmware/src/usrp2/Makefile" line 
624: warning: using previous script for "%.rel" defined here
make: "/home/gdt/ADROIT-public/gnuradio/usrp/firmware/src/usrp2/Makefile" line 
630: warning: duplicate script for target "%.rel" ignored
make: "/home/gdt/ADROIT-public/gnuradio/usrp/firmware/src/usrp2/Makefile" line 
624: warning: using previous script for "%.rel" defined here
make: "/home/gdt/ADROIT-public/gnuradio/usrp/firmware/src/usrp2/Makefile" line 
631: warning: duplicate script for target "%.rel" ignored
make: "/home/gdt/ADROIT-public/gnuradio/usrp/firmware/src/usrp2/Makefile" line 
624: warning: using previous script for "%.rel" defined here
Making all in fpga
Making all in rbf
Making all in doc
Making all in other
mkdir -p html
Making all in gr-usrp
Making all in src
make  all-am
Making all in gr-audio-oss
Making all in src
make  all-am
Making all in gr-atsc
Making all in src
Making all in lib
make  all-am
Making all in python
Making all in gr-error-correcting-codes
Making all in src
Making all in lib
make  all-recursive
Making all in libecc
Making all in mld
Making all in .
Making all in tests
if /bin/ksh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  -I. 
-I. -I../../..  -I../../../gnuradio-core/src/lib/runtime  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/reed-solomon  
-I../../../gnuradio-core/src/lib/io  -I../../../gnuradio-core/src/lib/g72x  
-I../../../gnuradio-core/src/lib/omnithread  
-I../../../gnuradio-core/src/lib/swig  -I../../../gnuradio-core/src/lib/swig  
-I/usr/pkg/include  -I/usr/pkg/include/python2.4  -I/usr/pkg/include   -g -O2 
-Wall -Woverloaded-virtual -pthread -MT ecc.lo -MD -MP -MF ".deps/ecc.Tpo" -c 
-o ecc.lo ecc.cc;  then mv -f ".deps/ecc.Tpo" ".deps/ecc.Plo"; else rm -f 
".deps/ecc.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I../../../gnuradio-core/src/lib/runtime 
-I../../../gnuradio-core/src/lib/general 
-I../../../gnuradio-core/src/lib/general 
-I../../../gnuradio-core/src/lib/filter -I../../../gnuradio-core/src/lib/filter 
-I../../../gnuradio-core/src/lib/reed-solomon 
-I../../../gnuradio-core/src/lib/io -I../../../gnuradio-core/src/lib/g72x 
-I../../../gnuradio-core/src/lib/omnithread 
-I../../../gnuradio-core/src/lib/swig -I../../../gnuradio-core/src/lib/swig 
-I/usr/pkg/include -I/usr/pkg/include/python2.4 -I/usr/pkg/include -g -O2 -Wall 
-Woverloaded-virtual -pthread -MT ecc.lo -MD -MP -MF .deps/ecc.Tpo -c ecc.cc  
-fPIC -DPIC -o .libs/ecc.o
ecc.cc: In function 'int SWIG_AsVal_bool(PyObject*, bool*)':
ecc.cc:4465: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc:4468: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc: In function 'PyObject* 
_wrap_x_vector_ecc_streams_encode_convolutional_sptr_erase__SWIG_0(PyObject*, 
PyObject*)':
ecc.cc:5936: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc: In function 'PyObject* 
_wrap_x_vector_ecc_streams_encode_convolutional_sptr_erase__SWIG_1(PyObject*, 
PyObject*)':
ecc.cc:5978: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc:5989: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc: In function 'PyObject* 
_wrap_x_vector_ecc_streams_encode_convolutional_sptr_erase(PyObject*, 
PyObject*)':
ecc.cc:6025: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc:6038: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc:6042: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc: In function 'PyObject* 
_wrap_x_vector_ecc_streams_encode_convolutional_sptr_insert__SWIG_0(PyObject*, 
PyObject*)':
ecc.cc:6381: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc: In function 'PyObject* 
_wrap_x_vector_ecc_streams_encode_convolutional_sptr_insert__SWIG_1(PyObject*, 
PyObject*)':
ecc.cc:6434: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc: In function 'PyObject* 
_wrap_x_vector_ecc_streams_encode_convolutional_sptr_insert(PyObject*, 
PyObject*)':
ecc.cc:6482: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc:6499: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc: In function 'PyObject* 
_wrap_metrics_decode_viterbi_full_block(PyObject*, PyObject*)':
ecc.cc:8581: error: conversion from 'int' to non-scalar type 'std::vector<int, 
std::allocator<int> >' requested
ecc.cc: In function 'PyObject* 
_wrap_ecc_make_metrics_decode_viterbi_full_block_feedback(PyObject*, 
PyObject*)':
ecc.cc:8687: error: conversion from 'int' to non-scalar type 'std::vector<int, 
std::allocator<int> >' requested
ecc.cc: In static member function 'static int swig::traits_asptr_stdseq<Seq, 
T>::asptr(PyObject*, Seq**) [with Seq = 
std::vector<boost::shared_ptr<ecc_streams_encode_convolutional>, 
std::allocator<boost::shared_ptr<ecc_streams_encode_convolutional> > >, T = 
boost::shared_ptr<ecc_streams_encode_convolutional>]':
ecc.cc:4301:   instantiated from 'static int 
swig::traits_asptr<std::vector<pdf_fcn_io_t, std::allocator<_CharT> > 
>::asptr(PyObject*, std::vector<pdf_fcn_io_t, std::allocator<_CharT> >**) [with 
T = boost::shared_ptr<ecc_streams_encode_convolutional>]'
ecc.cc:3218:   instantiated from 'int swig::asptr(PyObject*, Type**) [with Type 
= std::vector<boost::shared_ptr<ecc_streams_encode_convolutional>, 
std::allocator<boost::shared_ptr<ecc_streams_encode_convolutional> > >]'
ecc.cc:5137:   instantiated from here
ecc.cc:4255: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc: In static member function 'static int swig::traits_asptr_stdseq<Seq, 
T>::asptr(PyObject*, Seq**) [with Seq = std::vector<int, std::allocator<int> >, 
T = int]':
ecc.cc:4301:   instantiated from 'static int 
swig::traits_asptr<std::vector<pdf_fcn_io_t, std::allocator<_CharT> > 
>::asptr(PyObject*, std::vector<pdf_fcn_io_t, std::allocator<_CharT> >**) [with 
T = int]'
ecc.cc:3218:   instantiated from 'int swig::asptr(PyObject*, Type**) [with Type 
= std::vector<int, std::allocator<int> >]'
ecc.cc:6653:   instantiated from here
ecc.cc:4255: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
ecc.cc: In static member function 'static int 
swig::traits_asptr<Type>::asptr(PyObject*, Type**) [with Type = 
boost::shared_ptr<ecc_streams_encode_convolutional>]':
ecc.cc:3218:   instantiated from 'int swig::asptr(PyObject*, Type**) [with Type 
= boost::shared_ptr<ecc_streams_encode_convolutional>]'
ecc.cc:3340:   instantiated from 'static bool swig::traits_check<Type, 
swig::pointer_category>::check(PyObject*) [with Type = 
boost::shared_ptr<ecc_streams_encode_convolutional>]'
ecc.cc:3347:   instantiated from 'bool swig::check(PyObject*) [with Type = 
boost::shared_ptr<ecc_streams_encode_convolutional>]'
ecc.cc:3951:   instantiated from 'bool swig::PySequence_Cont<T>::check(bool) 
const [with T = boost::shared_ptr<ecc_streams_encode_convolutional>]'
ecc.cc:4243:   instantiated from 'static int swig::traits_asptr_stdseq<Seq, 
T>::asptr(PyObject*, Seq**) [with Seq = 
std::vector<boost::shared_ptr<ecc_streams_encode_convolutional>, 
std::allocator<boost::shared_ptr<ecc_streams_encode_convolutional> > >, T = 
boost::shared_ptr<ecc_streams_encode_convolutional>]'
ecc.cc:4301:   instantiated from 'static int 
swig::traits_asptr<std::vector<pdf_fcn_io_t, std::allocator<_CharT> > 
>::asptr(PyObject*, std::vector<pdf_fcn_io_t, std::allocator<_CharT> >**) [with 
T = boost::shared_ptr<ecc_streams_encode_convolutional>]'
ecc.cc:3218:   instantiated from 'int swig::asptr(PyObject*, Type**) [with Type 
= std::vector<boost::shared_ptr<ecc_streams_encode_convolutional>, 
std::allocator<boost::shared_ptr<ecc_streams_encode_convolutional> > >]'
ecc.cc:5137:   instantiated from here
ecc.cc:3208: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
*** Error code 1 (continuing)
`all-am' not remade because of errors.
Making all in python
Making all in gr-gsm-fr-vocoder
Making all in src
Making all in lib
make  all-recursive
Making all in gsm
Making all in .
Making all in python
Making all in gr-radar
Making all in src
Making all in lib
make  all-am
Making all in python
Making all in doc
Making all in gr-radio-astronomy
Making all in src
Making all in lib
make  all-am
Making all in python
Making all in gr-video-sdl
Making all in src
make  all-am
Making all in pmt
Making all in src
Making all in lib
make  all-am
Making all in gr-trellis
Making all in src
Making all in lib
/usr/pkg/bin/swig -c++ -fvirtual -python -modern  
-I../../../gnuradio-core/src/lib/runtime  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/reed-solomon  
-I../../../gnuradio-core/src/lib/io  -I../../../gnuradio-core/src/lib/g72x  
-I../../../gnuradio-core/src/lib/omnithread  
-I../../../gnuradio-core/src/lib/swig  -I../../../gnuradio-core/src/lib/swig  
-I/usr/pkg/include  -module trellis -o trellis.cc 
Must specify an input file. Use -help for available options.
*** Error code 1 (continuing)
/usr/pkg/bin/swig -c++ -fvirtual -python -modern  
-I../../../gnuradio-core/src/lib/runtime  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/general  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/filter  
-I../../../gnuradio-core/src/lib/reed-solomon  
-I../../../gnuradio-core/src/lib/io  -I../../../gnuradio-core/src/lib/g72x  
-I../../../gnuradio-core/src/lib/omnithread  
-I../../../gnuradio-core/src/lib/swig  -I../../../gnuradio-core/src/lib/swig  
-I/usr/pkg/include  -module trellis -o trellis.cc 
Must specify an input file. Use -help for available options.
*** Error code 1 (continuing)
`all' not remade because of errors.
Making all in python
-- 
    Greg Troxel <address@hidden>

Attachment: pgpoupyCKbfcm.pgp
Description: PGP signature


reply via email to

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