Date: Sat, 13 Feb 1999 12:39:48 +0800 (CST) From: "Alex D. Chen" <dhchen@Canvas.dorm7.nccu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/10058: make failure of ports/devel/libgtop Message-ID: <199902130439.MAA78291@Canvas.dorm7.nccu.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 10058 >Category: ports >Synopsis: make failure of ports/devel/libgtop >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 12 23:00:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Alex D. Chen >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: FreeBSD 4.0-current >Description: In /usr/ports/devel/libgtop,try to build with 4.0-current: (libgtop 0.99.2) procmem.c: In function 'glibtop_get_proc_mem_p': procmem.c:169: 'MAP_ENTRY_IS_A_MAP' undeclared (first use this function) procmem.c:169: (Each undeclared identifier is reported only once procmem.c:169: for each function it appears in.) gmake: *** [procmem.lo] Error 1 >How-To-Repeat: cd /usr/ports/devel/libgtop;make >Fix: Modify work/libgtop-0.99.2/sysdeps/freebsd/procmem.c: /* these are for getting the memory statistics */ static int pageshift; /* log base 2 of the pagesize */ /* define pagetok in terms of pageshift */ #define pagetok(size) ((size) << pageshift) +#define MAP_ENTRY_IS_A_MAP MAP_ENTRY_UNUSED_01 /* Init function. */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902130439.MAA78291>