sys/modules/geom/geom_part/geom_part_apm compilation error

Dmitry Morozovsky marck at rinet.ru
Sun May 23 14:08:57 UTC 2010


On Sun, 23 May 2010, Dmitry Morozovsky wrote:

DM> RvdP> I want to try the ix(4) 10GE driver on -STABLE. I am compiling -STABLE
DM> RvdP> on a test server. I cvsup'd -STABLE in a clean /usr/src. Compiling
DM> RvdP> world went fine. Kernel stops with this error:
DM> RvdP> 
DM> RvdP> /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_part_apm.c:131: error: 'G_PART_ALIAS_APPLE_BOOT' undeclared (first use in this function)
DM> RvdP> /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_part_apm.c:131: error: (Each undeclared identifier is reported only once
DM> RvdP> /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_part_apm.c:131: error: for each function it appears in.)
DM> RvdP> /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_part_apm.c:141: error: 'G_PART_ALIAS_APPLE_UFS' undeclared (first use in this function)
DM> RvdP> /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_part_apm.c: In function 'g_part_apm_type':
DM> RvdP> /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_part_apm.c:453: error: 'G_PART_ALIAS_APPLE_BOOT' undeclared (first use in this function)
DM> RvdP> /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_part_apm.c:457: error: 'G_PART_ALIAS_APPLE_UFS' undeclared (first use in this function)
DM> RvdP> *** Error code 1
DM> 
DM> yep, it's broken now. 
DM> 
DM> Wait for a few hours, or try to integrate SVN change 200534 (to 
DM> /sys/geom/part/*).

Of course, you can also strip down module list to only needed with something 
like

MODULES_OVERRIDE="ipfw dummynet"

(see output of kldstat) in your /etc/make.conf 

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-stable mailing list