problem with build mcelog

venom samflanker at
Sat Feb 12 02:05:53 UTC 2011


i am trying build mcelog

FreeBSD XXXX 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Fri Jan 14 04:15:56
UTC 2011 root at freebsd:/usr/obj/usr/src/sys/GENERIC amd64

# fetch
# tar -xf mcelog-1.0pre2.tar.gz
# cd mcelog-1.0pre2
# fetch
# fetch
# patch<  mcelog.patch
# gmake FREEBSD=yes
Makefile:92: .depend: No such file or directory
cc -MM -I. p4.c k8.c mcelog.c dmi.c tsc.c core2.c bitfield.c intel.c
nehalem.c dunnington.c tulsa.c config.c memutil.c msg.c eventloop.c
leaky-bucket.c memdb.c server.c client.c cache.c rbtree.c memstream.c>
.depend.X&&  mv .depend.X .depend
cc -c -g -Os  -Wall -Wextra -Wno-missing-field-initializers
-Wno-unused-parameter -Wstrict-prototypes -Wformat-security
-Wmissing-declarations -Wdeclaration-after-statement  -o mcelog.o mcelog.c
mcelog.c: In function 'process_kvm':
mcelog.c:1342: error: 'X_SNAPDATE' undeclared (first use in this function)
mcelog.c:1342: error: (Each undeclared identifier is reported only once
mcelog.c:1342: error: for each function it appears in.)
mcelog.c:1342: error: 'snapdate' undeclared (first use in this function)
gmake: *** [mcelog.o] Error 1

please help me

Vladimir Laskov

More information about the freebsd-hackers mailing list