From owner-cvs-src@FreeBSD.ORG Thu Apr 15 18:29:11 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59A3616A4CE; Thu, 15 Apr 2004 18:29:11 -0700 (PDT) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id B827B43D1F; Thu, 15 Apr 2004 18:29:10 -0700 (PDT) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (unknown [211.96.21.195]) by gddsn.org.cn (Postfix) with ESMTP id 22A6C38CB9A; Fri, 16 Apr 2004 09:29:08 +0800 (CST) Message-ID: <407F36C7.1010305@gddsn.org.cn> Date: Fri, 16 Apr 2004 09:28:39 +0800 From: wsk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.6) Gecko/20040409 X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: kientzle@FreeBSD.org, cvs-src@FreeBSD.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: src/usr.bin/tar bsdtar.c bsdtar.h util.c write.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 01:29:11 -0000 hi, why i can't build the bsdtar? any ideas? 1. build libarchive etc sucessed 2. (cd /usr/src/usr.bin/tar;make clean;make) get errors: wsk# make 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 -o bsdtar 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+0x31e): undefined reference to `archive_read_open_fd' write.o(.text+0x363): undefined reference to `archive_entry_mtime_nsec' write.o(.text+0x372): undefined reference to `archive_entry_mtime' write.o(.text+0x426): undefined reference to `archive_write_open_fd' write.o: In function `append_archive': write.o(.text+0x83e): undefined reference to `archive_entry_mtime_nsec' write.o(.text+0x850): undefined reference to `archive_entry_mtime' write.o: In function `lookup_hardlink': write.o(.text+0x13a0): undefined reference to `archive_entry_copy_hardlink' write.o: In function `setup_acls': write.o(.text+0x14c0): undefined reference to `archive_entry_acl_clear' write.o: In function `setup_acl': write.o(.text+0x1675): undefined reference to `archive_entry_acl_add_entry' *** Error code 1 Stop in /usr/src/usr.bin/tar.