1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] linkingerror with gtk+ 2: missing X11 dep ?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20linkingerror%20with%20gtk%2B%202%3A%20missing%20X11%20dep%20%3F&In-Reply-To=%3C50D83340.9010602%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="020899.html">
<LINK REL="Next" HREF="020905.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] linkingerror with gtk+ 2: missing X11 dep ?</H1>
<B>Guillaume Rousse</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20linkingerror%20with%20gtk%2B%202%3A%20missing%20X11%20dep%20%3F&In-Reply-To=%3C50D83340.9010602%40gmail.com%3E"
TITLE="[Mageia-dev] linkingerror with gtk+ 2: missing X11 dep ?">guillomovitch at gmail.com
</A><BR>
<I>Mon Dec 24 11:49:36 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="020899.html">[Mageia-dev] Installing Beta 1
</A></li>
<LI>Next message: <A HREF="020905.html">[Mageia-dev] linkingerror with gtk+ 2: missing X11 dep ?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#20903">[ date ]</a>
<a href="thread.html#20903">[ thread ]</a>
<a href="subject.html#20903">[ subject ]</a>
<a href="author.html#20903">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>g++ -O2 -g -pipe -Wformat -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-fPIC -pthread -D_REENTRANT -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz
-I/usr/include/gconf/2 -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -Wl,--as-needed -Wl,--no-undefined
-Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o
cryptkeeper encfs_wrapper.o ConfigDialog.o ImportStashWizard.o
CreateStashWizard.o PasswordChangeDialog.o main.o gtkstatusicon.o
gtktrayicon-x11.o PasswordEntryDialog.o lsof.o -Wl,--export-dynamic
-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lgmodule-2.0
-lrt -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgconf-2 -lglib-2.0
/usr/bin/ld: gtktrayicon-x11.o: undefined reference to symbol
'XUngrabServer'
/usr/bin/ld: note: 'XUngrabServer' is defined in DSO /lib64/libX11.so.6
so try adding it to the linker command line
/lib64/libX11.so.6: could not read symbols: Invalid operation
I fixed it in the package directly (cryptkeeper). However, shouldn't
rather gtk+-2.0 directly refers -lX11 instead ?
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillaume at beria</A> cryptkeeper]$ pkg-config --libs gtk+-2.0
-Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgio-2.0 -lgmodule-2.0 -lrt -lpangoft2-1.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig
-lgobject-2.0 -lglib-2.0
--
BOFH excuse #132:
SCSI Chain overterminated
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="020899.html">[Mageia-dev] Installing Beta 1
</A></li>
<LI>Next message: <A HREF="020905.html">[Mageia-dev] linkingerror with gtk+ 2: missing X11 dep ?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#20903">[ date ]</a>
<a href="thread.html#20903">[ thread ]</a>
<a href="subject.html#20903">[ subject ]</a>
<a href="author.html#20903">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|