Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0005394]: xedit compilation fails
Date: Mon, 13 Oct 2008 04:50:16 -0700	[thread overview]
Message-ID: <664ce541334598e6bee2da066c172a71@busybox.net> (raw)


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=5394 
====================================================================== 
Reported By:                tpetazzoni
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   5394
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-13-2008 04:47 PDT
Last Modified:              10-13-2008 04:50 PDT
====================================================================== 
Summary:                    xedit compilation fails
Description: 
The compilation of xedit fails, because the libraries used by some
libraries that xedit is linked with are not listed in the link command
line, and xedit doesn't seem to use libtool.

Example:
/usr/local/uclibc-0.9.29/arm/usr//bin/arm-linux-gcc -Os 
-I/home/thomas/local/buildroot/build_arm/staging_dir/include
-I/home/thomas/local/buildroot/build_arm/staging_dir/usr/include
-I/usr/local/uclibc-0.9.29/arm/usr//arm-linux/include  -g -O2 
-L/home/thomas/local/buildroot/build_arm/staging_dir/lib
-L/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib -o xedit 
xedit-commands.o xedit-hook.o xedit-ispell.o xedit-lisp.o xedit-options.o
xedit-realpath.o xedit-strcasecmp.o xedit-util.o xedit-xedit.o
xedit-print.o xedit-printdialog.o libre.a liblisp.a libmp.a -lXaw8 -lXmu
-lXt -lX11 -lSM -lICE -lXau   -lXprintUtil -lXt -lX11 -lSM -lICE -lXp
-lXau   -lm 
/usr/local/uclibc-0.9.29/arm/usr/bin/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/../../../../arm-linux-uclibcgnueabi/bin/ld:
warning: libXext.so.6, needed by
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXaw8.so, not
found (try using -rpath or -rpath-link)
/usr/local/uclibc-0.9.29/arm/usr/bin/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/../../../../arm-linux-uclibcgnueabi/bin/ld:
warning: libXpm.so.4, needed by
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXaw8.so, not
found (try using -rpath or -rpath-link)
/usr/local/uclibc-0.9.29/arm/usr/bin/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/../../../../arm-linux-uclibcgnueabi/bin/ld:
warning: libxcb-xlib.so.0, needed by
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so, not
found (try using -rpath or -rpath-link)
/usr/local/uclibc-0.9.29/arm/usr/bin/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/../../../../arm-linux-uclibcgnueabi/bin/ld:
warning: libxcb.so.1, needed by
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so, not
found (try using -rpath or -rpath-link)
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_connection_has_error'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_xlib_lock'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_poll_for_reply'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_get_maximum_request_length'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_xlib_unlock'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXaw8.so:
undefined reference to `XpmReadFileToPixmap'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXaw8.so:
undefined reference to `XShapeQueryExtension'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXp.so:
undefined reference to `XMissingExtension'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_get_file_descriptor'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_connect'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_wait_for_reply'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXp.so:
undefined reference to `XextRemoveDisplay'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_get_setup'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXp.so:
undefined reference to `XextCreateExtension'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_send_request'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_wait_for_event'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_flush'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_poll_for_event'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXaw8.so:
undefined reference to `XShapeCombineMask'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXp.so:
undefined reference to `XextFindDisplay'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_parse_display'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libXp.so:
undefined reference to `XextAddDisplay'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_generate_id'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_disconnect'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_get_request_sent'
/home/thomas/local/buildroot/build_arm/staging_dir/usr/lib/libX11.so:
undefined reference to `xcb_connect_to_display_with_auth_info'
collect2: ld returned 1 exit status

A workaround to get it to work: add -lxcb-xlib -lxcb -lXpm -lXext -lXdmcp
to the link command line.
====================================================================== 

---------------------------------------------------------------------- 
 tpetazzoni - 10-13-08 04:50  
---------------------------------------------------------------------- 
The problem is similar with xclock, xev and probably other basic X11
applications. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-13-08 04:47  tpetazzoni     New Issue                                    
10-13-08 04:47  tpetazzoni     Status                   new => assigned     
10-13-08 04:47  tpetazzoni     Assigned To               => buildroot       
10-13-08 04:50  tpetazzoni     Note Added: 0013444                          
======================================================================

             reply	other threads:[~2008-10-13 11:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-13 11:50 bugs at busybox.net [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-13 11:47 [Buildroot] [buildroot 0005394]: xedit compilation fails bugs at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=664ce541334598e6bee2da066c172a71@busybox.net \
    --to=bugs@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox