Re: [Discuss-gnuradio] Re: SVN Compile Error Under Cygwin: Omnithread Stuff

2008-06-10 Thread Steven Clark
>
> The latest patch and instructions on how to use it are given in the wiki at
> http://www.gnuradio.org/trac/wiki/CygwinInstallMain.
>
> Be sure to do the "./bootstrap" after applying the patch.
>
> With any luck, this should be the last release to have this problem.
>
> -- Don W.
>

Don-

Many thanks for keeping the patches up to date.

-Steven


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Re: SVN Compile Error Under Cygwin: Omnithread Stuff

2008-06-10 Thread Don Ward

Hi Sivaram,

"Narayanan, Sivaramasubramanian (R&T)"  wrote:


 I'm trying to Install GNU Radio using Cygwin in my Windows
system. When I do make, I get the following error:

/cygdrive/c/gnuradio-3.1.2/gnuradio-core/src/lib/swig/gnuradio_swig_py_r

untime.c


c:(.text+0x34fa4): undefined reference to `omni_thread::init_t::init_t()'

[...]

I referred the patches given in the following pages:

http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg09570.html

I applied the patch given in the site
http://www.gnuradio.org/trac/ticket/138, but my error still exists.

I also tried the makefile.patch by Don Ward given in the URL:

http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg10039.html

I still run with the same problem. Kindly suggest me ways to get out of
this.


The latest patch and instructions on how to use it are given in the wiki at 
http://www.gnuradio.org/trac/wiki/CygwinInstallMain.


Be sure to do the "./bootstrap" after applying the patch.

With any luck, this should be the last release to have this problem.

-- Don W.



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Re: SVN Compile Error Under Cygwin: Omnithread Stuff

2008-06-10 Thread
Hi,

I'm trying to Install GNU Radio using Cygwin in my Windows
system. When I do make, I get the following error:

 

/cygdrive/c/gnuradio-3.1.2/gnuradio-core/src/lib/swig/gnuradio_swig_py_r
untime.c

c:(.text+0x34fa4): undefined reference to
`omni_thread::init_t::init_t()'

/cygdrive/c/gnuradio-3.1.2/gnuradio-core/src/lib/swig/gnuradio_swig_py_r
untime.c

c:(.text+0x34fc2): undefined reference to
`omni_thread::init_t::~init_t()'

Creating library file: .libs/_gnuradio_swig_py_runtime.dll.a

collect2: ld returned 1 exit status

make[6]: *** [_gnuradio_swig_py_runtime.la] Error 1

make[6]: Leaving directory
`/cygdrive/c/gnuradio-3.1.2/gnuradio-core/src/lib/swig'

make[5]: *** [all] Error 2

make[5]: Leaving directory
`/cygdrive/c/gnuradio-3.1.2/gnuradio-core/src/lib/swig'

make[4]: *** [all-recursive] Error 1

make[4]: Leaving directory
`/cygdrive/c/gnuradio-3.1.2/gnuradio-core/src/lib'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory
`/cygdrive/c/gnuradio-3.1.2/gnuradio-core/src'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/cygdrive/c/gnuradio-3.1.2/gnuradio-core'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/cygdrive/c/gnuradio-3.1.2'

make: *** [all] Error 2

 

 

The ./configure line was 
$  ./configure --with-boost-include-dir=/cygdrive/d/Cygwin/boost_1_35_0/
 
I have run the make few times, as well as make clean and checking out
again. I still have the same issue.

 

I referred the patches given in the following pages:

 

http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg09570.html

 

I applied the patch given in the site
http://www.gnuradio.org/trac/ticket/138, but my error still exists.

 

I also tried the makefile.patch by Don Ward given in the URL:

 

http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg10039.html
 

 

I still run with the same problem. Kindly suggest me ways to get out of
this.

 

Thanks and Regards,

Sivaram

 
 
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Re: SVN Compile Error Under Cygwin: Omnithread Stuff

2007-08-13 Thread Eric Blossom
On Wed, Aug 08, 2007 at 05:10:12PM -0400, Don Ward wrote:
> - Original Message - 
> From: "Reid N Kleckner" <[EMAIL PROTECTED]>
> To: "Don Ward" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Wednesday, August 08, 2007 4:33 PM
> Subject: SVN Compile Error Under Cygwin: Omnithread Stuff
> 
> 
> >So, that advice fixed that problem.  Now I have a problem similar to the 
> >one
> >documented here: http://www.gnuradio.org/trac/ticket/138  I applied the 
> >patch
> >listed there, but my error has not gone away:
> >
> >/usr/src/gnuradio/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.cc:(.text+
> >0x325be): undefined reference to `omni_thread::init_t::init_t()'
> >/usr/src/gnuradio/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.cc:(.text+
> >0x325dc): undefined reference to `omni_thread::init_t::~init_t()'
> >
> >Is there a similar fix to make it link/include/magic omnithread before 
> >building
> >the rest of the code?
> 
> As far as I know, no agreement has been reached on the right way to handle 
> this, but the attached patches work for me.  Use them instead of the ones 
> from ticket 138.
> 
> -- Don W.

Here's a bit of background on this issue:

Though Don's patches do work around the problem that we see on Cygwin,
they violate the "write it once" principle.  That is, they force us to
encode in multiple places the external dependencies of particular
libraries.  This is just plain ugly and encourages bit rot.
The libtool .la files already contain this information.  It may be
that libool needs some work for Cygin, though I'm not sure about this.

Eric


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Re: SVN Compile Error Under Cygwin: Omnithread Stuff

2007-08-08 Thread Don Ward
- Original Message - 
From: "Reid N Kleckner" <[EMAIL PROTECTED]>

To: "Don Ward" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, August 08, 2007 4:33 PM
Subject: SVN Compile Error Under Cygwin: Omnithread Stuff


So, that advice fixed that problem.  Now I have a problem similar to the 
one
documented here: http://www.gnuradio.org/trac/ticket/138  I applied the 
patch

listed there, but my error has not gone away:

/usr/src/gnuradio/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.cc:(.text+
0x325be): undefined reference to `omni_thread::init_t::init_t()'
/usr/src/gnuradio/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.cc:(.text+
0x325dc): undefined reference to `omni_thread::init_t::~init_t()'

Is there a similar fix to make it link/include/magic omnithread before 
building

the rest of the code?


As far as I know, no agreement has been reached on the right way to handle 
this, but the attached patches work for me.  Use them instead of the ones 
from ticket 138.


-- Don W.


makefiles.patch
Description: Binary data
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio