Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Nov 2016 12:47:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        mono@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 213973] x11-toolkits/libgdiplus Building fails because of tests
Message-ID:  <bug-213973-23699-YR7zCTFI1o@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213973-23699@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213973-23699@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
alex.theissen@me.com has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to mono@FreeBSD.or=
g:
Bug 213973: x11-toolkits/libgdiplus Building fails because of tests
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213973



--- Description ---
When I try to install the port I get the following linker error:
---------------------------------------------------------------------------=
----
------
gmake[3]: Entering directory
'/usr/ports/x11-toolkits/libgdiplus/work/libgdiplus-4.2/tests'
/bin/sh ../libtool  --tag=3DCC   --mode=3Dlink cc  -D_THREAD_SAFE -O2 -pipe
-march=3Dnative  -fstack-protector -fno-strict-aliasing -pthread=20
-L/usr/local/lib -fstack-protector -o testgdi testgdi.o ../src/libgdiplus.la
-lm -L/usr/local/lib -lglib-2.0 -lintl	 -L/usr/local/lib -lcairo -lpthread=
=20=20=20
-L/usr/local/lib -lfontconfig -lfreetype   -L/usr/local/lib -lfreetype=09
-L/usr/local/lib -lXrender -lX11   -L/lib -ljpeg -ltiff -lgif -lpng -lz
libtool: link: cc -D_THREAD_SAFE -O2 -pipe -march=3Dnative -fstack-protector
-fno-strict-aliasing -pthread -fstack-protector -o .libs/testgdi testgdi.o=
=20
-L/usr/local/lib ../src/.libs/libgdiplus.so -lm -lglib-2.0 -lintl -lcairo
-lpthread -lfontconfig -lfreetype -lXrender -lX11 -L/lib -ljpeg -ltiff -lgif
-lpng -lz -pthread -Wl,-rpath -Wl,/usr/local/lib
testgdi.o: In function `win_draw':
testgdi.c:(.text+0x1e6): undefined reference to `GdipCreateFromXDrawable_li=
nux'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
---------------------------------------------------------------------------=
----
------

I do not know why this reference can't be found by the linker but the "_lin=
ux"
suffix suggests that it is linux specific and shouldn't be compiled on free=
bsd.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213973-23699-YR7zCTFI1o>