Kurt Roeckx [Mon, Aug 04, 2008 at 06:51:09PM +0200]: > On Mon, Aug 04, 2008 at 10:53:50AM +0200, Nico Schottelius wrote: > > Hello Kurt! > > > > I fixed it in the gpm-2-dev tree and put up a tarfile containing the > > change: > > > > http://home.schottelius.org/~nico/temp/gpm-1.99.7-1-g9771509.tar.bz2 > > > > Can you give it a try and report if it works? > > I get the following error: > cc1: warnings being treated as errors > src/drivers/twid/twiddler.c: In function 'twiddler_rest_to_value': > src/drivers/twid/twiddler.c:503: error: cast to pointer from integer of > different size
I guess you are on 64bit linux? The cast is pretty much a hack, which should be rewritten anyway... > twiddler_escape_sequence() returns an int, which is probably a char. That's it. But twiddler_rest_to_value returns a char *... > I'm guessing that you want to put that into ptr or something, and return > that. As said above, want to rewrite the whole hack. > I can start it, I can run the console-tools init script and it keep > running, but I don't see a cursor. Hmm, strange. Can you try attaching the client programs: - display-buttons (and click some buttons, attach output) - display-coords (and move the mouse, attach output) - get-versions (to verify we've the correct daemon / lib, attach output) Also the output of strace -Ff gpm -D >LOG 2>&1 could be helpful. Nico -- Think about Free and Open Source Software (FOSS). http://nico.schottelius.org/documentations/foss/the-term-foss/ PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C
signature.asc
Description: Digital signature