Make Error code 1

Mick mtn mtnmickmt at gmail.com
Mon Nov 7 03:32:30 UTC 2016


Hello,

FreeBSD 11.0-RELEASE-p2, amd64 on a macbook pro

Please let me know if there is any additional information that will help.

While running make buildkernel KERNCONF=MYFBSDKERN
the following error message:
------------------------------------------------------------------------------------
/usr/src/sys/dev/pst/pst-iop.c:197:3:error: cast to ‘void (*)(struct
iop_softc *, u_init32_t, struct i2o_single_reply *)’ (aka ‘void
(*)(struct top_softc *, unsigned int, struct i2o_single_reply *)’) from
smaller integer type ‘u_int32_t’ (aka ‘unsigned int’)
[-Werror,-Wint-to-pointer-cast]
((void (*)(struct top_softc *, u_int32_t, struct i2o_single_reply *))


/usr/src/sys/dev/pst/pst-iop.c:419:9: error: cast to ‘struct top_request *’
from smaller integer type ‘u_int32_t’ (aka ’unsigned int’)
[-Werror,-Wint-to-pointer-cast]
   (struct top_request *)reply->transaction_context;

2 errors generated.
*** Error code 1

stop.
make[2]: stopped in /usr/obj/usr/src/sys/MYFBSDKERN
*** Error code 1

stop.
make[1]: stopped in /usr/src
***Error code 1

stop.
make: stopped in /usr/src
________________________________________________________
Im having difficulty finding information in the handbook for addressing the
above error and making corrections.
Any help or direction to the applicable documentation greatly appreciated.

Thank you


More information about the freebsd-questions mailing list