discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gnuradio_swig_python.cc:133570: error: invalid co


From: Don Ward
Subject: Re: [Discuss-gnuradio] gnuradio_swig_python.cc:133570: error: invalid conversion from `const char*' to `char*'
Date: Fri, 5 Oct 2007 19:33:20 -0400


----- Original Message ----- From: "Tomek" <address@hidden>
Sent: Friday, October 05, 2007 11:28 AM


Hey!

need some more help with gnuradio on cygwin.

I´m still following the "Installing GNU Radio with Cygwin" and the only problem so war war that i couldn´t get wxPython to work because the "patch -p0 -b -i config.patch" command is always telling me:

$ patch -p0 -b -i config.patch
patch: **** Only garbage was found in the patch input..

but the instruction sais wxPython is not necessary so I went on. Everything worked until i run make it tells me:


f::_attack_rate' will be initialized after
../../../../gnuradio-core/src/lib/general/gri_agc2_ff.h:82: warning: `float gr
i_agc2_ff::_decay_rate'
../../../../gnuradio-core/src/lib/general/gri_agc2_ff.h:40: warning: when init
ialized here
gnuradio_swig_python.cc: In function `void SWIG_Python_FixMethods(PyMethodDef*,
swig_const_info*, swig_type_info**, swig_type_info**)':
gnuradio_swig_python.cc:133570: error: invalid conversion from `const char*' to
`char*'
make[6]: *** [gnuradio_swig_python.lo] Error 1
make[6]: Leaving directory `/usr/src/gnuradio-3.0.4/gnuradio-core/src/lib/swig'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/usr/src/gnuradio-3.0.4/gnuradio-core/src/lib/swig'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/gnuradio-3.0.4/gnuradio-core/src/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gnuradio-3.0.4/gnuradio-core/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gnuradio-3.0.4/gnuradio-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnuradio-3.0.4'
make: *** [all] Error 2



can anyone give me a hint what to do and how to fix this? Could it be that i have not installed wxPython correctly like i mentionen above?

This is not a wxPython problem (I'll look into that, though).

What version of swig is reported by "swig -version"?
What version of gcc is reported with "gcc --version"?
What is reported for CFLAGS by "fgrep CFLAGS config.log"?

The combination of swig 1.3.31, gcc 3.4.4, and CFLAGS='-g -O2 -Wall ' works for me, but you need to install swig yourself to get 1.3.31 on Cygwin.

-- Don W.





reply via email to

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