* ct-ng build fails on MacOS X using KBUILD_NO_NLS=1
@ 2012-05-08 18:15 Michael Peters
2012-05-08 19:55 ` Yann E. MORIN
2012-05-08 22:29 ` Michael Peters
0 siblings, 2 replies; 5+ messages in thread
From: Michael Peters @ 2012-05-08 18:15 UTC (permalink / raw)
To: crossgcc
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ct-ng build fails on MacOS X using KBUILD_NO_NLS=1
2012-05-08 18:15 ct-ng build fails on MacOS X using KBUILD_NO_NLS=1 Michael Peters
@ 2012-05-08 19:55 ` Yann E. MORIN
2012-05-08 22:29 ` Michael Peters
1 sibling, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2012-05-08 19:55 UTC (permalink / raw)
To: crossgcc; +Cc: Michael Peters
Michael, All,
On Tuesday 08 May 2012 20:15:36 Michael Peters wrote:
> 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:
[--SNIP--]
> Any advice would be appreciated, thanks!
Looks like the same issue encountered under Cygwin:
http://sourceware.org/ml/crossgcc/2012-05/msg00008.html
Care to test the patch in there:
http://sourceware.org/ml/crossgcc/2012-05/msg00012.html
(note: it's not the final patch, just tell us whether it fixes the build
for you too)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ct-ng build fails on MacOS X using KBUILD_NO_NLS=1
2012-05-08 18:15 ct-ng build fails on MacOS X using KBUILD_NO_NLS=1 Michael Peters
2012-05-08 19:55 ` Yann E. MORIN
@ 2012-05-08 22:29 ` Michael Peters
2012-08-01 11:42 ` Samuel Martin
1 sibling, 1 reply; 5+ messages in thread
From: Michael Peters @ 2012-05-08 22:29 UTC (permalink / raw)
To: crossgcc
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ct-ng build fails on MacOS X using KBUILD_NO_NLS=1
2012-05-08 22:29 ` Michael Peters
@ 2012-08-01 11:42 ` Samuel Martin
2012-08-01 11:47 ` Yann E. MORIN
0 siblings, 1 reply; 5+ messages in thread
From: Samuel Martin @ 2012-08-01 11:42 UTC (permalink / raw)
To: Michael Peters; +Cc: crossgcc
Hi all,
Just for the record, I got the same issue as Michael using the latest
release (1.15.3) on Lion and I fixed it like this:
--- kconfig/Makefile.orig 2012-08-01 13:36:45.000000000 +0200
+++ kconfig/Makefile 2012-08-01 12:27:14.000000000 +0200
@@ -7,7 +7,7 @@ all: conf mconf nconf
# Build flags
CFLAGS = -DCONFIG_=\"CT_\" -DPACKAGE="\"crosstool-NG $(VERSION)\""
-LDFLAGS =
+LDFLAGS = -L/opt/local/lib -lintl
# Compiler flags to use gettext
ifeq ($(gettext),)
Cheers,
--
Sam
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ct-ng build fails on MacOS X using KBUILD_NO_NLS=1
2012-08-01 11:42 ` Samuel Martin
@ 2012-08-01 11:47 ` Yann E. MORIN
0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2012-08-01 11:47 UTC (permalink / raw)
To: crossgcc; +Cc: Samuel Martin, Michael Peters
Samuel, Michael, All,
On Wednesday 01 August 2012 13:41:08 Samuel Martin wrote:
> Just for the record, I got the same issue as Michael using the latest
> release (1.15.3) on Lion and I fixed it like this:
>
> --- kconfig/Makefile.orig 2012-08-01 13:36:45.000000000 +0200
> +++ kconfig/Makefile 2012-08-01 12:27:14.000000000 +0200
> @@ -7,7 +7,7 @@ all: conf mconf nconf
>
> # Build flags
> CFLAGS = -DCONFIG_=\"CT_\" -DPACKAGE="\"crosstool-NG $(VERSION)\""
> -LDFLAGS =
> +LDFLAGS = -L/opt/local/lib -lintl
It's been already fixed another way in the repository:
http://crosstool-ng.org/hg/crosstool-ng/rev/6f23aba03281
Thank you.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< O_o >==-- '------------.-------: X AGAINST | /e\ There is no |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL | """ conspiracy. |
'------------------------------'-------'------------------'--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-08-01 11:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08 18:15 ct-ng build fails on MacOS X using KBUILD_NO_NLS=1 Michael Peters
2012-05-08 19:55 ` Yann E. MORIN
2012-05-08 22:29 ` Michael Peters
2012-08-01 11:42 ` Samuel Martin
2012-08-01 11:47 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).