Good day! I have a system:
FreeBSD home FreeBSD 9.0-STABLE #0: Mon Jun 25 03:36:33 MSK 2012 gode@home:/usr/obj/usr/src/sys/SERVER amd64
and my /etc/make.conf is
When I'm trying to build editors/libreoffice it gives me error and talk that I have threaded build (but I not use any make -j2 or MAKE_JOBS_NUMBER=n options)
I'm trying as I found on THAT thread, steps to delete packages [CMD="pkg_delete -f boost-libs\* boost-jam\*"][/CMD] but it doesn't help me. There is errors and additional information:
when I'm follow these steps:
It gives me that error:
FreeBSD home FreeBSD 9.0-STABLE #0: Mon Jun 25 03:36:33 MSK 2012 gode@home:/usr/obj/usr/src/sys/SERVER amd64
and my /etc/make.conf is
Code:
CPUTYPE?=athlon64
CFLAGS=-O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -mtune=athlon64 -fno-strict-aliasing -Wno-error
COPTFLAGS=-O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -mtune=athlon64
TARGET_ARCH=amd64
KERNCONF=SERVER
NO_INET6=true
NO_GAMES=true
NO_I4B=true
I'm trying as I found on THAT thread, steps to delete packages [CMD="pkg_delete -f boost-libs\* boost-jam\*"][/CMD] but it doesn't help me. There is errors and additional information:
Code:
clang++: warning: argument unused during compilation: '-rpath=/usr/lib:/usr/local/lib'
[ build CXX ] svtools/bmpmaker/bmpsum
[ build LNK ] Executable/bmpsum
clang++: warning: argument unused during compilation: '-rpath=/usr/lib:/usr/local/lib'
[ build CXX ] svtools/bmpmaker/g2g
[ build LNK ] Executable/g2g
clang++: warning: argument unused during compilation: '-rpath=/usr/lib:/usr/local/lib'
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solver/unxfbsd.pro/lib/libsvtlo.so: undefined reference to `cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext, com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type const&)'
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solver/unxfbsd.pro/lib/libsvtlo.so: undefined reference to `non-virtual thunk to cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext, com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type const&)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/workdir/unxfbsd.pro/LinkTarget/Executable/g2g] Ошибка 1
dmake: Error code 2, while making 'all'
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/lingucomponent/source/spellcheck/spell
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/sdext/source/pdfimport
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/connectivity/source/drivers/file
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/svtools/prj
it seems you are using a threaded build, which means that the
actual compile error is probably hidden far above, and could be
inside any of these other modules:
connectivity lingucomponent svtools
please re-run build inside each one to isolate the problem.
-----------------------------------------------------------------------
/usr/local/bin/bash
cd /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2
source ./Env.Host.sh
cd sdext
rm -Rf /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/sdext/unxfbsd.pro # optional module 'clean'
build
when the problem is isolated and fixed exit and re-run 'make' from the top-level
gmake[1]: *** [build] Ошибка 1
gmake[1]: Выход из каталога `/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2'
gmake: *** [source-env-and-recurse] Ошибка 2
*** [do-build] Error code 1
Stop in /usr/ports/editors/libreoffice.
*** [install] Error code 1
Stop in /usr/ports/editors/libreoffice.
Code:
home# cd work/libreoffice-core-3.5.6.2/
home# /usr/local/bin/bash
[root@home /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2]# source ./Env.Host.sh
[root@home /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2]# cd sdext/
[root@home /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/sdext]# rm -Rf unxfbsd.pro
[root@home /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/sdext]# build
Code:
Making: pdfparse.lib
Entering /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/sdext/source/pdfimport
Compiling: sdext/unxfbsd.pro/misc/pdfimport.uno_version.c
cp -f description.xml ../../unxfbsd.pro/misc/PDFImport_in/description.xml
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solenv/bin/transform_description.pl: WITH_LANG not set or empty, defaulting to 'en-US'
cp config/pdf_import_filter.xcu ../../unxfbsd.pro/misc/PDFImport/pdf_import_filter.xcu
cp config/pdf_types.xcu ../../unxfbsd.pro/misc/PDFImport/pdf_types.xcu
Compiling: sdext/source/pdfimport/filterdet.cxx
Compiling: sdext/source/pdfimport/pdfiadaptor.cxx
Compiling: sdext/source/pdfimport/services.cxx
Making: pdfimport.lib
Making: pdfimport.uno.so
/usr/bin/ld: ../../unxfbsd.pro/slo/filterdet.o: relocation R_X86_64_PC32 against `_ZN3com3sun4star3uno8SequenceIaE7s_pTypeE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
dmake: Error code 1, while making '../../unxfbsd.pro/lib/pdfimport.uno.so'
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/sdext/source/pdfimport
it seems that the error is inside 'sdext', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------