Skip to main content

build mr3 error

1 reply [Last post]
Joined: 2008-07-29
Points: 0

there is an error when i build mr3,and the message is :

cc1: warnings being treated as errors
/home/tica/workspace/phoneme/mr3/midp/build/linux_fb_gcc/../../src/lowlevelui/image_decode/reference/native/imgdcd_png_decode.c: In function ‘PNGdecodeImage_getBytes’:
/home/tica/workspace/phoneme/mr3/midp/build/linux_fb_gcc/../../src/lowlevelui/image_decode/reference/native/imgdcd_png_decode.c:125: warning: ‘chunkType’ may be used uninitialized in this function
make: *** [/home/tica/workspace/phoneme/mr3/build_output/midp/obj/i386/imgdcd_png_decode.o] Error 1

my target platform is linux for i386

anyone know what problem is?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-10-27
Points: 0

You probably using newest GCC compiler. Try to use older one. For example, to use GCC-3.3 add following build option when building PCSL/CLDC/MIDP: GCC_VERSION=-3.3.