patching

Chuck Robey chuckr at chuckr.org
Sat Mar 22 14:22:56 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Watson wrote:
> 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?

Oh, I didn;'t include my patches in what broke, I was trying to get the new
kernel buoilt and booted first, so whjat broke is 100% just what walked out of
the archive (I cvsup the cvs archive, not just a checked out image).  Soon as
this doesn't break on build, I will try my fix to Kai's krepdump USB HID dumping
module.

After that, I finish my in process changes to the Xorg's xf86-input-evdev module
so give me one I call xf86-input-uclogic, then I begin (I haven't even started
this part) the uta.c, which is a USB driver for my UC Logic WP8060 Graphic
Tablet.  I've done one hell of a lot of research on the HID spec (enough to
strongly suspect that the folks who wrote it were under the influence of
recreational pharmaceuticals).

> 
> 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to
>> "freebsd-current-unsubscribe at freebsd.org"
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH5XcXz62J6PPcoOkRAgInAJ9N+Rjo402nwHFDSn5fZ0Ql1CSMNwCgiWFR
BYLavTQo9f6S9zm8fro/8bw=
=jesb
-----END PGP SIGNATURE-----


More information about the freebsd-current mailing list