Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2013 11:39:55 -0400
From:      Mike Jakubik <mike.jakubik@intertainservices.com>
To:        Waitman Gobble <uzimac@da3m0n8t3r.com>
Cc:        ports@freebsd.org
Subject:   Re: FreeBSD Port: textproc/libvisio
Message-ID:  <51A6214B.7030601@intertainservices.com>
In-Reply-To: <20130529075647.9FFF236F5A20@dx.burplex.com>
References:  <20130529075647.9FFF236F5A20@dx.burplex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/29/13 03:56, Waitman Gobble wrote:
> On Mon, 27 May 2013 13:10:52 -0400, Mike Jakubik
> <mike.jakubik@intertainservices.com> wrote:
>> Hello,
>>
>> I am unable to compile this port, below is the output from gcc48 and
>> clang 3.2.
>>
>> 9.1-STABLE FreeBSD 9.1-STABLE #0: Wed May 15 17:07:33 EDT 2013
>>
>> gmake[4]: Entering directory
>> ../../lib/.libs/libvisio-0.0.so: undefined reference to
>> `std::ctype<char>::_M_widen_init() const'
>> collect2: error: ld returned 1 exit status
>> gmake[4]: *** [vsd2raw] Error 1
>>
>>
>>
> Hi,
>
> Check that /etc/libmap.conf is empty or non-existent,
> deinstall,rebuild and reinstall graphics/libwpg then build textproc/libvisio
> It seems to work with clang (ports version) on FreeBSD 10.0-CURRENT
>
>

Hello,

I am using clang for base and gcc48 for ports, i have populated 
/etc/libmap.conf per the freebsd handbook with the following:

libgcc_s.so.1   gcc48/libgcc_s.so.1
libgomp.so.1    gcc48/libgomp.so.1
libobjc.so.3    gcc48/libobjc.so.2
libssp.so.0     gcc48/libssp.so.0
libstdc++.so.6  gcc48/libstdc++.so.6

Is this not the right way for clang and gcc to co-exist?

Thank you.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51A6214B.7030601>