discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Problem building ecc.cc


From: Tom Rondeau
Subject: [Discuss-gnuradio] Problem building ecc.cc
Date: Thu, 10 Aug 2006 14:36:44 -0400

So after a few weeks of working on my cognitive radio code, I've finally
gotten back to some GNU Radio work (just got a few new RF boards in and I'm
itching to do some networking). I've just today moved to the SVN code base,
and two out of three machines successfully installed everything on the first
try, but my third machine is having a problem with the ecc.cc file. The only
difference in the machines is that the two building successfully use gcc
3.4.6 and the machine failing is gcc 4.1.1. The list of errors being
generated is posted below.

(I'm going to switch the other machine back to gcc 3.4.6 to keep everyone
consistent, but if this is in fact a problem with the gcc version, I thought
it should be known.)

By the way, to all those involved (Johnathan especially), great job
switching to Subversion. It's working much nicer now.

Tom



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/include/python2.4 -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, 
T>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
make[6]: *** [ecc.lo] Error 1





reply via email to

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