Thanks for the guick response!

I merged both, headers and sources, into only one header and one source, and 
it worked fine independently of the order of loading. That is both 
classes/objects are now in the same file.

Thanks again.

Regards,
Pablo

On Miércoles 16 Junio 2010 10:13:21 Michael Goffioul escribió:
> As the 2 classes/objects are inter-dependent, I think it's better to
> include both into the same .oct file. What's happening is that channel.oct
> is not loaded into memory when octave loads analoginput.oct, leading to
> unresolved references. This does not happen when channel.oct is loaded
> explicitely first.
> 
> This is only possible, because Linux (and the like) allows to have
> unresolved references at link time. This wouldn't work under Windows
> for instance (or you would have to link one oct file against the other
> one).
> 
> Michael.
> 

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to