public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* Compile problems - keymap stuff (ho, humm)
@ 2002-04-24 18:40 pauln
  2002-04-24 19:06 ` pauln
  2002-04-24 19:12 ` pauln
  0 siblings, 2 replies; 4+ messages in thread
From: pauln @ 2002-04-24 18:40 UTC (permalink / raw)
  To: linux-8086

Dev86 0.16.0
elks cvs
egcs-2.91.66

Don't have time to look right now:

Basic config with GENERIC_DISK removed.  

make[3]: Entering directory `/home/pauln/src/elks/arch/i86/drivers/char'
bcc -0  -i -O -I/home/pauln/src/elks/include -DELKS_VERSION_CODE=0x0000FF04 -DUTS_RELEASE=\"0.1.0-pre4\" -D__KERNEL__ -ansi -c -o xt_key.o xt_key.c
xt_key.c:157.22: error: xtkb_scan_caps undeclared
xt_key.c:157.27: error: illegal indirection
xt_key.c:159.25: error: xtkb_scan_shifted undeclared
xt_key.c:159.30: error: illegal indirection
xt_key.c:164.26: error: xtkb_scan_ctrl_alt undeclared
xt_key.c:164.31: error: illegal indirection
xt_key.c:171.31: error: illegal indirection
xt_key.c:174.17: error: xtkb_scan undeclared
xt_key.c:174.22: error: illegal indirection
xt_key.c:177.30: error: illegal indirection
xt_key.c:179.30: error: illegal indirection
make[3]: *** [xt_key.o] Error 1
make[3]: Leaving directory `/home/pauln/src/elks/arch/i86/drivers/char'
make[2]: *** [drivers/char/chr_drv.a] Error 2
make[2]: Leaving directory `/home/pauln/src/elks/arch/i86'
make[1]: *** [Image] Error 2
make[1]: Leaving directory `/home/pauln/src/elks'
make: *** [elks] Error 2

Seems to be the KeyMap stuff:

find . -type f -exec grep -l xtkb_scan \{\} \;
./arch/i86/drivers/char/KeyMaps/keys-be.h
./arch/i86/drivers/char/KeyMaps/keys-de.h
./arch/i86/drivers/char/KeyMaps/keys-dv.h
./arch/i86/drivers/char/KeyMaps/keys-es.h
./arch/i86/drivers/char/KeyMaps/keys-fr.h
./arch/i86/drivers/char/KeyMaps/keys-se.h
./arch/i86/drivers/char/KeyMaps/keys-uk.h
./arch/i86/drivers/char/KeyMaps/keys-us.h
./arch/i86/drivers/char/xt_key.c

Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compile problems - keymap stuff (ho, humm)
  2002-04-24 18:40 Compile problems - keymap stuff (ho, humm) pauln
@ 2002-04-24 19:06 ` pauln
  2002-04-24 19:12 ` pauln
  1 sibling, 0 replies; 4+ messages in thread
From: pauln @ 2002-04-24 19:06 UTC (permalink / raw)
  To: pauln

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

On Wed, Apr 24, 2002 at 07:40:32PM +0100, pauln@truemesh.com wrote:
> Dev86 0.16.0
> elks cvs
> egcs-2.91.66
> 
> Don't have time to look right now:
 
I lied :)

The mkcfg script was creating a blank Config.in, 

This seems to be as it is being clobbered by the Config.tmp file

./mkcfg auto directs to config.in

The Makefile automatically clobbers this by redirecting the output to
Config.tmp then mv'ing it into place.

I enclose a patch that strips the redirects to Config.in

Paul

[-- Attachment #2: mkcfg.patch --]
[-- Type: text/plain, Size: 988 bytes --]

Index: mkcfg
===================================================================
RCS file: /cvsroot/elks/elks/arch/i86/drivers/char/KeyMaps/mkcfg,v
retrieving revision 1.1
diff -u -r1.1 mkcfg
--- mkcfg	24 Apr 2002 17:47:04 -0000	1.1
+++ mkcfg	24 Apr 2002 19:08:51 -0000
@@ -11,7 +11,7 @@
     local CODE FILE NAME SEP='"'
 
     while read FILE CODE NAME ; do
-	printf '\t\\\n\t%-12s\tCONFIG_KEYMAP_%s' >> Config.in \
+	printf '\t\\\n\t%-12s\tCONFIG_KEYMAP_%s'  \
 		"${SEP}${NAME}" "${CODE}"
 	SEP=' '
 	printf '#include "%s"\t\t/* %s\t%-9s\t*/\n' >> keymaps.h \
@@ -20,7 +20,7 @@
 }
 
 printf '/* Automatically created - do not edit */\n\n' > keymaps.h
-printf '# Automatically created - do not edit.\n\n' > Config.in
-printf "choice 'XT Keyboard support'\t\t" >> Config.in
+printf '# Automatically created - do not edit.\n\n' 
+printf "choice 'XT Keyboard support'\t\t" 
 codes | sort +1f | process
-printf '"\t\tAmerican\n\n# EOF.\n' >> Config.in
+printf '"\t\tAmerican\n\n# EOF.\n' 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compile problems - keymap stuff (ho, humm)
  2002-04-24 18:40 Compile problems - keymap stuff (ho, humm) pauln
  2002-04-24 19:06 ` pauln
@ 2002-04-24 19:12 ` pauln
  2002-04-24 21:51   ` Riley Williams
  1 sibling, 1 reply; 4+ messages in thread
From: pauln @ 2002-04-24 19:12 UTC (permalink / raw)
  To: linux-8086

[-- Attachment #1: Type: message/rfc822, Size: 596 bytes --]


I'll take my muppet hat off now :)

On Wed, Apr 24, 2002 at 07:40:32PM +0100, pauln@truemesh.com wrote:
> Dev86 0.16.0
> elks cvs
> egcs-2.91.66
> 
> Don't have time to look right now:
 
I lied :)

The mkcfg script was creating a blank Config.in, 

This seems to be as it is being clobbered by the Config.tmp file

./mkcfg auto directs to config.in

The Makefile automatically clobbers this by redirecting the output to
Config.tmp then mv'ing it into place.

I enclose a patch that strips the redirects to Config.in

Paul

[-- Attachment #2: mkcfg.patch --]
[-- Type: text/plain, Size: 988 bytes --]

Index: mkcfg
===================================================================
RCS file: /cvsroot/elks/elks/arch/i86/drivers/char/KeyMaps/mkcfg,v
retrieving revision 1.1
diff -u -r1.1 mkcfg
--- mkcfg	24 Apr 2002 17:47:04 -0000	1.1
+++ mkcfg	24 Apr 2002 19:08:51 -0000
@@ -11,7 +11,7 @@
     local CODE FILE NAME SEP='"'
 
     while read FILE CODE NAME ; do
-	printf '\t\\\n\t%-12s\tCONFIG_KEYMAP_%s' >> Config.in \
+	printf '\t\\\n\t%-12s\tCONFIG_KEYMAP_%s'  \
 		"${SEP}${NAME}" "${CODE}"
 	SEP=' '
 	printf '#include "%s"\t\t/* %s\t%-9s\t*/\n' >> keymaps.h \
@@ -20,7 +20,7 @@
 }
 
 printf '/* Automatically created - do not edit */\n\n' > keymaps.h
-printf '# Automatically created - do not edit.\n\n' > Config.in
-printf "choice 'XT Keyboard support'\t\t" >> Config.in
+printf '# Automatically created - do not edit.\n\n' 
+printf "choice 'XT Keyboard support'\t\t" 
 codes | sort +1f | process
-printf '"\t\tAmerican\n\n# EOF.\n' >> Config.in
+printf '"\t\tAmerican\n\n# EOF.\n' 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compile problems - keymap stuff (ho, humm)
  2002-04-24 19:12 ` pauln
@ 2002-04-24 21:51   ` Riley Williams
  0 siblings, 0 replies; 4+ messages in thread
From: Riley Williams @ 2002-04-24 21:51 UTC (permalink / raw)
  To: pauln; +Cc: Linux 8086

Hi Paul.

>> Don't have time to look right now:

> The mkcfg script was creating a blank Config.in, 
>
> This seems to be as it is being clobbered by the Config.tmp file
>
> ./mkcfg auto directs to config.in
>
> The Makefile automatically clobbers this by redirecting the output to
> Config.tmp then mv'ing it into place.
>
> I enclose a patch that strips the redirects to Config.in

Many thanks for that, applied and committing now...

Best wishes from Riley.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-24 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-24 18:40 Compile problems - keymap stuff (ho, humm) pauln
2002-04-24 19:06 ` pauln
2002-04-24 19:12 ` pauln
2002-04-24 21:51   ` Riley Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox