I am running OpenSuse 11.0, with gcc-compiler 4.3.1.
The compilation of fluxbox-1.0.0 fails with:
c++ -DHAVE_CONFIG_H -I. -I.. -I./FbTk -g -O2 -DSHAPE -I/usr/include/freetype2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
main.cc: In function ‘void showInfo(std::ostream&)’:
main.cc:72: error: ‘strlen’ was not declared in this scope
This can be solved by adding the line
#include <cstring>
to src/main.cc.
Additional information on the compiler (standard OpenSuse 11.0 compiler):
I am running OpenSuse 11.0, with gcc-compiler 4.3.1.
The compilation of fluxbox-1.0.0 fails with:
c++ -DHAVE_CONFIG_H -I. -I.. -I./FbTk -g -O2 -DSHAPE -I/usr/include/freetype2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc main.cc: In function ‘void showInfo(std::ostream&)’: main.cc:72: error: ‘strlen’ was not declared in this scope
This can be solved by adding the line
#include <cstring>
to src/main.cc.
Additional information on the compiler (standard OpenSuse 11.0 compiler):
fornax ~/extrasoft/fluxbox/fluxbox-1.0.0 $ gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)
Reported by: *anonymous