latest version of lsof still broke

Michael C. Shultz ringworm at inbox.lv
Sun Apr 18 22:52:24 PDT 2004


On Sunday 18 April 2004 10:11 pm, Robert Huff wrote:
> 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
>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
makedepend /speed/usr.X11R6/include/audio/mutex.h -I/usr/local/include 
-I/usr/X11R6/include
Try:

makepend /usr/src/sys/sys/pcpu.h -I/usr/local/include -I/usr/X11R6/include

and see if you're missing a header file. I don't run CURRENT so can't try it 
on this end. The above command will probably tell you which or if any header 
file it can't find. Then search for the missing file (probably in the port's 
work directory somewhere) and copy  it to /usr/X11R6/include and see if that
fixes the problem.  I used to run current but got tired of the nonesense your 
dealing with on my only machine...... ;)

-Mike



More information about the freebsd-ports mailing list