This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Anthony, All, On Tuesday 07 September 2010 08:04:10 Anthony Foiani wrote: > $ ct-ng menuconfig [--SNIP--] > LD kconfig/mconf > kconfig/lxdialog/checklist.o: In function `print_item': > checklist.c:(.text+0x33): undefined reference to `wmove' > checklist.c:(.text+0x4d): undefined reference to `waddch' > It turns out that Fedora puts most native libraries in /lib64 (or > /usr/lib64) on x86_64 platforms. The following patch fixes it for me: Argh. Fedora again... ;-) > $ hg diff > diff -r f5ab0a80e466 kconfig/lxdialog/check-lxdialog.sh > --- a/kconfig/lxdialog/check-lxdialog.sh Tue Aug 31 23:24:40 2010 +0200 > +++ b/kconfig/lxdialog/check-lxdialog.sh Tue Sep 07 00:03:21 2010 -0600 > @@ -17,10 +17,12 @@ > { > for ext in so a dylib ; do > for lib in ncursesw ncurses curses ; do > - if [ -f "${LIBPATH}/lib${lib}.${ext}" ]; then > - echo "-L${LIBPATH} -l${lib}" > - exit > - fi > + for dir in "${LIBPATH}" "${LIBPATH}64" ; do > + if [ -f "${dir}/lib${lib}.${ext}" ]; then > + echo "-L${LIBPATH} -l${lib}" ^^^^^^^^^^ I guess you meant "-L${dir}" here. Otherwise, your patch would have had no effect, AFAICS... Besides, the patch is space-damaged. Next time, use "hg email" it works wonders to send patches! ;-) > Hopefully that will help someone out later on. :) > Thanks for the great tool! Thanks for the patch, but I prefer we sync up with how the Linux kernel does it things... I will try to sync this weekend, as time permits... Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |