Skip to main content

fail to build cldc of mr2 for ubuntu

1 reply [Last post]
cxc1000
Offline
Joined: 2008-07-25

hi,
all. i build cldc of phoneme feature mr2 on ubuntu and failed.
can anybody tell me what's wrong?
thanks

chen@chen-desktop:~/phoneme_feature/cldc/build/linux_i386$ make
==================================
JVMBuildSpace = /home/chen/phoneme_feature/build_output/cldc
JVMWorkSpace = /home/chen/phoneme_feature/cldc
ROMIZING = true
SHELL = /bin/sh
ENABLE_ISOLATES =
ENABLE_MONET =
==================================
==============================
creating build tools...
==============================
make[1]: Entering directory `/home/chen/phoneme_feature/build_output/cldc/linux_i386/tools'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/home/chen/phoneme_feature/build_output/cldc/linux_i386/tools'
done
==============================
creating ASM loop generator in debug mode
build flags: NO_DEBUG_SYMBOLS=true
==============================
make[1]: Entering directory `/home/chen/phoneme_feature/build_output/cldc/linux_i386/loopgen/app'
make[1]: Nothing to be done for `dependencies'.
make[1]: Leaving directory `/home/chen/phoneme_feature/build_output/cldc/linux_i386/loopgen/app'
make[1]: Entering directory `/home/chen/phoneme_feature/build_output/cldc/linux_i386/loopgen/app'
... BSDSocket.cpp
cc1plus: warnings being treated as errors
In file included from ../generated/incls/_BSDSocket.cpp.incl:6,
from /home/chen/phoneme_feature/cldc/src/vm/share/natives/BSDSocket.cpp:28:
/home/chen/phoneme_feature/cldc/src/vm/share/utilities/GlobalDefinitions_gcc.hpp:172: error: integer overflow in expression
make[1]: *** [BSDSocket.o] Error 1

make[1]: Leaving directory `/home/chen/phoneme_feature/build_output/cldc/linux_i386/loopgen/app'
make: *** [_loopgen] Error 2

Message was edited by: cxc1000

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cxc1000
Offline
Joined: 2008-07-25

i have fixed it.
l just set the following environment variable and rebuild.
export ENABLE_COMPILATION_WARNINGS=true