Date: Tue, 25 Mar 2003 09:32:02 -0700 (MST) From: Fred Clift <fclift@verio.net> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: <current@freebsd.org> Subject: =?X-UNKNOWN?Q?Re=3A_world=40alpha_b=F8rken_in_libatm?= Message-ID: <20030325092523.L54897-100000@vespa.dmz.orem.verio.net> In-Reply-To: <15929.1048590524@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Mar 2003, Poul-Henning Kamp wrote: > /bang/src/lib/libatm/ip_checksum.c: In function `ip_checksum': > /bang/src/lib/libatm/ip_checksum.c:80: warning: cast increases required alignmen I see in cvs that many of the files in this library have been updated in the last 11 or 12 hours... I get build problems still in that library at a different spot: -------------------------------------------------------------------------- liron# pwd /usr/src/lib/libatm liron# make cc -O -pipe -mcpu=ev4 -mtune=ev5 -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wuninitialized -c /usr/src/lib/libatm/ioctl_subr.c -o ioctl_subr.o cc1: warnings being treated as errors /usr/src/lib/libatm/ioctl_subr.c: In function `get_vcc_info': /usr/src/lib/libatm/ioctl_subr.c:175: warning: cast increases required alignment of target type /usr/src/lib/libatm/ioctl_subr.c: In function `get_subnet_mask': /usr/src/lib/libatm/ioctl_subr.c:229: warning: cast increases required alignment of target type /usr/src/lib/libatm/ioctl_subr.c: In function `get_cfg_info': /usr/src/lib/libatm/ioctl_subr.c:395: warning: cast increases required alignment of target type /usr/src/lib/libatm/ioctl_subr.c: In function `get_intf_info': /usr/src/lib/libatm/ioctl_subr.c:433: warning: cast increases required alignment of target type *** Error code 1 Stop in /usr/src/lib/libatm. -------------------------------------------------------------------------- This file aparently hasn't been modified in 5 months. 11 Hours ago, Makefile for this lib was modified to have WARNS?= 5 added which seems to have revealed the problem. For those who just want to get a complete buildworld, remvoing this is all that is needed (well, for this problem -- my buildworld is running right now...) As for the real problem I'm about to see what can be done about it. Fred -- Fred Clift - fclift@verio.net -- Remember: If brute force doesn't work, you're just not using enough. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030325092523.L54897-100000>