[MacPorts] #16662: arm-none-linux-gnueabi-gcc error
#16662: arm-none-linux-gnueabi-gcc error -----------------------------------+---------------------------------------- Reporter: gajamohan.m@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: arm-none-linux-gnueabi-gcc -----------------------------------+---------------------------------------- I get this error when I try to install arm-none-linux-gnueabi-gcc would appreciate any help ---> Building arm-none-linux-gnueabi-gcc with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/build" && make all AR_FOR_TARGET=arm-none-linux-gnueabi-ar AS_FOR_TARGET=arm-none-linux- gnueabi-as LD_FOR_TARGET=arm-none-linux-gnueabi-ld NM_FOR_TARGET=arm-none- linux-gnueabi-nm RANLIB_FOR_TARGET=arm-none-linux-gnueabi-ranlib " returned error 2 Command output: make[2]: Nothing to be done for `all'. cc -no-cpp-precomp -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a -L/opt/local/lib -liconv Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_convert_input in libcpp.a(cppcharset.o) "_iconv", referenced from: _convert_using_iconv in libcpp.a(cppcharset.o) _convert_using_iconv in libcpp.a(cppcharset.o) "_iconv_open", referenced from: _init_iconv_desc in libcpp.a(cppcharset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [cc1] Error 1 make: *** [all-gcc] Error 2 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/16662> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16662: arm-none-linux-gnueabi-gcc error -----------------------------------------+---------------------------------- Reporter: gajamohan.m@gmail.com | Owner: pguyot@kallisys.net Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: arm-none-linux-gnueabi-gcc | -----------------------------------------+---------------------------------- Changes (by blb@macports.org): * owner: macports-tickets@lists.macosforge.org => pguyot@kallisys.net Old description:
I get this error when I try to install arm-none-linux-gnueabi-gcc would appreciate any help
---> Building arm-none-linux-gnueabi-gcc with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/build" && make all AR_FOR_TARGET=arm-none-linux-gnueabi-ar AS_FOR_TARGET=arm-none-linux- gnueabi-as LD_FOR_TARGET=arm-none-linux-gnueabi-ld NM_FOR_TARGET=arm- none-linux-gnueabi-nm RANLIB_FOR_TARGET=arm-none-linux-gnueabi-ranlib " returned error 2 Command output: make[2]: Nothing to be done for `all'. cc -no-cpp-precomp -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux- info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a -L/opt/local/lib -liconv Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_convert_input in libcpp.a(cppcharset.o) "_iconv", referenced from: _convert_using_iconv in libcpp.a(cppcharset.o) _convert_using_iconv in libcpp.a(cppcharset.o) "_iconv_open", referenced from: _init_iconv_desc in libcpp.a(cppcharset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [cc1] Error 1 make: *** [all-gcc] Error 2
Error: Status 1 encountered during processing.
New description: I get this error when I try to install arm-none-linux-gnueabi-gcc would appreciate any help {{{ ---> Building arm-none-linux-gnueabi-gcc with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/build" && make all AR_FOR_TARGET=arm-none-linux-gnueabi-ar AS_FOR_TARGET=arm-none-linux- gnueabi-as LD_FOR_TARGET=arm-none-linux-gnueabi-ld NM_FOR_TARGET=arm-none- linux-gnueabi-nm RANLIB_FOR_TARGET=arm-none-linux-gnueabi-ranlib " returned error 2 Command output: make[2]: Nothing to be done for `all'. cc -no-cpp-precomp -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a -L/opt/local/lib -liconv Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_convert_input in libcpp.a(cppcharset.o) "_iconv", referenced from: _convert_using_iconv in libcpp.a(cppcharset.o) _convert_using_iconv in libcpp.a(cppcharset.o) "_iconv_open", referenced from: _init_iconv_desc in libcpp.a(cppcharset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [cc1] Error 1 make: *** [all-gcc] Error 2 Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/16662#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16662: arm-none-linux-gnueabi-gcc error -----------------------------------+---------------------------------------- Reporter: gajamohan.m@… | Owner: pguyot@… Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: arm-none-linux-gnueabi-gcc -----------------------------------+---------------------------------------- Comment(by joe@…): Replying to [comment:2 blb@…]: I found this http://trac.macports.org/changeset/41445 and changed the portfile of this to try to see if I could get it to compile and changing the line -- configure.cc "cc -no-cpp-precomp" to -- configure.cc "cc -no-cpp-precomp -I${prefix}/include" It compiled on my machine with no problems. I had the exact same error as above. I did not know how to submit a patch, but wanted to submit a work around. -- Ticket URL: <http://trac.macports.org/ticket/16662#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16662: arm-none-linux-gnueabi-gcc error -----------------------------------+---------------------------------------- Reporter: gajamohan.m@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: arm-none-linux-gnueabi-gcc -----------------------------------+---------------------------------------- Changes (by jmr@…): * cc: gajamohan.m@… (removed) * owner: pguyot@… => macports-tickets@… -- Ticket URL: <https://trac.macports.org/ticket/16662#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16662: arm-none-linux-gnueabi-gcc error -----------------------------------------+---------------------------------- Reporter: gajamohan.m@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: arm-none-linux-gnueabi-gcc | -----------------------------------------+---------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: This particular error should actually no longer happen now that we're setting CPATH. -- Ticket URL: <https://trac.macports.org/ticket/16662#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts