[uClibc 0001854]: make menuconfig fails when libncurses is an as-needed stub
bugs at busybox.net
bugs at busybox.net
Sat Jan 5 05:34:58 UTC 2008
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=1854
======================================================================
Reported By: michael_d
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 1854
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: duplicate
Duplicate: 0
Fixed in Version:
======================================================================
Date Submitted: 01-04-2008 01:10 PST
Last Modified: 01-04-2008 21:34 PST
======================================================================
Summary: make menuconfig fails when libncurses is an
as-needed stub
Description:
On my systems, I have replaced most "*.so" files with linker scripts which
reference the real libraries with in an AS_NEEDED( ) block. This makes my
binaries neater in cases where dumb build scripts reference libraries that
aren't really needed.
However, when I try to configure a virgin uClibc tree, I get many errors
linking "mconf", which cite undefined symbols that are obviously from
ncurses.
It appears the linker works left-to-right and decides when a library is
needed or not at the moment it appears. Your Makefile puts "-lncurses"
before any object files, so the linker never sees an ncurses symbol
reference until it is too late.
This problem apparently would also occur with a static libncurses -- hence
most other projects are careful to put all "-l" options at the end of the
linker invocation.
I've attached a patch that moves the library options to the end of the
line, allowing "make menuconfig" to work on my system.
======================================================================
----------------------------------------------------------------------
vapier - 01-04-08 21:34
----------------------------------------------------------------------
thanks for the patch, but this was fixed sometime ago already
dupe of http://busybox.net/bugs/view.php?id=1554
Issue History
Date Modified Username Field Change
======================================================================
01-04-08 01:10 michael_d New Issue
01-04-08 01:10 michael_d Status new => assigned
01-04-08 01:10 michael_d Assigned To => uClibc
01-04-08 01:10 michael_d File Added: uClibc-0.9.29-conffix.diff
01-04-08 21:34 vapier Note Added: 0003364
01-04-08 21:34 vapier Status assigned => closed
01-04-08 21:34 vapier Resolution open => duplicate
======================================================================
More information about the uClibc-cvs
mailing list