On Wednesday, August 25, 2010 12:05:09 am Matthew D. Fuller wrote:
> On Tue, Aug 24, 2010 at 11:06:43AM -0400 I heard the voice of
> John Baldwin, and lo! it spake thus:
> > 
> > It is actually public at perforce.freebsd.org. :)  However, it is
> > tedious to download the files.
> 
> Oh, I'd apparently blocked out of my mind that you could clicky-clicky
> files one at a time from there.  Probably for the best; I'd be real
> annoyed by the end of that   ;)
> 
> 
> > You can find a patch at www.freebsd.org/~jhb/mcelog/.  You will also
> > need to download the memstream.c file from there as well and put
> > that in the extracted mcelog tarball.
> 
> Thanks!  For anyone following along at home, I needed to make a few
> changes to get it compiling here:
> 
> - I'm on a nice recent -CURRENT, so I had to #if 0 out the getline()
>   definition.

Yeah, that needs a __FreeBSD_version wrapper.

> - Add a FREEBSD definition to the Makefile (or remember it manually).

I just do 'gmake FREEBSD=yes'.

> - Comment out the kread_symbol() of X_SNAPDATE in mcelog.c.  I don't
>   see X_SNAPDATE defined anywhere in my /usr/include, and the var
>   doesn't seem to ever actually be read for anything anyway (unless
>   I'm supposed to -DLOCAL_HACK...).

Bah, I must have missed that.  You certainly don't want LOCAL_HACK.

-- 
John Baldwin
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to