This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG 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]

Re: ct-ng build fails on MacOS X using KBUILD_NO_NLS=1


Answered my own question, but in case anyone else has this trouble, here's what I did:

Enter the kconfig directory and edit the Makefile there,
comment out lines 12 and 14.

Thanks for crosstool-ng!

On May 8, 2012, at 11:15 AM, Michael Peters wrote:

> Hi all,
> 
> I'm trying to get a cross compiler going on my mac here and seem to be having a bad time of it.  I note the mac having problems with localization is a known issue, but when I use the KBUILD_NO_NLS=1 variable to make ct-ng, it seems to be getting ignored.  Below is the output I get:
> 
> 
> assylum:crosstool-ng-1.15.0$ KBUILD_NO_NLS=1 make
>  SED    'ct-ng'
>  SED    'scripts/crosstool-NG.sh'
>  SED    'scripts/saveSample.sh'
>  SED    'scripts/showTuple.sh'
>  GEN    'config/configure.in'
>  GEN    'paths.mk'
>  GEN    'paths.sh'
>  DEP    'nconf.gui.dep'
>  DEP    'nconf.dep'
>  DEP    'lxdialog/yesno.dep'
>  DEP    'lxdialog/util.dep'
>  DEP    'lxdialog/textbox.dep'
>  DEP    'lxdialog/menubox.dep'
>  DEP    'lxdialog/inputbox.dep'
>  DEP    'lxdialog/checklist.dep'
>  DEP    'mconf.dep'
>  DEP    'conf.dep'
>  BISON  'zconf.tab.c'
>  GPERF  'zconf.hash.c'
>  LEX    'lex.zconf.c'
>  DEP    'zconf.tab.dep'
>  CC     'zconf.tab.o'
>  CC     'conf.o'
>  LD     'conf'
> Undefined symbols for architecture x86_64:
>  "_libintl_gettext", referenced from:
>      _conf_parse in zconf.tab.o
>      _conf_read_simple in zconf.tab.o
>      _conf_write in zconf.tab.o
>      _get_prompt_str in zconf.tab.o
>      _get_symbol_str in zconf.tab.o
>      _get_relations_str in zconf.tab.o
>      _menu_get_ext_help in zconf.tab.o
>      ...
>  "_libintl_setlocale", referenced from:
>      _main in conf.o
>  "_libintl_bindtextdomain", referenced from:
>      _main in conf.o
>  "_libintl_textdomain", referenced from:
>      _main in conf.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> make[2]: *** [conf] Error 1
> make[1]: *** [build-lib-kconfig] Error 2
> make: *** [build] Error 2
> 
> Any advice would be appreciated, thanks!
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
> 


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