Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2016 20:32:28 -0700
From:      Mick mtn <mtnmickmt@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Make Error code 1
Message-ID:  <CAD5c9Q2h1-Rdt3WwHCM%2B8MeUg1ozAfy%2Behq9JPqDYa0mqfUv9A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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=3DMYFBSDKERN
the following error message:
---------------------------------------------------------------------------=
---------
/usr/src/sys/dev/pst/pst-iop.c:197:3:error: cast to =E2=80=98void (*)(struc=
t
iop_softc *, u_init32_t, struct i2o_single_reply *)=E2=80=99 (aka =E2=80=98=
void
(*)(struct top_softc *, unsigned int, struct i2o_single_reply *)=E2=80=99) =
from
smaller integer type =E2=80=98u_int32_t=E2=80=99 (aka =E2=80=98unsigned int=
=E2=80=99)
[-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 =E2=80=98struct top_re=
quest *=E2=80=99
from smaller integer type =E2=80=98u_int32_t=E2=80=99 (aka =E2=80=99unsigne=
d int=E2=80=99)
[-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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD5c9Q2h1-Rdt3WwHCM%2B8MeUg1ozAfy%2Behq9JPqDYa0mqfUv9A>