Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2002 11:17:15 -0600
From:      Joseph Koenig <joe@jwebmedia.com>
To:        FBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Problems building Jail
Message-ID:  <3C5EC21A.86A7C91@jwebmedia.com>

next in thread | raw e-mail | index | archive | help
When trying to build a jail (from a script based on directions in the
manual) I get the following errors. The system is a FreeBSD 4.2 system.
I had updated my source tree after having problems the first time. Any
ideas on how to fix this? Thanks,

Joe

===> lib/libkvm
rm -f .depend
mkdep -f .depend -a    -DLIBC_SCCS -I/usr/src/lib/libkvm
-I/usr/src/lib/libkvm/../../sys  /usr/src/lib/libkvm/kvm.c
/usr/src/lib/libkvm/kvm_i386.c /usr/src/lib/libkvm/kvm_fi$
*** Error code 1

Stop in /usr/src/lib/libkvm.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
===> share/info
===> include
===> include/rpcsvc
===> include/rpc
===> lib
===> lib/csu/i386-elf
===> lib/libcom_err
===> lib/libcom_err/doc
===> lib/libcrypt
===> lib/msun
===> lib/libmd
===> lib/libncurses
===> lib/libradius
===> lib/libskey
===> lib/libtacplus
===> lib/libutil
cc -O -pipe  -Wall -DLIBC_SCCS -I/usr/src/lib/libutil
-I/usr/src/lib/libutil/../../sys -DINET6 -c
/usr/src/lib/libutil/login_auth.c -o login_auth.o
*** Error code 1

Stop in /usr/src/lib/libutil.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

--------------------------

cd /usr/src/lib/libutil &&  install -C -o root -g wheel -m 444 
login_cap.h /usr/jail/66.216.71.72/usr/include
install -c -o root -g wheel -m 444   libutil.a /usr/jail/66.216.71.72/usr/lib
*** Error code 71

Stop in /usr/src/lib/libutil.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
-------------------------

If I run the script so the output is dumped to a file, the standard
output shows me this also:

In file included from /usr/src/lib/libkvm/../../sys/sys/ucred.h:41,
                 from /usr/src/lib/libkvm/../../sys/sys/user.h:46,
                 from /usr/src/lib/libkvm/kvm.c:48:
/usr/src/lib/libkvm/../../sys/sys/mutex.h:46: machine/mutex.h: No such
file or directory
In file included from /usr/src/lib/libkvm/../../sys/sys/ucred.h:41,
                 from /usr/src/lib/libkvm/../../sys/sys/user.h:46,
                 from /usr/src/lib/libkvm/kvm_i386.c:53:
/usr/src/lib/libkvm/../../sys/sys/mutex.h:46: machine/mutex.h: No such
file or directory
In file included from /usr/src/lib/libkvm/../../sys/sys/ucred.h:41,
                 from /usr/src/lib/libkvm/../../sys/sys/user.h:46,
                 from /usr/src/lib/libkvm/kvm_file.c:51:
/usr/src/lib/libkvm/../../sys/sys/mutex.h:46: machine/mutex.h: No such
file or directory
In file included from /usr/src/lib/libkvm/../../sys/sys/ucred.h:41,
                 from /usr/src/lib/libkvm/../../sys/sys/proc.h:56,
                 from /usr/src/lib/libkvm/kvm_getloadavg.c:46:
/usr/src/lib/libkvm/../../sys/sys/mutex.h:46: machine/mutex.h: No such
file or directory
In file included from /usr/src/lib/libkvm/../../sys/sys/ucred.h:41,
                 from /usr/src/lib/libkvm/../../sys/sys/user.h:46,
                 from /usr/src/lib/libkvm/kvm_proc.c:52:
/usr/src/lib/libkvm/../../sys/sys/mutex.h:46: machine/mutex.h: No such
file or directory
mkdep: compile failed
In file included from /usr/src/lib/libutil/login_auth.c:49:
/usr/src/lib/libutil/../../sys/sys/socket.h:312: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:316: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:338: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:433: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:434: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:435: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:436: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:437: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:438: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:441: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:445: syntax error before `socklen_t'
/usr/src/lib/libutil/../../sys/sys/socket.h:448: syntax error before `socklen_t'
install: libutil.a: No such file or directory
+ ln -s mail/aliases /usr/jail/66.216.71.72/etc/aliases

---------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C5EC21A.86A7C91>