Forum: GNU Radio New svn version

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Catalin LACATUS (Guest)
on 2008-11-25 00:56
(Received via mailing list)
Hello,

I tried to recompile the new svn (updated 2days ago) version and I got
the following errors. I never see this error with previous version
(about 2weeks old). Please let me know how can I solve this problem.

Thank you,

Catalin

**********************************************Error*******************


gpio_swig.cc:3594:63: error: gnuradio_swig_bug_workaround.h: No such
file or directory
gpio_swig.cc: In function ‘void*
_p_gr_sync_decimatorTo_p_gr_basic_block(void*)’:
gpio_swig.cc:4466: error: ‘gr_sync_decimator’ was not declared in this
scope
gpio_swig.cc:4466: error: expected primary-expression before ‘void’
gpio_swig.cc:4466: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void*
_p_gr_sync_interpolatorTo_p_gr_basic_block(void*)’:
gpio_swig.cc:4481: error: ‘gr_sync_interpolator’ was not declared in
this scope
gpio_swig.cc:4481: error: expected primary-expression before ‘void’
gpio_swig.cc:4481: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void*
_p_gr_sync_decimatorTo_p_gr_sync_block(void*)’:
gpio_swig.cc:4487: error: ‘gr_sync_decimator’ was not declared in this
scope
gpio_swig.cc:4487: error: expected primary-expression before ‘void’
gpio_swig.cc:4487: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void*
_p_gr_sync_interpolatorTo_p_gr_sync_block(void*)’:
gpio_swig.cc:4493: error: ‘gr_sync_interpolator’ was not declared in
this scope
gpio_swig.cc:4493: error: expected primary-expression before ‘void’
gpio_swig.cc:4493: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void*
_p_gr_sync_decimatorTo_p_gr_block(void*)’:
gpio_swig.cc:4496: error: ‘gr_sync_decimator’ was not declared in this
scope
gpio_swig.cc:4496: error: expected primary-expression before ‘void’
gpio_swig.cc:4496: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void*
_p_gr_sync_interpolatorTo_p_gr_block(void*)’:
gpio_swig.cc:4505: error: ‘gr_sync_interpolator’ was not declared in
this scope
gpio_swig.cc:4505: error: expected primary-expression before ‘void’
gpio_swig.cc:4505: error: expected `)' before ‘void’
make[5]: *** [gpio_swig.lo] Error 1
make[5]: Leaving directory `/home/gnuradio/gnuradio/gr-gpio/src/lib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/gnuradio/gnuradio/gr-gpio/src/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gnuradio/gnuradio/gr-gpio/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gnuradio/gnuradio/gr-gpio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gnuradio/gnuradio'
make: *** [all] Error 2


**************************************************************
Johnathan C. (Guest)
on 2008-11-25 01:21
(Received via mailing list)
On Mon, 2008-11-24 at 17:55 -0500, Catalin LACATUS wrote:

> I tried to recompile the new svn (updated 2days ago) version and I got
> the following errors. I never see this error with previous version
> (about 2weeks old). Please let me know how can I solve this problem.

> gpio_swig.cc:3594:63: error: gnuradio_swig_bug_workaround.h: No such
> file or directory

Apparently, the compiler cannot find the header files at compile time.

While it's not clear in this specific case, often times the build system
will get confused when an already built tree is then updated from svn.

Please go to the top level of your source tree and run:

$ make distclean

Then you will need to go through bootstrap, configure, etc. again.

If the problem persists, check out a fresh version of the trunk into a
new directory and try it from there.

Finally, if you're still stuck, let us know here.  The latest trunk is
definitely working, as I compile it frequently on a number of different
machines/OS combinations.

-Johnathan
Paolo Di Monte (Guest)
on 2008-12-04 04:42
(Received via mailing list)
2008/12/2 Paolo Di Monte <removed_email_address@domain.invalid>

>
>
>
>
>  Sorry, but I'm new to the project (so I don't know if it could work 2
weeks ago) and having the same problem Catalin has.
My distribution is Gentoo Linux.
I tried both to follow the instructions on your wiki or to use the
specific
ebuild you can find in attachment.
I also tried to run "make distclean", to change to a new directory or to
remove it and resync.

The stable version of GNU Radio installs without any problem, but I
wanted
to try GRC and, from what I read, it's necessary to use the current
development version.
Any help would be very appreciated; just let me know what other
informations
could be useful to try to solve the problem
thank you

Paolo

> LICENSE="GPL-2"
>
>                media-sound/alsa-headers )
>        elog "This ebuild does not currently install comedi dependencies."
>                elog "# emerge crossdev"
>
> }
>
>
>
>
>
>


--
------------------------------------------------------------------------
Pursuant to Legislative Decree No. 196/2003, you are hereby informed
that
this message contains confidential information intended only for the use
of
the addressee.

If you are not the addressee, and have received this message by mistake,
please delete it and immediately notify us. You may not copy or
disseminate
this message to anyone.

Thank you.
Johnathan C. (Guest)
on 2008-12-04 21:14
(Received via mailing list)
On Wed, Dec 3, 2008 at 1:40 AM, Paolo Di Monte 
<removed_email_address@domain.invalid>
wrote:

> My distribution is Gentoo Linux.
[,,,]
> Any help would be very appreciated; just let me know what other informations
> could be useful to try to solve the problem
> thank you

Unfortunately I have not personally worked with the Gentoo "port" of
GNU Radio, so I can't really help you here.  Hopefully there are
others on the mailing list with the relevant experience.  From the
error messages, it appears that in the build environment, the default
search path for include files is missing something that is assumed to
be there by the build system (though I'm just speculating here.)

-Johnathan
This topic is locked and can not be replied to.