Cannot build zinf 2.2.4, undefined reference

Jeff Pierce <[email protected]> Wed, 08 Oct 2003 13:27:09 -0400
Newsgroups gmane.comp.audio.zinf.user
Message-ID <[email protected]>
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?

-- 
Jeff, wd4nmq
[email protected]
http://mywebpages.comcast.net/wd4nmq



-------------------------------------------------------
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