Wednesday, December 13, 2006

Failure in moz while Building OpenOffice m196 on fc6 with gcc 4.1.x

Failure in moz while Building OpenOffice m196 on fc6 with gcc 4.1.x.

Error trace is :
mimemult.cpp:55: warning: missing braces around initializer for ‘MimeContainerClass’
mimemult.cpp:55: warning: missing braces around initializer for ‘MimeObjectClass’
mimeeobj.h:57: error: previous declaration of ‘MimeExternalObjectClass mimeExternalObjectClass’ with ‘C++’ linkage
mimemult.cpp:76: error: conflicts with new declaration with ‘C’ linkage
gmake[4]: *** [mimemult.o] Error 1
gmake[4]: Leaving directory `/home/vijay/ooo_SRC680_m196_src/moz/unxlngi6.pro/misc/build/mozilla/mailnews/mime/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/home/vijay/ooo_SRC680_m196_src/moz/unxlngi6.pro/misc/build/mozilla/mailnews/mime'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/home/vijay/ooo_SRC680_m196_src/moz/unxlngi6.pro/misc/build/mozilla/mailnews'
gmake[1]: *** [tier_97] Error 2
gmake[1]: Leaving directory `/home/vijay/ooo_SRC680_m196_src/moz/unxlngi6.pro/misc/build/mozilla'
make: *** [default] Error 2
dmake: Error code 2, while making './unxlngi6.pro/misc/build/so_built_ooo_mozab'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /home/vijay/ooo_SRC680_m196_src/moz

The problem is with the mozilla 1.7.5 source which is fixed in mozilla 1.8.
http://qa.openoffice.org/issues/show_bug.cgi?id=66906
Link shows the patch id=39575 which when applied fixes the broken build.

cheers, make world open.



1 comment:

Anonymous said...

It does work - thanks for this (old) tip.