Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 01:11:05 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        ports@freebsd.org
Subject:   latest version of lsof still broke
Message-ID:  <16515.24425.27640.534640@jerusalem.litteratus.org>
In-Reply-To: <20040418224925.S43235@sherman.trismegistus.net>
References:  <20040418224925.S43235@sherman.trismegistus.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Hermes Trismegistus writes:

>  Thanks for the response, Abe, but still no love between my machine and the
>  latest port version of lsof. I just cvsup'ed in the last few minutes, and
>  I get the same results as earlier:
>  
>  "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"
>  
>  "** Fix the problem and try again.
>  ** Listing the failed packages (*:skipped / !:failed)
>          ! sysutils/lsof (lsof-4.71)     (bad C++ code)"

	You're not alone:

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 -march=pentium4 -march=pentium4 -DFREEBSDV=520 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DLSOF_VSTR=\"5.2-CURRENT\"")
cc  -pipe -march=pentium4 -march=pentium4 -DFREEBSDV=520 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DLSOF_VSTR="5.2-CURRENT" -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
In file included from /usr/src/sys/sys/mutex.h:41,
                 from /usr/src/sys/sys/eventhandler.h:34,
                 from /usr/src/sys/sys/conf.h:44,
                 from ../dlsof.h:68,
                 from ../lsof.h:181,
                 from ckkv.c:43:
/usr/src/sys/sys/pcpu.h:66: error: syntax error before "cpumask_t"
*** Error code 1

	uname:

FreeBSD jerusalem.litteratus.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Mar  8 12:27:03 EST 2004


	/etc/make.conf:


SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2# -- use.perl generated deltas -- #

# Created: Fri Jan 30 14:18:07 2004
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
NO_KERBEROS=yes
#
CPUTYPE=p4


						Robert Huff




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