[openbox] openbox 2.3.1 compile error

Christian von Mueffling cvm at aiss.de
Wed Apr 30 05:50:04 EDT 2003


On Tue, Apr 29, 2003 at 10:40:27PM -0400, Scott Moynes wrote:
> * Christian von Mueffling (cvm at aiss.de) wrote:
> > Hi!
> > 
> > I tried to compile openbox-2.3.1 on Solaris 5.6 (Intel), but I get the
> > following compile error (gcc-3.2.1):
> 
> Try replacing stdint.h with inttypes.h

That fixes one problem, but here are some more (i removed the double
ones):

------------------------------------------------------------------------------
g++-3.2.1 -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG  -DLOCALEPATH=\"/users/zed/local/opt/openbox-2.3.1/share/openbox/nls\" -DBUTTONSDIR=\"/users/zed/local/opt/openbox-2.3.1/share/openbox/buttons\" -DDEFAULTMENU=\"/users/zed/local/opt/openbox-2.3.1/share/openbox/menu\" -DDEFAULTSTYLE=\"/users/zed/local/opt/openbox-2.3.1/share/openbox/styles/mbdtex\"  -g -O2  -I/usr/openwin/include -Wall -W -c Font.cc
In file included from Font.cc:42:
i18n.hh:55: parse error before `>' token
i18n.hh:57: extraneous `char' ignored
i18n.hh:57: non-member function `const I18n* operator()(int, int, const char*)' 
   cannot have `const' method qualifier
i18n.hh:57: `const I18n* operator()(int, int, const char*)' must be a nonstatic 
   member function
i18n.hh:59: parse error before `}' token
Font.cc: In member function `unsigned int BFont::measureString(const 
   std::string&, bool) const':
Font.cc:380: warning: unused parameter `bool utf'
gmake[2]: *** [Font.o] Error 1
g++-3.2.1 -DHAVE_CONFIG_H -I. -I. -I../..   -DNDEBUG -DDEFAULTRC=\"/users/zed/local/opt/openbox-2.3.1/share/openbox/epistrc\"  -g -O2  -I/usr/openwin/include -Wall -W -c ../../src/Util.cc
../../src/Util.cc: In function `std::string 
   iconv_string(std::basic_string<char, std::char_traits<char>, 
   std::allocator<char> >, const char*, const char*)':
../../src/Util.cc:283: invalid conversion from `char**' to `const char**'
gmake[3]: *** [../../src/Util.o] Error 1
------------------------------------------------------------------------------

Configure command:

CC=gcc-3.2.1 CXX=g++-3.2.1 ./configure --prefix=/users/zed/local/opt/openbox-2.3.1 --disable-xft

-- 
chris



More information about the openbox mailing list