ports/88852: VMWare3 Port Compilation failure under FreeBSD 6.0 i386

Sam Lawrance lawrance at FreeBSD.org
Mon Nov 14 05:45:50 UTC 2005


Synopsis: VMWare3 Port Compilation failure under FreeBSD 6.0 i386

State-Changed-From-To: open->feedback
State-Changed-By: lawrance
State-Changed-When: Mon Nov 14 05:30:29 GMT 2005
State-Changed-Why: 
Your compile is failing here in driver.c:

static struct cdevsw vmmon_cdevsw = {
#if __FreeBSD_version >= 500104
#if __FreeBSD_version >= 502103
        .d_version =    D_VERSION,
#else
        .d_maj =        CDEV_MAJOR   <-------- HERE
#endif
        .d_open =       FreeBSD_Driver_Open,  
        .d_name =       DEVICE_NAME,
#else
        /* open */      FreeBSD_Driver_Open,
        /* close */     noclose,
        /* read */      noread,
        /* psize */     nopsize,
        /* flags */     0,
        /* bmaj */      -1
#endif
};

Which means that somehow __FreeBSD_version is defined to less than 502013.
Is your copy of /usr/src from 6.x?  If not, could you update it and try
again?


http://www.freebsd.org/cgi/query-pr.cgi?pr=88852



More information about the freebsd-ports-bugs mailing list