pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/gcc-aux fails on something related to libiconv



I tried to compile lang/gcc-aux for NetBSD,-current amd64, now at 7.99.1, and 
failed on something related to libiconv, even though I had just built 
converters/libiconv from pkgsrc.

I looked in the pretty-print.c file, /usr/pkg/include/iconv.h and 
/usr/include/iconv.h, can't really see what was wrong, but then I can't really 
say if it looked good.

Last part of build log was

/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/bootstrap/bin/g++    -g -O2 -DIN_GCC   
 -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long 
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H 
-static-libstdc++ -static-libgcc -lm -Wl,-R/usr/pkg/lib -o cc1 c/c-lang.o 
c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o 
c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o 
c/c-array-notation.o c-family/c-common.o c-family/c-cppbuiltin.o 
c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o 
c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o 
c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o 
c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o 
c-family/cilk.o c-family/c-ubsan.o i386-c.o default-c.o \
  cc1-checksum.o libbackend.a main.o  libcommon-target.a libcommon.a 
insn-modes.o ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a 
../libcpp/libcpp.a ./../intl/libintl.a  ../libbacktrace/.libs/libbacktrace.a 
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   -L/usr/pkg/lib 
-L/usr/pkg/lib -L/usr/pkg/lib -lmpc -lmpfr -lgmp -rdynamic  -L../zlib -lz
libcommon.a(pretty-print.o): In function `identifier_to_locale(char const*)':
/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/gcc-4.9.0/gcc/pretty-print.c:1079: 
undefined reference to `libiconv_open'
/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/gcc-4.9.0/gcc/pretty-print.c:1106: 
undefined reference to `libiconv'
/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/gcc-4.9.0/gcc/pretty-print.c:1128: 
undefined reference to `libiconv'
/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/gcc-4.9.0/gcc/pretty-print.c:1099: 
undefined reference to `libiconv'
/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/gcc-4.9.0/gcc/pretty-print.c:1146: 
undefined reference to `libiconv_close'
/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/gcc-4.9.0/gcc/pretty-print.c:1146: 
undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/gcc-4.9.0/gcc/c/Make-lang.in:71: 
recipe for target 'cc1' failed
gmake[4]: *** [cc1] Error 1
gmake[4]: Leaving directory '/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/build/gcc'
Makefile:3970: recipe for target 'all-gcc' failed
gmake[3]: *** [all-gcc] Error 2
gmake[3]: Leaving directory '/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/build'
Makefile:858: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/build'
*** Error code 2

Stop.
make[1]: stopped in /BETA1/pkgsrc/lang/gcc-aux
*** Error code 1

Stop.
make: stopped in /BETA1/pkgsrc/lang/gcc-aux


Tom



Home | Main Index | Thread Index | Old Index