problems compiling openoffice 2.0, gcc-ooo

Stephen Corbesero flash at cs.moravian.edu
Tue Nov 1 21:05:01 PST 2005


I just wanted top reportthat I am unable to compile openoffice 2.0
under FreeBSD STABLE.  the gcc-ooo ports seems to be the problem.
Below are the errors I get. This happened with an earlier FreeBSD-STable, and version i just updated and compiled this evening.




cc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H -DGENERATOR_FILE -I/usr/local/include   -I. -I. -I.././..//gcc-3.4.1/gcc -I.././..//gcc-3.4.1/gcc/. -I.././..//gcc-3.4.1/gcc/../include  .././..//gcc-3.4.1/gcc/genmodes.c -o genmodes.o
In file included from .././..//gcc-3.4.1/gcc/system.h:480,
                 from .././..//gcc-3.4.1/gcc/genmodes.c:23:
.././..//gcc-3.4.1/gcc/../include/libiberty.h:54: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:63: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:96: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:105: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:160: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:164: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:215: error: syntax error before "ATTRIBUTE_NORETURN"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:222: error: syntax error before "ATTRIBUTE_NORETURN"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:228: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:239: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:243: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:247: error: syntax error before "ATTRIBUTE_MALLOC"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:285: error: syntax error before "ATTRIBUTE_PRINTF_2"
.././..//gcc-3.4.1/gcc/../include/libiberty.h:304: error: syntax error before "ATTRIBUTE_MALLOC"
In file included from .././..//gcc-3.4.1/gcc/genmodes.c:24:
.././..//gcc-3.4.1/gcc/errors.h:35: error: syntax error before "ATTRIBUTE_NORETURN"
.././..//gcc-3.4.1/gcc/errors.h:36: error: syntax error before "ATTRIBUTE_NORETURN"
.././..//gcc-3.4.1/gcc/errors.h:39: error: syntax error before "ATTRIBUTE_NORETURN"
.././..//gcc-3.4.1/gcc/genmodes.c: In function `new_mode':
.././..//gcc-3.4.1/gcc/genmodes.c:158: warning: implicit declaration of function `xmalloc'
.././..//gcc-3.4.1/gcc/genmodes.c:158: warning: assignment makes pointer from integer without a cast
.././..//gcc-3.4.1/gcc/genmodes.c: At top level:
.././..//gcc-3.4.1/gcc/genmodes.c:196: error: syntax error before "new_adjust"
.././..//gcc-3.4.1/gcc/genmodes.c:205: warning: type defaults to `int' in declaration of `file'
.././..//gcc-3.4.1/gcc/genmodes.c:205: warning: passing arg 1 of `trim_filename' makes pointer from integer without a cast
.././..//gcc-3.4.1/gcc/genmodes.c:205: warning: initialization makes integer from pointer without a cast
.././..//gcc-3.4.1/gcc/genmodes.c:205: error: initializer element is not constant
.././..//gcc-3.4.1/gcc/genmodes.c:205: error: ISO C forbids data definition with no type or storage class
.././..//gcc-3.4.1/gcc/genmodes.c:207: error: syntax error before "if"
.././..//gcc-3.4.1/gcc/genmodes.c:78: warning: 'void_mode' defined but not used
.././..//gcc-3.4.1/gcc/genmodes.c:102: warning: 'adj_bytesize' defined but not used
.././..//gcc-3.4.1/gcc/genmodes.c:103: warning: 'adj_alignment' defined but not used
.././..//gcc-3.4.1/gcc/genmodes.c:104: warning: 'adj_format' defined but not used
.././..//gcc-3.4.1/gcc/genmodes.c:109: warning: 'complex_class' defined but not used
.././..//gcc-3.4.1/gcc/genmodes.c:122: warning: 'vector_class' defined but not used
.././..//gcc-3.4.1/gcc/genmodes.c:146: warning: 'new_mode' defined but not used
.././..//gcc-3.4.1/gcc/genmodes.c:177: warning: 'hash_mode' defined but not used
.././..//gcc-3.4.1/gcc/genmodes.c:184: warning: 'eq_mode' defined but not used
gmake[2]: *** [genmodes.o] Error 1


-- 
Stephen Corbesero                         This message brought to you by
Associate Professor of Computer Science         --  electrons  -- 
Moravian College, Bethlehem, PA 18018     The Other Charged Particle


More information about the freebsd-openoffice mailing list