Hello, I try to compile graphics/inkscape and I get these errors:
I have installed gcc46, but I have tried to compile with and without these settings in make.conf:
What can I do?
Code:
/usr/local/lib/libwpg-0.2.so: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
/usr/local/lib/libglibmm-2.4.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/usr/local/lib/libgtkmm-2.4.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/local/lib/libwpg-0.2.so: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
/usr/local/lib/libglibmm-2.4.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/usr/local/lib/libgtkmm-2.4.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
gmake[2]: *** [inkview] Ошибка 1
I have installed gcc46, but I have tried to compile with and without these settings in make.conf:
Code:
CPUTYPE?=core2
NO_CPU_CFLAGS=false
NO_CPU_COPTFLAGS=false
CFLAGS= -O2 -pipe -fno-strict-aliasing
COPTFLAGS= -O2 -pipe
OPTIMIZED_CFLAGS=YES
WITH_CPUFLAGS=YES
WITH_OPTIMIZED_CFLAGS=YES
MAKE_JOBS_NUMBER?=3
WITH_NEW_XORG=YES
.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc46)
CC=gcc46
CXX=g++46
CPP=cpp46
CFLAGS+=-mssse3
# Legacy ports
LEGACY_PORTS= multimedia/cuse4bsd-kmod \
net/libproxy \
sysutils/fusefs-kmod \
x11/libXtst \
www/webkit-gtk2 \
editors/openoffice-3 \
audio/espeak \
sysutils/fusefs-kmod \
graphics/graphviz \
x11/nvidia-driver-304
.for port in ${LEGACY_PORTS}
.if ${.CURDIR:M*/ports/$(port)}
CC= cc
CXX= c++
CPP= cpp
CFLAGS= -O2 -pipe -fno-strict-aliasing
.endif
.endfor
.endif
What can I do?