Subject: Re: amd-64 kernel compile failure
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 12/06/2005 16:33:39
In article <4395AB71.30002@schoot.org>,
Wouter Schoot <wouter@schoot.org> wrote:
>A new error:
>
>dependall ===> usr.sbin/lmcconfig^M
>/home/test2/current/src/usr.sbin/lmcconfig/lmcconfig.c: In function
>`print_events':^M
>/home/test2/current/src/usr.sbin/lmcconfig/lmcconfig.c:1095: warning:
>dereferencing type-punned pointer will break strict-aliasing rules^M
>/home/test2/current/src/usr.sbin/lmcconfig/lmcconfig.c:1103: warning:
>long long unsigned int format, u_int64_t arg (arg 2)^M
>/home/test2/current/src/usr.sbin/lmcconfig/lmcconfig.c:1104: warning:
>long long unsigned int format, u_int64_t arg (arg 2)^M
>/home/test2/current/src/usr.sbin/lmcconfig/lmcconfig.c:1105: warning:
>long long unsigned int format, u_int64_t arg (arg 2)^M
>/home/test2/current/src/usr.sbin/lmcconfig/lmcconfig.c:1106: warning:
>long long unsigned int format, u_int64_t arg (arg 2)^M
>^M
>*** Failed target: lmcconfig.o^M
>*** Failed command:
>/home/test2/src/_obj/tooldir.NetBSD-2.0-x86_64/bin/x86_64--netbsd-gcc
>-O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer
>-arith -Wno-sign-compare -Wno-traditional -Werror
>-I/home/test2/current/src/sys/dev/pci -nostdinc -isystem
>/home/test2/src/_dist/usr/include -c /home/
>test2/current/src/usr.sbin/lmcconfig/lmcconfig.c^M
>*** Error code 1^M
>
>Sorry for the ^M's.. vim.. :)
Fixed it; sorry about vim :-)
christos