Re: DragonFly-2.3.1.737.g1c98c master lib/libutil Makefile getde
Matthew Dillon schrieb:
> commit 1c98c6fb38e52717ac59a47a7e70d66f73512974
> Author: Matthew Dillon <dillon@apollo.backplane.com>
> Date: Fri Jul 10 13:56:56 2009 -0700
>
> libutil - add getdevpath()
>
> Add the getdevpath() function which translates a device name such as "da0",
> or label such as "fubar", into a device path. This function searches
> /usr/local/etc/devtab, /etc/devtab, and /etc/defaults/devtab for labels.
> Device names beginning with '/' or '.' are assumed to be paths and passed
> through.
This breaks buildworld. I think the commit is incomplete:
/home/s/projects/dragonfly/src/lib/libutil/getdevpath.c: In function
'finddevlabel':
/home/s/projects/dragonfly/src/lib/libutil/getdevpath.c:105: error:
'_PATH_DEVTAB_PATHS' undeclared (first use in this function)
/home/s/projects/dragonfly/src/lib/libutil/getdevpath.c:105: error:
(Each undeclared identifier is reported only once
/home/s/projects/dragonfly/src/lib/libutil/getdevpath.c:105: error: for
each function it appears in.)
*** Error code 1
Regards,
Sascha
--
http://yoyodyne.ath.cx
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):