i386/conf/ALL compile error
SAITOH Masanobu <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.i386 |
|---|---|
| Message-ID | <[email protected]> |
Hi.
While compiling i386/conf/ALL
> ../../../../arch/i386/i386/trap.c: In function 'trap':
> ../../../../arch/i386/i386/trap.c:470:61: error: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'register_t {aka int}' [-Werror=format=]
> printf("pid %d.%d (%s): BUS/SEGV (%#x) at eip %#x addr %#lx\n",
> ~~~^
> %#x
> p->p_pid, l->l_lid, p->p_comm, type, frame->tf_eip, rcr2());
> ~~~~~~
> ../../../../arch/i386/i386/trap.c:511:50: error: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'register_t {aka int}' [-Werror=format=]
> printf("pid %d.%d (%s): ILL at eip %#x addr %#lx\n",
> ~~~^
> %#x
> p->p_pid, l->l_lid, p->p_comm, frame->tf_eip, rcr2());
> ~~~~~~
> cc1: all warnings being treated as errors
> *** [trap.o] Error code 1
--
-----------------------------------------------
SAITOH Masanobu ([email protected]
[email protected])