BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005394 [buildroot] Architecture Specific minor always 10-13-08 04:47 10-13-08 04:50
Reporter tpetazzoni View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version
Summary 0005394: 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.
Additional Information
Attached Files

- Relationships

- Notes
(0013444)
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


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker