Kernel build error
Rodney W. Grimes
freebsd-rwg at pdx.rh.CN85.dnsmgr.net
Sat Jan 27 17:32:21 UTC 2018
[ Charset UTF-8 unsupported, converting... ]
> Hello!
>
> I am trying to build the kernel with revision 328463.
>
> It halts with this error:
>
> /usr/src/sys/cam/scsi/scsi_da.c:1514:9: error: 'CAM_PERIPH_PRINT' macro
> redefined [-Werror,-Wmacro-redefined]
> #define CAM_PERIPH_PRINT(p, msg, args...)
> ??????? ^
> /usr/src/sys/cam/cam_periph.h:263:9: note: previous definition is here
> #define CAM_PERIPH_PRINT(p, msg, args...)?????????????????????????????? \
> ??????? ^
> 1 error generated.
> *** Error code 1
>
> Stop.
> make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src
>
> Regards,
>
> Per Gunnarsson
Fixed in https://svnweb.freebsd.org/changeset/base/328464
--
Rod Grimes rgrimes at freebsd.org
More information about the freebsd-current
mailing list