Re: Re: 2.2.4 release soon?
Andreas Rottmann <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <[email protected]> |
Kristian Kvilekval <[email protected]> writes: >> The second and subsequent times it starts up, but with a couple of errors: >> /usr/lib/zinf/plugins/cd.lmc: undefined symbol: _ZN12PipelineUnit5PauseEv >> /usr/lib/zinf/plugins/wav.lmc: undefined symbol: _ZN12PipelineUnit5PauseEv >> >> The problem is the PipelineUnit class. It's part of libio, and >> libio is in zinf_LDADD, however nothing in zinf mainline code >> refers to this class, so this class never gets linked into the main >> executable. It's referenced from these two plugins, but because >> the class never got linked into the main executable, the plugins >> fail to load. >> >> Here's an ugly hack that'll force a reference, and get the class >> included in the main executable. A proper fix would be to change >> the makefiles somehow... >> >> After I fixed that, with the following hack, I discovered that the >> EventBuffer class similarly needs to be manually hacked in: >> >> --- base/src/player.cpp.orig 2003-07-22 17:15:38.000000000 -0400 >> +++ base/src/player.cpp 2003-07-22 21:21:48.000000000 -0400 >> @@ -2264,3 +2264,13 @@ >> >> delete pmo; >> } >> + >> +#include "pipeline.h" >> +#include "eventbuffer.h" >> + >> +static void hack() >> +{ >> + PipelineUnit hack1(NULL); >> + EventBuffer hack2(0, 0, NULL); >> +} >> + > > Eek. Andreas is there a better for this? > Hmm in theory, this shouldn't be necessary, as we have in io/cd/Makefile.am: cd_pmo_la_LIBADD = $(top_builddir)/io/libio.la This should link in the needed class, and I in fact have all the PipelineUnit methods in the cd.pmo plugin on my system (in section .text). Regards, Andy -- Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | [email protected] http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62 Python is executable pseudocode, Perl is executable line-noise. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01