libc_nonshared.a missing on 10.0-RC1

Derrick Dantavious Edwards dantavious313 at gmail.com
Tue Dec 17 02:11:28 UTC 2013


	Hi all,
I was attempting to upgrade to 10.0-RC2 and I have run into the same problem as previously 
reported however, their fix is not working for me.

I get the following error when I attempt to buildworld.

--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL="sh /usr/src/tools/install.sh"  
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/t
mp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin  
WORLDTMP=/usr/obj/usr/src/tmp  VERSION="FreeBSD 10.0-RC2 amd64 1000510"  
MAKEFLAGS="-m /usr/src/tools/build/mk  -m /usr/src/share/mk"  COMPILER_TYPE=clang make  
-f Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=  
BOOTSTRAPPING=1000501  SSP_CFLAGS=  -DNO_LINT  -DNO_CPU_CFLAGS -DNO_WARNS -
DNO_CTF -DEARLY_BUILD build-tools
===> bin/csh (obj,build-tools)
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define' >> sh.err.h
cc -E -O2 -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -
D_PATH_TCSHELL='"/bin/csh"' -std=gnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include 
/usr/src/bin/csh/../../contrib/tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h 
/usr/src/bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h 
/usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const |  grep 'Char STR' |  sed -e 
's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' |  sort >> tc.const.h
cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2 -pipe -I. -I/usr/src/bin/csh -
I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' -std=gnu99 -
I/usr/obj/usr/src/tmp/legacy/usr/include  /usr/src/bin/csh/../../contrib/tcsh/gethost.c
/usr/bin/ld: cannot find /usr/lib/libc_nonshared.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /usr/src/bin/csh
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1


When I attempt to make in /usr/src/lib/libc_nonshared as previously suggested, I get the 
following error.

/usr/src/lib/libc_nonshared # ls
Makefile        Makefile.iconv  __stub.c
root at datdude:/usr/src/lib/libc_nonshared # make
cc  -O2 -pipe  -fpic -DPIC -fvisibility=hidden -I/usr/src/lib/libc_nonshared/../libc/iconv -
std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-
format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-
arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -
Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-
definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-
plus-int -c /usr/src/lib/libc_nonshared/__stub.c -o __stub.o
cc  -O2 -pipe  -fpic -DPIC -fvisibility=hidden -I/usr/src/lib/libc_nonshared/../libc/iconv -
std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-
format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-
arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -
Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-
definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-
plus-int -c /usr/src/lib/libc_nonshared/../libc/iconv/__iconv.c -o __iconv.o
In file included from /usr/src/lib/libc_nonshared/../libc/iconv/__iconv.c:30:
/usr/include/iconv.h:43:10: fatal error: '_libiconv_compat.h' file not found
#include <_libiconv_compat.h>
         ^
1 error generated.
*** Error code 1

Stop.
make: stopped in /usr/src/lib/libc_nonshared

Finally, when I attempt to compile /usr/src/lib/libiconv, I get the following error. I dont know 
what to do at the point. Any assistance would be greatly appreciated.

-W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-
align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -
Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_esdb.c -o citrus_esdb.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_hash.c -o citrus_hash.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_iconv.c -o citrus_iconv.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_lookup.c -o citrus_lookup.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_lookup_factory.c -o citrus_lookup_factory.o
cc  -O2 -pipe  --param max-inline-insns-single=128 -I /usr/src/lib/libiconv/../../include -
I/usr/src/lib/libiconv/../libc/include -std=gnu99 -Qunused-arguments -fstack-protector -
Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -
Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-
externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-
pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/lib/libiconv/../libc/iconv/citrus_mapper.c -o citrus_mapper.o


More information about the freebsd-stable mailing list