kbd - sparc

jaca jherold at interia.pl
Mon Oct 17 15:24:31 PDT 2005

Hello Ken,

Tuesday, October 18, 2005, 12:00:49 AM, you wrote:

KM> On Mon, 17 Oct 2005, jaca wrote:

>> Hello
>> I've obtained the following errorc while compiling Kbd-1.12
>> gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -DDATADIR=\"/usr/share
>> /kbd\" kbdrate.c
>> kbdrate.c: In function 'KIOCSRATE_ioctl_ok':
>> kbdrate.c:167: error: 'struct kbd_rate' has no member named 'period'

>> also the patch: patch -Np1 -i ../kbd-1.12-sparc_kbdrate-1.patch
>> has been rejected:
>> root:/sources/kbd-1.12$ patch -Np1 -i ../kbd-1.12-sparc_kbdrate-1.patch
>> patching file src/psffontop.c
>> Reversed (or previously applied) patch detected!  Skipping patch.

KM>   You've got the wrong patch!  src/psffontop.c is in the gcc4_fixes 
KM> patch, the sparc_kbdrate patch alters src/kbdrate.c to use 
KM> kbdrate_s.rate.

KM> Ken

Sorry it was my fault.

I've just typed the instructions from book but i have the same patch
for gcc fix with name of kbrate patch.

I've applied the proper patch and everything is OK

Jacek Herold

INTERIA.PL | Kliknij po wiecej >>> http://link.interia.pl/f18c1

More information about the lfs-dev mailing list