Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2008 20:03:34 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Chuck Robey <chuckr@chuckr.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: patching
Message-ID:  <20080322200225.C32322@fledge.watson.org>
In-Reply-To: <47E55BD0.2000101@chuckr.org>
References:  <47E55BD0.2000101@chuckr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Mar 2008, Chuck Robey wrote:

> I finally get to the point that I can do some useful coding on some usb 
> stuff, I make up a patch, update current so that I can compile against it, 
> and find that someone has broken current.  Naughty, naughty. Here's the part 
> of kdump where it broke:

Since we don't have a sys/tablet, I'm wondering if it's perhaps your fault 
:-).  Does your include file have appropriate #ifndef/#define/#endif guards 
around it to protect you from syntax errors in the event of multiple (possibly 
nested) include?

Robert N M Watson
Computer Laboratory
University of Cambridge

>
> ===> usr.bin/kdump (all)
> cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/usr.bin/kdump/../ktrace
> - -I/usr/src/usr.bin/kdump -I/usr/src/usr.bin/kdump/../..  -c
> /usr/src/usr.bin/kdump/kdump.c
> cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/usr.bin/kdump/../ktrace
> - -I/usr/src/usr.bin/kdump -I/usr/src/usr.bin/kdump/../..  -c ioctl.c
> In file included from ioctl.c:127:
> /usr/obj/usr/src/tmp/usr/include/sys/tablet.h:93: error: redefinition of 'struct
> synapticshw'
> *** Error code 1
>
> Hope that's of some help.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFH5VvQz62J6PPcoOkRAgBnAJ4jNmThoQmqDyJ/wlv+vqra/5YI/ACffkSo
> 0aN3Hxq0Rwn5HjTDb651Pv0=
> =GLzQ
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080322200225.C32322>