ukbd.c: error: use of undeclared identifier 'key_map'

Brendan Sechter sgeos at hotmail.com
Thu Mar 10 15:30:06 UTC 2016



----------------------------------------
> Subject: Re: ukbd.c: error: use of undeclared identifier 'key_map'
> To: sgeos at hotmail.com; freebsd-current at freebsd.org; emaste at freebsd.org
> From: hps at selasky.org
> Date: Thu, 10 Mar 2016 08:00:02 +0100
>
> On 03/09/16 23:04, Brendan Sechter wrote:
>> Hello-
>>
>> My kernel fails to build when I specify a default keymap. The problem appears to
>> exist in both atkbd(4) and ukbd(4). My last build appears to have succeeded in
>> September of last year. That may have been when I added the option.
>>
>> My kernel config and the failing build output for ukbd are below. The VIRTUALBOX
>> kernel config below built without issue.
>>
>> Regards,
>> -Brendan
>>
>
> Hi,
>
> Given the heavy rework in the console area in 11-current I'm not sure if
> this feature works any more or if it needs to be updated. Maybe Ed Maste
> knows?
>
> --HPS

I tried a couple more builds and the *KBD_DFLT_KEYMAP options do appear
to be the problem.  This works.

# AT Keyboard
device          atkbdc
device          atkbd
#options         ATKBD_DFLT_KEYMAP
#makeoptions     ATKBD_DFLT_KEYMAP=jp.106

# USB Keyboard
device          ukbd
#options         UKBD_DFLT_KEYMAP
#makeoptions     UKBD_DFLT_KEYMAP=jp.106

This does not.

# AT Keyboard
device          atkbdc
device          atkbd
options         ATKBD_DFLT_KEYMAP
#makeoptions     ATKBD_DFLT_KEYMAP=jp.106

# USB Keyboard
device          ukbd
options         UKBD_DFLT_KEYMAP
#makeoptions     UKBD_DFLT_KEYMAP=jp.106

Regards,
-Brendan 		 	   		  


More information about the freebsd-current mailing list