Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2012 13:44:26 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        office@freebsd.org
Subject:   Re: LibreOffice still not building
Message-ID:  <5010307A.5060201@FreeBSD.org>
In-Reply-To: <20495.30569.961857.578248@jerusalem.litteratus.org>
References:  <201207250428.q6P4S5bF067314@jerusalem.litteratus.org> <20495.30569.961857.578248@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-07-25 00:34:49 -0400, Robert Huff wrote:
> 
> On:
> 
> FreeBSD 10.0-CURRENT #0: Tue Jul 24 08:55:46 EDT 2012  amd64
> 
> and using the system clang, when building I get:
> 
> 
> ============= (1/1) Building module icc ============= Entering
> /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/icc
>
>  Using system SampleICC, nothing to do here. Entering
> /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/icc/source/create_sRGB_profile
>
>  Making:    create_sRGB_profile /usr/local/lib/libSampleICC.so:
> undefined reference to
> `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15' 
> /usr/local/lib/libSampleICC.so: undefined reference to
> `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
>
> 
/usr/local/lib/libICC_utils.so: undefined reference to
`std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
> /usr/local/lib/libSampleICC.so: undefined reference to
> `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*,
> std::__detail::_List_node_base*)@GLIBCXX_3.4.15' clang++: error:
> linker command failed with exit code 1 (use -v to see invocation) 
> dmake:  Error code 1, while making
> '../../unxfbsd.pro/bin/create_sRGB_profile'
> 
> -----------------------------------------------------------------------
>
> 
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
> /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/icc/source/create_sRGB_profile
>
>  it seems that the error is inside 'icc', please re-run build 
> inside this module to isolate the error and/or test your fix: 
> -----------------------------------------------------------------------
>
>  I then do:
> 
> /usr/local/bin/bash cd
> /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3
>
> 
source ./Env.Host.sh
> cd icc rm -Rf
> /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/icc/unxfbsd.pro
> # optional module 'clean' build
> 
> and get the same error. I thought this had been fixed with an
> update to clang 3.1 ....

[I think somebody explained it earlier but I will try again.]

You built your graphics/sampleicc with GCC 4.6+.  You need to rebuild
it with a compiler from the base.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAQMHoACgkQmlay1b9qnVNwwwCfXaVZxVWm63w+zEQ35qrvaz/B
do8AoIeTFgzTq2/1/+/tjYSuj43rvHa/
=yw2h
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5010307A.5060201>