Re: Cannot build zinf 2.2.4, undefined reference

"Kristian G. Kvilekval" <[email protected]> Wed, 08 Oct 2003 10:44:00 -0700
Newsgroups gmane.comp.audio.zinf.user
Message-ID <[email protected]>
I think I've heard of this before.
please let use know:

1. compiler version
2. output of configure



On Wed, 2003-10-08 at 10:27, Jeff Pierce wrote:
> I am trying to build zinf 2.2.4 on a Slackware system. I downloaded 
> Musicbrainz and installed it and then ran ./configure. And then ran 
> make, which gave the following error
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I../config  -D_REENTRANT -I../base/include 
> -I../base/unix/include -I../lib/utf8 -I../ui/include -I../lmc/include 
> -I../io/include    -Wall -O -c -o player.o `test -f 'src/player.cpp' || 
> echo './'`src/player.cpp
> src/player.cpp: In method `void Player::Run()':
> src/player.cpp:711: `context' undeclared (first use this function)
> src/player.cpp:711: (Each undeclared identifier is reported only once
> src/player.cpp:711: for each function it appears in.)
> 
> The offending code is in base/src/player.cpp
> 
> #ifdef unix
> #ifndef HAVE_GTK
>        if (name == "zinf.ui") {
>            pref = kTextUIPref;
>            context->prefs->GetPrefString(pref, name);
>        }
> #endif
> #endif
> 
> Why is this happening?
-- 
email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php