summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/settings-daemon/files
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-01-11 07:16:13 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-20 21:37:03 +0000
commit8327a9d2783e7a6209ea813295b9535653f0326e (patch)
tree1801d0d501b106848b505dff420e4f3c15daaa39 /meta/recipes-sato/settings-daemon/files
parentd9276d4a043c4b3f32a681531e6b9e92d45222c7 (diff)
downloadpoky-8327a9d2783e7a6209ea813295b9535653f0326e.tar.gz
settings-daemon: fix build error with new gcc dso linking change
All the libraries needs to be specified explicitely with the new gcc dso linking change patch. This was causing build errors for this recipe. Specifying the libX11 library explicitely for linking to work without errors. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-sato/settings-daemon/files')
-rw-r--r--meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch b/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..5fd96d4645
--- /dev/null
+++ b/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch
@@ -0,0 +1,29 @@
1after gcc linking has changed, all the libraries must be explicitely specified to for linking.
2This patch avoids this linking error:
3
4| make all-am^M
5| make[1]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M
6| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o settings-daemon settings_daemon-xsettings-common.o settings_daemon-xsettings-manager.o settings_daemon-settings-daemon.o -pthread -lgconf-2 -ldbus-glib-1 -ldbus-1 -lpthread -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0^M
7| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: *^A: invalid DSO for symbol `XCreateSimpleWindow' definition^M
8| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value^M
9| collect2: ld returned 1 exit status^M
10| make[1]: *** [settings-daemon] Error 1^M
11| make[1]: Leaving directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M
12| make: *** [all] Error 2^M
13
14Nitin A Kamble <nitin.a.kamble@intel.com>
15Date: 2011/01/11
16
17Index: settings-daemon/configure.ac
18===================================================================
19--- settings-daemon.orig/configure.ac
20+++ settings-daemon/configure.ac
21@@ -14,7 +14,7 @@ AC_PROG_CC
22
23
24 dnl TODO: make gconf optional
25-PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0])
26+PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0 x11])
27
28
29 AC_SUBST(APP_CFLAGS)