From owner-freebsd-current@FreeBSD.ORG Thu Apr 15 22:42:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 883CB16A4CE for ; Thu, 15 Apr 2004 22:42:40 -0700 (PDT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9801843D55 for ; Thu, 15 Apr 2004 22:42:39 -0700 (PDT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i3G5kPG5082499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Apr 2004 08:46:27 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i3G5gObN012907; Fri, 16 Apr 2004 08:42:24 +0300 (EEST) (envelope-from ru) Date: Fri, 16 Apr 2004 08:42:24 +0300 From: Ruslan Ermilov To: wsk Message-ID: <20040416054224.GD12606@ip.net.ua> References: <407E81B4.2030602@gddsn.org.cn> <20040415140953.GA7803@ip.net.ua> <407F2889.7030803@gddsn.org.cn> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u65IjBhB3TIa72Vp" Content-Disposition: inline In-Reply-To: <407F2889.7030803@gddsn.org.cn> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: current@FreeBSD.org Subject: Re: make bsdtar failled X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 05:42:40 -0000 --u65IjBhB3TIa72Vp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 16, 2004 at 08:27:53AM +0800, wsk wrote: > Ruslan Ermilov : >=20 > >On Thu, Apr 15, 2004 at 08:36:04PM +0800, wsk wrote: > >=20 > > > >>cd /usr/src/usr.bin/tar;make > >>and get the follow errors > >>cc -O -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > >>-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type > >>-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align > >>-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c > >>/usr/src/usr.bin/tar/write.c > >>/usr/src/usr.bin/tar/write.c: In function `record_hardlink': > >>/usr/src/usr.bin/tar/write.c:810: warning: implicit declaration of > >>function `archive_entry_copy_hardlink' > >>*** Error code 1 > >> > >>Stop in /usr/src/usr.bin/tar. > >> > >> =20 > >> > >Do the same in lib/libarchive first. > > > > > >Cheers, > >=20 > > > make the libarchive passed with not any problems! later > (cd /usr/src/usr.bin/tar;make clean;make) get the follow errors >=20 > cc -O -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W=20 > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type=20 > -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align=20 > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c=20 > /usr/src/usr.bin/tar/write.c > cc -O -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W=20 > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type=20 > -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align=20 > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o bsdtar= =20 > bsdtar.o matching.o read.o util.o write.o -larchive -lbz2 -lz > write.o: In function `tar_mode_r': > write.o(.text+0x19a): undefined reference to `archive_read_open_fd' > write.o(.text+0x259): undefined reference to `archive_write_open_fd' > write.o: In function `tar_mode_u': > write.o(.text+0x30a): undefined reference to `archive_read_open_fd' > write.o(.text+0x34f): undefined reference to `archive_entry_mtime_nsec' > write.o(.text+0x35e): undefined reference to `archive_entry_mtime' > write.o(.text+0x412): undefined reference to `archive_write_open_fd' > write.o: In function `append_archive': > write.o(.text+0x816): undefined reference to `archive_entry_mtime_nsec' > write.o(.text+0x828): undefined reference to `archive_entry_mtime' > write.o: In function `record_hardlink': > write.o(.text+0x10bd): undefined reference to `archive_entry_copy_hardlin= k' > write.o: In function `setup_acls': > write.o(.text+0x1190): undefined reference to `archive_entry_acl_clear' > write.o: In function `setup_acl': > write.o(.text+0x1329): undefined reference to `archive_entry_acl_add_entr= y' > *** Error code 1 >=20 > Stop in /usr/src/usr.bin/tar. >=20 You also need to "make install" in lib/libarhive before making here. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --u65IjBhB3TIa72Vp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAf3JAUkv4P6juNwoRAv3WAJ45sFrcJlaVFIbTDh2O+t8gQnXYZACeKOOg 9jLM4f20xTzyXg/zk0d5ghI= =KQLc -----END PGP SIGNATURE----- --u65IjBhB3TIa72Vp--