i386/166331: /vm/vm.h:73: error: expected '=', ',', ';
', 'asm' or '__attribute__' before 'vm_prot_t'
Liu
liuw at supermicro.com
Fri Mar 23 01:40:01 UTC 2012
>Number: 166331
>Category: i386
>Synopsis: /vm/vm.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_prot_t'
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 23 01:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Liu
>Release: 9.0-RELEASE
>Organization:
Supermicro Inc.
>Environment:
$ uname -a
FreeBSD LiuFreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root at obrian.cse.buffalo.edu:/u
sr/obj/usr/src/sys/GENERIC i386
>Description:
/*----------
smc_os.h
----------*/
..
..
#include <vm/vm.h>
..
Compile error:
In file included from smc_os.h:6,
from smc_core_type.h:4,
from smc_core_sata.c:47:
@/vm/vm.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_prot_t'
@/vm/vm.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'objtype_t'
@/vm/vm.h:133: error: expected specifier-qualifier-list before 'vm_offset_t'
@/vm/vm.h:145: error: expected ')' before 'incr'
@/vm/vm.h:146: error: expected ')' before 'incr'
@/vm/vm.h:147: error: expected ')' before 'incr'
@/vm/vm.h:148: error: expected ')' before 'decr'
@/vm/vm.h:149: error: expected ')' before 'decr'
In file included from /usr/home/Liuw/freebsddriverforaoc_sas2lp_mv8/machine/pmap.h:158,
from @/vm/pmap.h:89,
from smc_os.h:7,
from smc_core_type.h:4,
from smc_core_sata.c:47:
@/sys/_cpuset.h:49: error: 'MAXCPU' undeclared here (not in a function)
@/sys/_cpuset.h:49: error: 'NBBY' undeclared here (not in a function)
@/sys/_cpuset.h:49: error: variably modified '__bits' at file scope
In file included from /usr/home/Liuw/freebsddriverforaoc_sas2lp_mv8/machine/pmap.h:159,
from @/vm/pmap.h:89,
from smc_os.h:7,
from smc_core_type.h:4,
from smc_core_sata.c:47:
@/sys/_lock.h:36: error: expected specifier-qualifier-list before 'u_int'
In file included from /usr/home/Liuw/freebsddriverforaoc_sas2lp_mv8/machine/pmap.h:160,
from @/vm/pmap.h:89,
from smc_os.h:7,
from smc_core_type.h:4,
from smc_core_sata.c:47:
@/sys/_mutex.h:39: error: expected ':', ',', ';', '}' or '__attribute__' before 'mtx_lock'
In file included from @/vm/pmap.h:89,
from smc_os.h:7,
from smc_core_type.h:4,
from smc_core_sata.c:47:
>How-To-Repeat:
..
#include <vm/vm.h>
..
>Fix:
investigating
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-i386
mailing list