Chat freely about anything...

User avatar
By OpenThings
#5573 I am using Mac OS X-Yosimite, build got error:
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for gobjcopy... no
checking for objcopy... no
configure: error: missing required tool: gobjcopy objcopy

but install by "sudo port install gobjcopy" got: Error: Port gobjcopy not found

Anyone can help? Thanks advance.
User avatar
By igrr
#5585
OpenThings wrote:but install by "sudo port install gobjcopy" got: Error: Port gobjcopy not found


You need to
Code: Select allsudo port install binutils
instead.
User avatar
By OpenThings
#5664 On Mac OS X Yosemite, using crosstool-NG, I run make got error as following:
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'
LD 'conf'
Undefined symbols for architecture x86_64:
"_libintl_bindtextdomain", referenced from:
_main in conf.o
"_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_textdomain", referenced from:
_main in conf.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [conf] Error 1
make[1]: *** [build-lib-kconfig] Error 2
make: *** [build] Error 2

I also run "grep=/opt/local/bin/grep" and "sudo port select gcc mp-gcc49", but no effect.
maybe the SED problem? because port install gsed.