fbpager compile problems

higuita <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
Hi

	i use fbpager with fluxbox, and sometimes fbpager starts to eat
alot of CPU and i have to kill it... it seems to be some sort of interaction 
with klipper, as it also starts to eat CPU and if i dont use one of then
it doesnt seems to happen.

	to see if i could fix this, i tried to compile fbpager again (same 
version i use currently, 0.1.4 ), since i didnt compile it for a long time,
ever after many updates for my distro (slamd64 -current)

	when i try to compile fbpager, i get:

$ make
make  all-recursive
make[1]: Entering directory `/home/higuita/fbpager-0.1.4'
Making all in src
make[2]: Entering directory `/home/higuita/fbpager-0.1.4/src'
Making all in FbTk
make[3]: Entering directory `/home/higuita/fbpager-0.1.4/src/FbTk'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/higuita/fbpager-0.1.4/src/FbTk'
make[3]: Entering directory `/home/higuita/fbpager-0.1.4/src'
source='FbPager.cc' object='fbpager-FbPager.o' libtool=no \
	depfile='.deps/fbpager-FbPager.Po' tmpdepfile='.deps/fbpager-FbPager.TPo' \
	depmode=gcc3 /bin/sh ../depcomp \
	g++ -DHAVE_CONFIG_H -I. -I. -I..    -IFbTk -g -O2   -c -o fbpager-FbPager.o `test -f FbPager.cc || echo './'`FbPager.cc
Resources.hh:13: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = bool]' in different namespace
Resources.hh:13: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = bool]'
Resources.hh:23: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = bool]' in different namespace
Resources.hh:23: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = bool]'
Resources.hh:28: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' in different namespace
Resources.hh:28: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
Resources.hh:33: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' in different namespace
Resources.hh:33: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
Resources.hh:38: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = int]' in different namespace
Resources.hh:38: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = int]'
Resources.hh:45: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = int]' in different namespace
Resources.hh:45: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = int]'
Resources.hh:53: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbPager::FbPager::Alignment]' in different namespace
Resources.hh:53: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbPager::FbPager::Alignment]'
Resources.hh:61: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = FbPager::FbPager::Alignment]' in different namespace
Resources.hh:61: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = FbPager::FbPager::Alignment]'
make[3]: *** [fbpager-FbPager.o] Error 1
make[3]: Leaving directory `/home/higuita/fbpager-0.1.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/higuita/fbpager-0.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/higuita/fbpager-0.1.4'
make: *** [all] Error 2

higuita@Couracado:2
 13:45:58 ~/fbpager-0.1.4/$ gcc - -version
gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

	i use slamd64, a slackware like distro compiled in 64bit, but
i also have a debian etch in 32bits and seens to have at least the same CPU
problem (didnt tried to compile fbpager there)

	i'm also using the latest released fluxbox (dev version, but not the 
cvs/svn)

	thanks in advance for any help
higuita


-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
           -- Hermann Goering, Nazi and war criminal, 1883-1946

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
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.