g95-0.90_2 Intel Leopard build error
Adam Mercer
ram at macports.org
Sat Jan 5 11:09:47 PST 2008
Hi
I'm having a problem building g95-0.90_2 on Intel Leopard, I get the
following error:
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/g95-0.90"
&& make all " returned error 2
Command output:
/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/gcc.h:45:1:
warning: this is the location of the previous definition
gawk -f /opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/opt-functions.awk
\
-f /opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/opt-gather.awk
\
/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/common.opt
lang.opt > options.tmp
gawk -f /opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/opt-functions.awk
\
-f /opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/optc-gen.awk
options.tmp > options.c
gawk -f /opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/opt-functions.awk
\
-f /opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/opth-gen.awk
options.tmp > options.h
/usr/bin/gcc-4.0 -c -O2 -DIN_GCC -Wall -Wmissing-prototypes
-no-cpp-precomp -I. -I-
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/include
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/config
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/libcpp/include
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/gcc
-I/opt/local/include
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/intl
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/intl
/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/opts.c
cc1: note: obsolete option -I- used, please use -iquote instead
/usr/bin/gcc-4.0 -c -O2 -DIN_GCC -Wall -Wmissing-prototypes
-no-cpp-precomp -I. -I-
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/include
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/config
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/libcpp/include
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/gcc
-I/opt/local/include
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/intl
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/intl
options.c
cc1: note: obsolete option -I- used, please use -iquote instead
/usr/bin/gcc-4.0 -c -O2 -DIN_GCC -Wall -Wmissing-prototypes
-no-cpp-precomp -DTARGET_NAME=\"i386-apple-darwin9.1.0\"
-DSTANDARD_EXEC_PREFIX=\"/opt/local/lib/gcc-lib/i386-apple-darwin9.1.0/4.0.3\"
-DTARGET_SYSTEM_ROOT=\"\" -DDEFAULT_TARGET_VERSION=\"\"
-DDEFAULT_TARGET_MACHINE=\"\" -DTOOLDIR_BASE_PREFIX=\"\"
-DSTANDARD_STARTFILE_PREFIX=\"\"
-DSTANDARD_STARTFILE_PREFIX_2=\"/usr/lib/\"
-DSTANDARD_EXEC_PREFIX=\"/opt/local/lib/gcc-lib/i386-apple-darwin9.1.0/4.0.3\"
-DSTANDARD_BINDIR_PREFIX=\"/opt/local/bin\"
-DSTANDARD_LIBEXEC_PREFIX=\"/opt/local/lib/gcc-lib/i386-apple-darwin9.1.0/4.0.3\"
-DG95_SPEC=\"\" -I. -I-
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/include
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/config
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/libcpp/include
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/gcc
-I/opt/local/include
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/intl
-I/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/intl
/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/gcc/gcc.c
cc1: note: obsolete option -I- used, please use -iquote instead
echo "const char version_string[] = \"`cat gcc_version` (g95 0.90!) \"
__DATE__;" > version.c
echo 'const char bug_report_url[] = "http://www.g95.org or mail
andyv at firstinter.net";' >> version.c
/usr/bin/gcc-4.0 -O2 -DIN_GCC -Wall -Wmissing-prototypes
-no-cpp-precomp -c version.c
/usr/bin/gcc-4.0 -O2 -DIN_GCC -Wall -Wmissing-prototypes
-no-cpp-precomp -L/opt/local/lib -o g95 g95-g95spec.o
/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/gcc/prefix.o
gcc.o version.o
/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/gcc/intl.o
/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/libiberty/libiberty.a
/opt/local/var/macports/build/_Users_ram_opt_macports_lang_g95/work/gcc-4.0.3/g95/intl/libintl.a
-liconv
Undefined symbols:
"_iconv", referenced from:
__nl_find_msg in libintl.a(dcigettext.o)
"_iconv_open", referenced from:
__nl_init_domain_conv in libintl.a(loadmsgcat.o)
__nl_init_domain_conv in libintl.a(loadmsgcat.o)
"_iconv_close", referenced from:
__nl_free_domain_conv in libintl.a(loadmsgcat.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [g95] Error 1
make: *** [all] Error 2
Warning: the following items did not execute (for g95):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
Any ideas?
Cheers
Adam
More information about the macports-users
mailing list