Re: [Discuss-gnuradio] Compile/swig error

From:

Alex Young

Subject:

Re: [Discuss-gnuradio] Compile/swig error

Date:

Sat, 27 Oct 2007 10:13:07 -0700 (PDT)

Eric Blossom wrote:
>
>
> Looks like your code isn't linked into the library.
>
> Did you add it to libgeneral_la_SOURCES in general/Makefile.am?
>
I did add it to general/Makefile.am, right after the
gr_interleaved_short_to_complex.* entries. I've checked to make sure that
I inserted them alphabetically, one entry each for the .cc, .h and .i files
(in the appropriate sections.) I can attach the relevant files if anyone
would care to take a look.
> In general, you'd be better off building your new stuff "out of the
> tree" using the strategy spelled out in the "How to Write a Block"
> paper. That way it's independent of changes that we make to the main
> body of code, and means that you can keep up with our changes without
> having to constantly modify the tree.
>
I had originally planned to do that, but Tom R. suggested that I drop it
gnuradio-core/.../general. (I think that may have been in expectation of
contributing back to the source tree for inclusion, which isn't happening
right now.) I will probably go back and reorganize all my code in its own
packages, but I'm staring down a deadline and I want it to "just work" right
now. If i can't get find any solutions as it stands, then i will go back
and reogranize.
thanks,
alex
--
View this message in context:
http://www.nabble.com/Compile-swig-error-tf4697770.html#a13445303
Sent from the GnuRadio mailing list archive at Nabble.com.