compilation erro in OOo-2.0-devel and amd64 and freebsd 6.1
Jung-uk Kim
jkim at FreeBSD.org
Wed May 24 09:26:44 PDT 2006
On Tuesday 23 May 2006 09:55 pm, Jung-uk Kim wrote:
> On Tuesday 23 May 2006 08:35 pm, Carlos Fernando Assis Paniago
wrote:
> > /usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/stor
> >e/ source
> >
> > ------------------------------
> > Making: ../unxfbsdx.pro/obj/filelckb.obj
> > g++41 -Wreturn-type -fmessage-length=0 -c -I. -I. -I../inc
> > -I../inc -I../unx/inc -I../unxfbsdx.pro/inc -I.
> > -I/usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/so
> >lv er/680/unxfbsdx.pro/inc/stl
> > -I/usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/so
> >lv er/680/unxfbsdx.pro/inc/external
> > -I/usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/so
> >lv er/680/unxfbsdx.pro/inc
> > -I/usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/so
> >le nv/unxfbsdx/inc
> > -I/usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/so
> >le nv/inc
> > -I/usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/re
> >s
> > -I/usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/so
> >lv er/680/unxfbsdx.pro/inc/stl
> > -I/usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/so
> >le nv/inc/Xp31 -I/usr/local/jdk1.5.0/include
> > -I/usr/local/jdk1.5.0/include/freebsd
> > -I/usr/local/jdk1.5.0/include/bsd
> > -I/usr/local/jdk1.5.0/include/linux
> > -I/usr/local/jdk1.5.0/include/native_threads/include
> > -I/usr/X11R6/include -I. -I../res -I. -g -O0 -pipe
> > -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g1
> > -fno-exceptions -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DX86_64
> > -DCVER=C341 -D_USE_NAMESPACE -DX86_64 -D_PTHREADS -D_REENTRANT
> > -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
> > -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
> > -DGXX_INCLUDE_PATH=/usr/local/lib/gcc/x86_64-portbld-freebsd6.1/4
> >.1 .1/include/c++ -DSUPD=680 -DDEBUG -DPRODUCT -DNDEBUG
> > -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=2 -DEXCEPTIONS_OFF -DCUI
> > -DSOLAR_JAVA
> > -DSRC680=SRC680 -DMULTITHREAD -o
> > ../unxfbsdx.pro/obj/filelckb.o
> > /usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/stor
> >e/ source/filelckb.cxx /usr/include/machine/endian.h:159: error:
> > multiple storage classes in declaration of '__bswap64'
> > /usr/include/machine/endian.h:166: error: multiple storage
> > classes in declaration of '__bswap32'
> > /usr/include/machine/endian.h:173: error: multiple storage
> > classes in declaration of '__bswap16'
> > /usr/include/sys/time.h:59: error: multiple storage classes in
> > declaration of 'bintime_addx'
> > /usr/include/sys/time.h:70: error: multiple storage classes in
> > declaration of 'bintime_add'
> > /usr/include/sys/time.h:82: error: multiple storage classes in
> > declaration of 'bintime_sub'
> > /usr/include/sys/time.h:108: error: multiple storage classes in
> > declaration of 'bintime2timespec'
> > /usr/include/sys/time.h:116: error: multiple storage classes in
> > declaration of 'timespec2bintime'
> > /usr/include/sys/time.h:125: error: multiple storage classes in
> > declaration of 'bintime2timeval'
> > /usr/include/sys/time.h:133: error: multiple storage classes in
> > declaration of 'timeval2bintime'
> > dmake: Error code 1, while making
> > '../unxfbsdx.pro/obj/filelckb.obj' '---* tg_merge.mk *---'
> >
> > ERROR: Error 65280 occurred while making
> > /usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/stor
> >e/ source dmake: Error code 1, while making
> > 'build_instsetoo_native' '---* *---'
> > *** Error code 255
> >
> > Stop in /usr/ports/editors/openoffice.org-2.0-devel.
> > m018#
> >
> >
> > Someone know what to do?
> > I'm using the patches from the last mail from /Jung-uk Kim/
>
> Huh??? Something's very wrong with your configuration, i. e.,
> these errors are from system header files. And it seems compiler
> optimization is turned off, too. Strange... Can you show me
> /usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/work/F
>reeBSDAMDEnv.set and
> /usr/ports/editors/openoffice.org-2.0-devel/work/SRC680_m169/work/c
>onfig_office/config.log?
From those files, I see you built it with WITHOUT_MOZILLA, WITH_CUPS,
LOCALIZED_LANG=pt-BR, WITH_DEBUG=2 knobs, right? In fact, I use very
similar knobs but I never tried WITH_DEBUG=2. Please try again
without WITH_DEBUG knob until it's fixed.
Thanks,
Jung-uk Kim
More information about the freebsd-openoffice
mailing list