Re: Problem compiling lsof

2010-05-26 Thread The-IRC FreeBSD
I personally just synced my servers Kernel and Userland to current via cvsup on a live system and still get same issue as discussed here for unknown reasons. FreeBSD Alpha.The-IRC.Com 8.0-STABLE FreeBSD 8.0-STABLE === Vulnerability check disabled, database not found === Extracting for

Re: Problem compiling lsof

2010-05-25 Thread Larry Rosenman
Can you also make sure that the installed world and kernel matches the source tree? Thanks, Larry Rosenman lsof maintainer Charlie Kester corky1...@comcast.net wrote: On Mon 24 May 2010 at 18:54:11 PDT Lowell Gilbert wrote: Arthur Barlow arthurbar...@gmail.com writes: Sorry about the false

Re: Problem compiling lsof

2010-05-25 Thread Arthur Barlow
Message: 29 Date: Mon, 24 May 2010 22:14:52 -0700 From: Charlie Kester corky1...@comcast.net Subject: Re: Problem compiling lsof To: freebsd-questions@freebsd.org Message-ID: 20100525051452.gi...@comcast.net Content-Type: text/plain; charset=us-ascii; format=flowed On Mon 24 May 2010 at 21:55:01

Re: Problem compiling lsof

2010-05-25 Thread Charlie Kester
On Tue 25 May 2010 at 11:17:36 PDT Arthur Barlow wrote: I did this and sure enough vm_memattr_t is defined as a parameter in a typedef as follows: typedef int d_mmap2_t (struc cdev *dev, vm_offset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr); So the question is, why

Re: Problem compiling lsof

2010-05-24 Thread Chuck Swiger
Hi-- On May 24, 2010, at 5:41 PM, Arthur Barlow wrote: Sorry about the false start. Fat fingers. I'm trying to compile the lsof program in FreeBSD 8.0 on an i686 machine. There is a error referencing dlsof.h and it looks like there is an ugly hack in the header file. Any suggestions,

Re: Problem compiling lsof

2010-05-24 Thread Arthur Barlow
On Mon, May 24, 2010 at 5:43 PM, Chuck Swiger cswi...@mac.com wrote: Hi-- On May 24, 2010, at 5:41 PM, Arthur Barlow wrote: Sorry about the false start. Fat fingers. I'm trying to compile the lsof program in FreeBSD 8.0 on an i686 machine. There is a error referencing dlsof.h and it

Re: Problem compiling lsof

2010-05-24 Thread Chuck Swiger
On May 24, 2010, at 5:57 PM, Arthur Barlow wrote: That doesn't work, which was my point to begin with. The compile process throws an error. You're abbreviating too much. :-) If you want useful feedback, then you ought to provide a little more in the way of details-- what error? -- -Chuck

Re: Problem compiling lsof

2010-05-24 Thread Lowell Gilbert
Arthur Barlow arthurbar...@gmail.com writes: Sorry about the false start. Fat fingers. I'm trying to compile the lsof program in FreeBSD 8.0 on an i686 machine. There is a error referencing dlsof.h and it looks like there is an ugly hack in the header file. Any suggestions, besides playing

Re: Problem compiling lsof

2010-05-24 Thread Charlie Kester
On Mon 24 May 2010 at 18:54:11 PDT Lowell Gilbert wrote: Arthur Barlow arthurbar...@gmail.com writes: Sorry about the false start. Fat fingers. I'm trying to compile the lsof program in FreeBSD 8.0 on an i686 machine. There is a error referencing dlsof.h and it looks like there is an ugly

Re: Problem compiling lsof

2010-05-24 Thread Glen Barber
Hi Arthur, On Mon, May 24, 2010 at 8:57 PM, Arthur Barlow arthurbar...@gmail.com wrote: On Mon, May 24, 2010 at 5:43 PM, Chuck Swiger cswi...@mac.com wrote: Hi-- On May 24, 2010, at 5:41 PM, Arthur Barlow wrote: Sorry about the false start. Fat fingers.  I'm trying to compile the lsof

Re: Problem compiling lsof

2010-05-24 Thread Arthur Barlow
On Mon, May 24, 2010 at 7:54 PM, Glen Barber glen.j.bar...@gmail.comwrote: Hi Arthur, On Mon, May 24, 2010 at 8:57 PM, Arthur Barlow arthurbar...@gmail.com wrote: On Mon, May 24, 2010 at 5:43 PM, Chuck Swiger cswi...@mac.com wrote: Hi-- On May 24, 2010, at 5:41 PM, Arthur Barlow

Re: Problem compiling lsof

2010-05-24 Thread Arthur Barlow
On Mon, May 24, 2010 at 5:58 PM, Chuck Swiger cswi...@mac.com wrote: On May 24, 2010, at 5:57 PM, Arthur Barlow wrote: That doesn't work, which was my point to begin with. The compile process throws an error. You're abbreviating too much. :-) If you want useful feedback, then you ought

Re: Problem compiling lsof

2010-05-24 Thread Charlie Kester
On Mon 24 May 2010 at 20:24:49 PDT Arthur Barlow wrote: [r...@uranus /usr/ports/sysutils/lsof]# HASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\8.0-STABLE\) cc -pipe -march=athlon -fno-strict-aliasing -march=athlon -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE

Re: Problem compiling lsof

2010-05-24 Thread Charlie Kester
On Mon 24 May 2010 at 21:55:01 PDT Charlie Kester wrote: The Configure script grep's for vm_memattr_t in ${LSOF_INCLUDE}/sys/conf.h and sets HAS_VM_MEMATTR_T if the grep succeeds. The build failure tells us that your /usr/src/sys/conf.h uses vm_memattr_t, so it seems the Configure is testing

Re: problem compiling lsof

2005-10-02 Thread Matt Emmerton
I'm trying to (re)install lsof (under -CURRENT, details below), and am running into: (cd lib; make DEBUG=-O CFGF=-pipe -march=pentium4 -DHASEFFNLINK=i_effnlink -D HASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO _SI_ UDEV -DFREEBSDV=7000 -DHASFDESCFS=2