Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [buildroot 0005394]: xedit compilation fails
@ 2008-10-13 11:47 bugs at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugs at busybox.net @ 2008-10-13 11:47 UTC (permalink / raw)
  To: buildroot


The following issue has been SUBMITTED. 
====================================================================== 
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:47 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.
====================================================================== 

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       
======================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [buildroot 0005394]: xedit compilation fails
@ 2008-10-13 11:50 bugs at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugs at busybox.net @ 2008-10-13 11:50 UTC (permalink / raw)
  To: buildroot


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                          
======================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-13 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-13 11:50 [Buildroot] [buildroot 0005394]: xedit compilation fails bugs at busybox.net
  -- strict thread matches above, loose matches on Subject: below --
2008-10-13 11:47 bugs at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox