Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Failure to build kernel i386 - am7990 struct access



Hi,

Riccardo Mottola wrote:
> /usr/src/sys/dev/ic/am7990.c -o am7990.o
> /usr/src/sys/dev/ic/am7990.c: In function 'am7990_meminit':
> /usr/src/sys/dev/ic/am7990.c:163:39: error: taking address of packed
> member of 'struct leinit' may result in an unaligned pointer value
> [-Werror=address-of-packed-member]
>   163 |  lance_setladrf(&sc->sc_ethercom, init.init_ladrf);
>       |                                   ~~~~^~~~~~~~~~~
> cc1: all warnings being treated as errors

this was due to a partial checkout, I did cvs update only on
/usr/src/sys, once I upgraded /usr/src as a whole, everything compiled.

Sorry for the noise,

Riccardo


Home | Main Index | Thread Index | Old Index