Build Error

Guillermo García Rojas garciarojas at solobsd.org
Thu Feb 1 11:26:28 PST 2007


I got this after doing a fetch of sources like 2 days ago:

   1.
      ===> usr.bin/tar
   2.
      cc -O -pipe -mtune=pentiumpro 
-I/usr/obj/usr/src/world_i386/usr/src/usr.bin/tar 
-I/usr/src/usr.bin/tar/../../lib/libarchive 
-I/usr/src/usr.bin/tar/../../contrib/libarchive-1.3.1/tar -I- 
-DHAVE_CONFIG_H   -Wunknown-pragmas -Wsystem-headers -Wall -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/../../contrib/libarchive-1.3.1/tar/bsdtar.c
   3.
      /usr/src/usr.bin/tar/../../contrib/libarchive-1.3.1/tar/bsdtar.c: 
In function `main':
   4.

/usr/src/usr.bin/tar/../../contrib/libarchive-1.3.1/tar/bsdtar.c:411: 
error: `ARCHIVE_EXTRACT_XATTR' undeclared (first use in this function)
   5.

/usr/src/usr.bin/tar/../../contrib/libarchive-1.3.1/tar/bsdtar.c:411: 
error: (Each undeclared identifier is reported only once
   6.

/usr/src/usr.bin/tar/../../contrib/libarchive-1.3.1/tar/bsdtar.c:411: 
error: for each function it appears in.)
   7.
      *** Error code 1
   8.

   9.
      Stop in /usr/src/usr.bin/tar.
  10.
      *** Error code 1
  11.
  12.
      Stop in /usr/src/usr.bin.
  13.
      *** Error code 1
  14.
  15.
      Stop in /usr/src/usr.bin.
  16.
      *** Error code 1
  17.
  18.
      Stop in /usr/src.
  19.
      *** Error code 1
  20.
  21.
      Stop in /usr/src.
  22.
      *** Error code 1
  23.
  24.
      Stop in /usr/src.
  25.
      -su-3.2#
System: DragonFly BSD 1.6.2-RELEASE
No /etc/make.conf
I did "make buildworld"

And workaround it deleting the line in bsd.tar where 
ARCHIVE_EXTRACT_XATTR appears, and then "make quickworld" and it is 
compiling again. I break the compilation because of personal problems, I 
don't know if it compiles 'till the end.





More information about the Users mailing list