evolution-webcal - invalid DSO for symbol `g_thread_init' definition
Steve Wills
swills at freebsd.org
Fri Aug 9 03:01:02 UTC 2013
On Tue, Aug 06, 2013 at 09:40:37PM -0400, AN wrote:
> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #78 r253966: Mon Aug 5
> 14:42:05 CDT 2013 root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64
>
> cc -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\"
> -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/
> -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
> -I/usr/local/include/pixman-1 -D_THREAD_SAFE
> -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15
> -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2
> -I/usr/local/include/harfbuzz
> -I/usr/local/include/evolution-data-server-2.32
> -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -DORBIT2=1
> -I/usr/local/include/libsoup-2.4 -pthread -I/usr/local/include/glib-2.0
> -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include
> -O2 -pipe -fno-strict-aliasing -MT evolution-webcal-notify.o -MD -MP -MF
> .deps/evolution-webcal-notify.Tpo -c -o evolution-webcal-notify.o
> evolution-webcal-notify.c
> evolution-webcal-main.c:83:9: warning: assigning to 'gchar *' (aka 'char
> *') from 'const char *' discards qualifiers
> [-Wincompatible-pointer-types-discards-qualifiers]
> name = icalproperty_get_value_as_string (prop);
> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> evolution-webcal-main.c:85:9: warning: assigning to 'gchar *' (aka 'char
> *') from 'const char *' discards qualifiers
> [-Wincompatible-pointer-types-discards-qualifiers]
> desc = icalproperty_get_value_as_string (prop);
> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> evolution-webcal-main.c:115:14: warning: 'soup_message_headers_get' is
> deprecated [-Wdeprecated-declarations]
> header = soup_message_headers_get (msg->response_headers, "Location");
> ^
> /usr/local/include/libsoup-2.4/libsoup/soup-message-headers.h:40:21: note:
> 'soup_message_headers_get' declared here
> const char *soup_message_headers_get (SoupMessageHeaders
> *hdrs,
> ^
> evolution-webcal-main.c:255:3: warning: 'g_thread_init' is deprecated
> [-Wdeprecated-declarations]
> g_thread_init (NULL);
> ^
> /usr/local/include/glib-2.0/glib/deprecated/gthread.h:261:10: note:
> 'g_thread_init' declared here
> void g_thread_init (gpointer vtable);
> ^
> 4 warnings generated.
> mv -f .deps/evolution-webcal-main.Tpo .deps/evolution-webcal-main.Po
> mv -f .deps/evolution-webcal-notify.Tpo .deps/evolution-webcal-notify.Po
> cc -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -o evolution-webcal
> evolution-webcal-main.o evolution-webcal-notify.o -lgtk-x11-2.0
> -lgdk-x11-2.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr
> -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -latk-1.0 -lcairo
> -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig
> -lecal-1.2 -lical -licalss -licalvcal -pthread -ledataserver-1.2 -lxml2
> -lgconf-2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -L/usr/local/lib -lglib-2.0
> -lintl
> /usr/bin/ld: R: invalid DSO for symbol `g_thread_init' definition
> /usr/local/lib/libgthread-2.0.so.0: could not read symbols: Bad value
> cc: error: linker command failed with exit code 1 (use -v to see
> invocation)
Try the attached patch, also at:
http://meatwad.mouf.net/~swills/webcal.diff
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webcal.diff
Type: text/x-diff
Size: 1203 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130809/21ec286f/attachment.diff>
More information about the freebsd-ports
mailing list