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
0005384 [buildroot] Other block always 10-13-08 03:29 10-13-08 03:29
Reporter tpetazzoni View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version
Summary 0005384: xclock should not be linked against iconv
Description The current xapp_xclock.mk does:

XAPP_XCLOCK_CONF_OPT = LDFLAGS="-liconv"

which forces the library flags -liconv to be passed on every compilation. However, with uClibc, the iconv functions (iconv_open(), iconv_close()) are directly part of the C library, and not part of a separate iconv library. So with this LDFLAGS value, the compilation fails.

The configure.ac file of xclock contains:

AC_SEARCH_LIBS([iconv], [iconv],
        [AC_DEFINE(HAVE_ICONV, 1, [Define to 1 if iconv() is available.])])

so it should already automatically link with -liconv if needed, or without -liconv if not needed.

The attached patch fixes the problem by simply dropping XAPP_XCLOCK_CONF_OPT.
Additional Information
Attached Files  xapp-xclock-remove-liconv [^] (574 bytes) 10-13-08 03:29

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
10-13-08 03:29 tpetazzoni New Issue
10-13-08 03:29 tpetazzoni Status new => assigned
10-13-08 03:29 tpetazzoni Assigned To  => buildroot
10-13-08 03:29 tpetazzoni File Added: xapp-xclock-remove-liconv


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker