Skip to contentSkip to conversation

package/x11r7/xapp_xfs: Fix linking error

PATCH New Bernd Kuhls 2 participants 4 messages Feb 20, 2015 – Aug 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/x11r7/xapp_xfs: Fix linking error

Fixes
http://autobuild.buildroot.net/results/a0b/a0bd6312d450fb78db7f57d3db9e01ba2b26687d//
http://autobuild.buildroot.net/results/534/5347293cdcd7eb2e84b762ee9d073f3b937b5312//
http://autobuild.buildroot.net/results/b5e/b5e7599ba33dc43a8f7e81bfa6d7ad9cb0ac68a1//

and many others (microblazeel only)

---
 package/x11r7/xapp_xfs/xapp_xfs.mk |    3 +++
 1 file changed, 3 insertions(+)
package/x11r7/xapp_xfs/xapp_xfs.mk +3 -0
index 3e70455..2284fba 100644
@@ -11,4 +11,7 @@ XAPP_XFS_LICENSE = MIT
 XAPP_XFS_LICENSE_FILES = COPYING
 XAPP_XFS_DEPENDENCIES = xlib_libFS xlib_libXfont xproto_fontsproto
 
+# needed for linking against libXfont
+XAPP_XFS_MAKE_OPTS += LIBS=-ldl
+
 $(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package/x11r7/xapp_xfs: Fix linking error

Dear Bernd Kuhls,

Quoted 6 lines · Bernd Kuhls

Fixes
http://autobuild.buildroot.net/results/a0b/a0bd6312d450fb78db7f57d3db9e01ba2b26687d//
http://autobuild.buildroot.net/results/534/5347293cdcd7eb2e84b762ee9d073f3b937b5312//
http://autobuild.buildroot.net/results/b5e/b5e7599ba33dc43a8f7e81bfa6d7ad9cb0ac68a1//

and many others (microblazeel only)

Maybe this is a silly question, but do we know why this error is appearing on Microblaze only?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 package/x11r7/xapp_xfs: Fix linking error

Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 @public.gmane.org> wrote in news:20150220193524.72d2ff63 at free-electrons.com:

Quoted 5 lines

Dear Bernd Kuhls,

Quoted 2 lines · Bernd Kuhls

Fixes

http://autobuild.buildroot.net/results/a0b/a0bd6312d450fb78db7f57d3db9e01ba2b
26687d//

Quoted 1 line
Quoted 1 line

http://autobuild.buildroot.net/results/534/5347293cdcd7eb2e84b762ee9d073f3b93
7b5312//

Quoted 1 line
Quoted 1 line

http://autobuild.buildroot.net/results/b5e/b5e7599ba33dc43a8f7e81bfa6d7ad9cb0
ac68a1//

Quoted 5 lines
Quoted 2 lines

and many others (microblazeel only)

Maybe this is a silly question, but do we know why this error is appearing on Microblaze only?

Hi,

during configure xapp_xfs (and xapp_bdftopcf as well...) does not check for dlopen so at the end "-ldl" is missing at linking stage. After digging around a bit in libtool stuff I stopped because I could not find out what was going on there...

Regards, Bernd

#3 lore raw

PATCH 1/1 package/x11r7/xapp_xfs: Fix linking error

In reply to Thomas Petazzoni

Am Fri, 20 Feb 2015 19:35:24 +0100 schrieb Thomas Petazzoni:

Quoted 5 lines

Dear Bernd Kuhls,

Quoted 2 lines · Bernd Kuhls

Fixes
http://autobuild.buildroot.net/results/a0b/

a0bd6312d450fb78db7f57d3db9e01ba2b26687d//

Quoted 1 line
Quoted 1 line

http://autobuild.buildroot.net/

results/534/5347293cdcd7eb2e84b762ee9d073f3b937b5312//

Quoted 1 line
Quoted 1 line

http://autobuild.buildroot.net/results/b5e/

b5e7599ba33dc43a8f7e81bfa6d7ad9cb0ac68a1//

Quoted 5 lines
Quoted 2 lines

and many others (microblazeel only)

Maybe this is a silly question, but do we know why this error is appearing on Microblaze only?

Hi Thomas,

(currently busy cleaning up my local patch queues ;))

just ftr: the error is gone with current buildroot.

Regards, Bernd