Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2004 16:46:43 -0700
From:      Victor Gregorio <victor@opsource.net>
To:        freebsd-questions@freebsd.org
Subject:   LSOF Compile Problems From Ports
Message-ID:  <408EF0E3.3040004@opsource.net>

next in thread | raw e-mail | index | archive | help
Hello folks.  I'm wondering if anyone is getting the same error I get 
when I try to make /usr/ports/sysutils/lsof.  I have a cvsup'd 
/usr/ports tree on 5.2.1-RELEASE-p5.  Output and error below...

root:/usr/ports/sysutils/lsof# make
===>  Vulnerability check disabled
 >> lsof_4.72A.freebsd.tar.bz2 doesn't seem to exist in 
/usr/ports/distfiles/.
 >> Attempting to fetch from 
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/.
fetch: 
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.72A.freebsd.tar.bz2: 
File unavailable (e.g., file not found, no access)
 >> Attempting to fetch from 
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/.
Receiving lsof_4.72A.freebsd.tar.bz2 (432436 bytes): 100%
432436 bytes transferred in 2.9 seconds (143.48 kBps)
===>  Extracting for lsof-4.71.1
 >> Checksum OK for lsof_4.72A.freebsd.tar.bz2.
===>  Patching for lsof-4.71.1
===>  Applying FreeBSD patches for lsof-4.71.1
===>  Configuring for lsof-4.71.1
rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c 
dstore.c kernelbase.h machine.h machine.h.old new_machine.h __lseek.s 
Makefile ./tests/config.cflags
rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags
ln -s dialects/freebsd/dlsof.h dlsof.h
ln -s dialects/freebsd/dmnt.c dmnt.c
ln -s dialects/freebsd/dnode.c dnode.c
ln -s dialects/freebsd/dnode1.c dnode1.c
ln -s dialects/freebsd/dproc.c dproc.c
ln -s dialects/freebsd/dproto.h dproto.h
ln -s dialects/freebsd/dsock.c dsock.c
ln -s dialects/freebsd/dstore.c dstore.c
ln -s dialects/freebsd/machine.h machine.h
Makefile and lib/Makefile created.
./tests/config.cc created
./tests/config.cflags created
./tests/config.ldflags created
./tests/config.xobj created
===>  Building for lsof-4.71.1
(cd lib; make DEBUG="-O" CFGF="-pipe -mcpu=pentiumpro -mcpu=pentiumpro 
-DFREEBSDV=520 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS 
-DHASIPv6 -DLSOF_VSTR=\"5.2.1-RELEASE-p5\"")
cc  -pipe -mcpu=pentiumpro -mcpu=pentiumpro -DFREEBSDV=520 
-DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 
-DLSOF_VSTR="5.2.1-RELEASE-p5" -I/usr/src/sys -O -c ckkv.c
In file included from ckkv.c:33:
../machine.h:54: error: syntax error before "cpumask_t"
../machine.h:54: warning: data definition has no type or storage class
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.72A.freebsd/lib.
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.72A.freebsd.
*** Error code 1

Stop in /usr/ports/sysutils/lsof.
root:/usr/ports/sysutils/lsof#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?408EF0E3.3040004>