Hello, I'm trying to compile lmms-0.3.0 on LFS-6.0, kernel 2.6.18, gcc-3.4.1, CFLAGS=""
Error here:

if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./include -I. -I/usr/include -DQT3 -I/usr/include/qt -D_REENTRANT -DQT_THREAD_SUPPORT -O2 -fPIC -ansi -Wall -Wextra -Wno-unused-parameter -Winline -Wdisabled-optimization -fno-exceptions -I/usr/local/include -MT preset_preview_play_handle.o -MD -MP -MF ".deps/preset_preview_play_handle.Tpo" -c -o preset_preview_play_handle.o `test -f './src/core/preset_preview_play_handle.cpp' || echo './'`./src/core/preset_preview_play_handle.cpp; \
then mv -f ".deps/preset_preview_play_handle.Tpo" ".deps/preset_preview_play_handle.Po"; else rm -f ".deps/preset_preview_play_handle.Tpo"; exit 1; fi
./include/types.h: In instantiation of `valueRanges<f_cnt_t>':
./src/core/preset_preview_play_handle.cpp:157: instantiated from here
./include/types.h:64: error: enumerator value for `min' not integer constant
./include/types.h:64: error: overflow in enumeration values at `min'
make[2]: *** [preset_preview_play_handle.o] Error1
make[2]: Leaving directory `/storage/work/src/lmms-0.3.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/storage/work/src/lmms-0.3.0 '
make: *** [all] Error 2

Any ideas?