Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | after gcc linking has changed, all the libraries must be explicitely specified |
| 2 | This patch avoids these linking errors: |
| 3 | |
| 4 | |
| 5 | | make[2]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/dates-0.4.11+git0+514185dc1f6588085fda41eb59898b93d0487dd4-r2/git/src'^M |
| 6 | ... |
| 7 | | /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: e: invalid DSO for symbol `pow@@GLIBC_2.0' definition^M |
| 8 | | /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libm.so: could not read symbols: Bad value^M |
| 9 | | collect2: ld returned 1 exit status^M |
| 10 | | make[2]: *** [dates] Error 1 |
| 11 | |
| 12 | |
| 13 | |
| 14 | | /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: z: invalid DSO for symbol `pango_layout_get_extents' definition |
| 15 | | /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so: could not read symbols: Bad value |
| 16 | | collect2: ld returned 1 exit status |
| 17 | | make[2]: *** [dates] Error 1 |
| 18 | |
| 19 | |
| 20 | Nitin A Kamble <nitin.a.kamble@intel.com> |
| 21 | Date: 2011/01/11 |
| 22 | |
| 23 | Update: |
| 24 | This is identified as a libtool issue. While creating the libgtkdatesview.la |
| 25 | file, libtool should have added these needed libraries in there. |
| 26 | A bug has been created for this issue: |
| 27 | http://bugzilla.pokylinux.org/show_bug.cgi?id=664 |
| 28 | Nitin A Kamble <nitin.a.kamble@intel.com> |
| 29 | Date: 2011/01/19 |
| 30 | |
| 31 | Upstream-Status: Pending |
| 32 | |
| 33 | Index: git/src/Makefile.am |
| 34 | =================================================================== |
| 35 | --- git.orig/src/Makefile.am |
| 36 | +++ git/src/Makefile.am |
| 37 | @@ -34,6 +34,6 @@ dates_SOURCES = $(platform) \ |
| 38 | gconf-bridge.h \ |
| 39 | gconf-bridge.c |
| 40 | |
| 41 | -dates_LDADD = $(DATES_LIBS) $(OWL_LIBS) libgtkdatesview.la |
| 42 | +dates_LDADD = $(DATES_LIBS) $(OWL_LIBS) libgtkdatesview.la -lm -lpango-1.0 |
| 43 | |
| 44 | MAINTAINERCLEANFILES = config.h.in Makefile.in |