compile errors

Lam <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
Can someone tell me what I'm doing wrong?
I got the latest svn revision 4711 and did a 'make'.
It compiled fine on my computer at work.
I can't make sense of the Font.cc errors:


make[4]: Entering directory `/usr/local/src/fluxbox/src/FbTk'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2  -DSHAPE    -MT
App.o -MD -MP -MF ".deps/App.Tpo" -c -o App.o App.cc; \
        then mv -f ".deps/App.Tpo" ".deps/App.Po"; else rm -f
".deps/App.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2  -DSHAPE    -MT
Color.o -MD -MP -MF ".deps/Color.Tpo" -c -o Color.o Color.cc; \
        then mv -f ".deps/Color.Tpo" ".deps/Color.Po"; else rm -f
".deps/Color.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2  -DSHAPE    -MT
FileUtil.o -MD -MP -MF ".deps/FileUtil.Tpo" -c -o FileUtil.o
FileUtil.cc; \
        then mv -f ".deps/FileUtil.Tpo" ".deps/FileUtil.Po"; else rm
-f ".deps/FileUtil.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2  -DSHAPE    -MT
EventManager.o -MD -MP -MF ".deps/EventManager.Tpo" -c -o
EventManager.o EventManager.cc; \
        then mv -f ".deps/EventManager.Tpo" ".deps/EventManager.Po";
else rm -f ".deps/EventManager.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2  -DSHAPE    -MT
FbWindow.o -MD -MP -MF ".deps/FbWindow.Tpo" -c -o FbWindow.o
FbWindow.cc; \
        then mv -f ".deps/FbWindow.Tpo" ".deps/FbWindow.Po"; else rm
-f ".deps/FbWindow.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2  -DSHAPE    -MT
Font.o -MD -MP -MF ".deps/Font.Tpo" -c -o Font.o Font.cc; \
        then mv -f ".deps/Font.Tpo" ".deps/Font.Po"; else rm -f
".deps/Font.Tpo"; exit 1; fi
Font.cc: In member function 'bool FbTk::Font::load(const std::string&)':
Font.cc:222: error: 'tmp_font' was not declared in this scope
Font.cc:224: error: 'realname' was not declared in this scope
Font.cc:237: error: 'tmp_font' was not declared in this scope
Font.cc:237: error: 'realname' was not declared in this scope
Font.cc:246: error: 'tmp_font' was not declared in this scope
Font.cc: At global scope:
Font.cc:249: error: expected unqualified-id before 'return'
Font.cc:252: error: 'Font' is not a class or namespace
Font.cc:252: error: expected ',' or '...' before '&' token
Font.cc:252: error: ISO C++ forbids declaration of 'FbString' with no type
Font.cc:252: error: non-member function 'unsigned int textWidth(int)'
cannot have cv-qualifier
Font.cc: In function 'unsigned int textWidth(int)':
Font.cc:253: error: 'm_fontimp' was not declared in this scope
Font.cc:253: error: 'text' was not declared in this scope
Font.cc:253: error: 'size' was not declared in this scope
Font.cc: At global scope:
Font.cc:256: error: 'Font' is not a class or namespace
Font.cc:256: error: non-member function 'unsigned int height()' cannot
have cv-qualifier
Font.cc: In function 'unsigned int height()':
Font.cc:257: error: 'm_fontimp' was not declared in this scope
Font.cc: At global scope:
Font.cc:260: error: 'Font' is not a class or namespace
Font.cc:260: error: non-member function 'int ascent()' cannot have cv-qualifier
Font.cc: In function 'int ascent()':
Font.cc:261: error: 'm_fontimp' was not declared in this scope
Font.cc: At global scope:
Font.cc:264: error: 'Font' is not a class or namespace
Font.cc:264: error: non-member function 'int descent()' cannot have cv-qualifier
Font.cc: In function 'int descent()':
Font.cc:265: error: 'm_fontimp' was not declared in this scope
Font.cc: At global scope:
Font.cc:268: error: 'Font' is not a class or namespace
Font.cc: In function 'bool validOrientation(FbTk::Orientation)':
Font.cc:269: error: 'm_fontimp' was not declared in this scope
Font.cc: At global scope:
Font.cc:272: error: 'Font' is not a class or namespace
Font.cc:272: error: expected ',' or '...' before '&' token
Font.cc:274: error: ISO C++ forbids declaration of 'FbDrawable' with no type
Font.cc:274: error: non-member function 'void drawText(int)' cannot
have cv-qualifier
Font.cc: In function 'void drawText(int)':
Font.cc:275: error: 'text' was not declared in this scope
Font.cc:275: error: 'len' was not declared in this scope
Font.cc:283: error: 'm_shadow' was not declared in this scope
Font.cc:284: error: 'w' was not declared in this scope
Font.cc:285: error: 'm_shadow_color' was not declared in this scope
Font.cc:287: error: 'screen' was not declared in this scope
Font.cc:287: error: 'text' was not declared in this scope
Font.cc:287: error: 'len' was not declared in this scope
Font.cc:288: error: 'x' was not declared in this scope
Font.cc:288: error: 'm_shadow_offx' was not declared in this scope
Font.cc:288: error: 'y' was not declared in this scope
Font.cc:288: error: 'm_shadow_offy' was not declared in this scope
Font.cc:288: error: 'orient' was not declared in this scope
Font.cc:290: error: 'm_halo' was not declared in this scope
Font.cc:291: error: 'w' was not declared in this scope
Font.cc:292: error: 'm_halo_color' was not declared in this scope
Font.cc:294: error: 'screen' was not declared in this scope
Font.cc:294: error: 'text' was not declared in this scope
Font.cc:294: error: 'len' was not declared in this scope
Font.cc:294: error: 'x' was not declared in this scope
Font.cc:294: error: 'y' was not declared in this scope
Font.cc:294: error: 'orient' was not declared in this scope
Font.cc:302: error: 'm_fontimp' was not declared in this scope
Font.cc:302: error: 'w' was not declared in this scope
Font.cc:302: error: 'screen' was not declared in this scope
Font.cc:302: error: 'gc' was not declared in this scope
Font.cc:302: error: 'text' was not declared in this scope
Font.cc:302: error: 'len' was not declared in this scope
Font.cc:302: error: 'x' was not declared in this scope
Font.cc:302: error: 'y' was not declared in this scope
Font.cc:302: error: 'orient' was not declared in this scope
Font.cc: At global scope:
Font.cc:306: error: expected declaration before '}' token
make[4]: *** [Font.o] Error 1
make[4]: Leaving directory `/usr/local/src/fluxbox/src/FbTk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/fluxbox/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/fluxbox/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/fluxbox'
make: *** [all] Error 2

-- 
D. N. Lam

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.