| Anonymous | Login | Signup for a new account | 11-10-2008 11:28 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001854 | [uClibc] Other | minor | always | 01-04-08 01:10 | 01-04-08 21:34 | ||||
| Reporter | michael_d | View Status | public | ||||||
| Assigned To | uClibc | ||||||||
| Priority | normal | Resolution | duplicate | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0001854: 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. |
||||||||
| Additional Information | |||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
Notes |
|
|
(0003364) vapier 01-04-08 21:34 |
thanks for the patch, but this was fixed sometime ago already dupe of 0001554 |
| Copyright © 2000 - 2006 Mantis Group |