Debian bug report logs - #1029
compile failed (both a.out and ELF)
Package: kbd; Reported by: jdassen@WI.LeidenUniv.NL (J.H.M.Dassen); 131 days old.
Message received at debian-bugs:
From cus.cam.ac.uk!iwj10 Thu Jul 20 14:28:41 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sZ396-0005AwC; Thu, 20 Jul 95 14:28 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA10277
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 20 Jul 1995 14:26:52 -0700
Received: by bootes.cus.cam.ac.uk
(Smail-3.1.29.0 #36) id m0sZ2B9-000C0dC; Thu, 20 Jul 95 21:26 BST
Received: by chiark
id <m0sZ1y3-0002XXZ@chiark.al.cl.cam.ac.uk>
(Debian /\oo/\ Smail3.1.29.1 #29.32); Thu, 20 Jul 95 21:13 BST
Message-Id: <m0sZ1y3-0002XXZ@chiark.al.cl.cam.ac.uk>
Date: Thu, 20 Jul 95 21:13 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: debian-bugs@pixar.com
Subject: Re: Bug#1029: [kbd] compile failed (both a.out and ELF)
J. H. M. Dassen writes ("Bug#1029: compile failed (both a.out and ELF)"):
> [...]
> > setfont.c: In function `do_loadtable':
> > setfont.c:211: `ENOIOCTLCMD' undeclared (first use this function)
> > setfont.c:211: (Each undeclared identifier is reported only once
> > setfont.c:211: for each function it appears in.)
> [...]
>
> In 1.3.x kernels ENOIOCTLCMD is ifdef'd __KERNEL__. Solution:
> add #define __KERNEL__ before any include.
No, this is not right.
User programs should not #define __KERNEL__. If a user program needs
this #define it should not be inside __KERNEL__ and the kernel should
be fixed. If it doesn't then kbd is mistaken and should be fixed.
Ian.
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson)
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#1029
; Package kbd
.
Full text available.
Message received at debian-bugs:
From WI.LeidenUniv.NL!jdassen Tue Jul 18 13:25:43 1995
Return-Path: <jdassen@WI.LeidenUniv.NL>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sYJD4-0007rvC; Tue, 18 Jul 95 13:25 PDT
Received: from mailhost.WI.LeidenUniv.NL (zeus128.wi.leidenuniv.nl) by pixar.com with SMTP id AA00075
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Tue, 18 Jul 1995 13:24:06 -0700
Received: from ind302ca.wi.leidenuniv.nl (jdassen@ind302ca [132.229.16.26])
by mailhost.WI.LeidenUniv.NL (8.6.10a/FHM-1.20-M) with ESMTP id UAA03620
Tue, 18 Jul 1995 20:46:37 +0200 (MET)
From: jdassen@WI.LeidenUniv.NL (J.H.M.Dassen)
Organization: Leiden University,
Dept. of Mathematics & Computer Science,
The Netherlands
Received: from (jdassen@localhost)
by ind302ca.wi.leidenuniv.nl (8.6.10a/FHM-1.03-S) id SAA00967
Tue, 18 Jul 1995 18:46:37 GMT (MET)
Message-Id: <199507181846.SAA00967@ind302ca.wi.leidenuniv.nl>
Subject: Re: Bug#1029: compile failed (both a.out and ELF)
To: jdassen@WI.LeidenUniv.NL, debian-bugs@Pixar.com
Date: Tue, 18 Jul 1995 20:46:36 +0200 (MDT)
In-Reply-To: <199506220832.IAA20607@ind156a.wi.leidenuniv.nl> from "J.H.M.Dassen" at Jun 22, 95 10:32:44 am
Return-Receipt-To: jdassen@WI.LeidenUniv.NL
X-Home-Page: <URL:http://www.wi.leidenuniv.nl/home/jdassen>
X-Mailer: ELM [version 2.4 PL24 (modified)]
Content-Type: text
Content-Length: 914
> Package: kbd
> Version: 0.90-2
>
> -- debian.rules binary log (a.out) --
[cut]
> setfont.c: In function `do_loadtable':
> setfont.c:211: `ENOIOCTLCMD' undeclared (first use this function)
> setfont.c:211: (Each undeclared identifier is reported only once
> setfont.c:211: for each function it appears in.)
> make[3]: *** [setfont.o] Error 1
> make[3]: Leaving directory `/exp/build/zooi5/kbd-0.90/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/exp/build/zooi5/kbd-0.90'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/exp/build/zooi5/kbd-0.90'
> make: *** [binary] Error 2
> -- end --
In 1.3.x kernels ENOIOCTLCMD is ifdef'd __KERNEL__. Solution:
add #define __KERNEL__ before any include.
--
POPULATION EXPLOSION Unique in human experience, an event which happened
yesterday but which everyone swears won't happen until tomorrow.
- The Hipcrime Vocab by Chad C. Mulligan
Acknowledgement sent to jdassen@WI.LeidenUniv.NL (J.H.M.Dassen)
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#1029
; Package kbd
.
Full text available.
Message received at debian-bugs:
From WI.LeidenUniv.NL!jdassen Thu Jun 22 01:35:18 1995
Return-Path: <jdassen@WI.LeidenUniv.NL>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sOhjI-0005z9C; Thu, 22 Jun 95 01:35 PDT
Received: from mailhost.WI.LeidenUniv.NL (zeus128.wi.leidenuniv.nl) by pixar.com with SMTP id AA09247
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 22 Jun 1995 01:33:38 -0700
Received: from ind156a.wi.leidenuniv.nl (jdassen@ind156a [132.229.128.220])
by mailhost.WI.LeidenUniv.NL (8.6.10a/FHM-1.20-M) with ESMTP id KAA14743
for <debian-bugs@pixar.com>; Thu, 22 Jun 1995 10:35:01 +0200 (MET)
From: jdassen@WI.LeidenUniv.NL (J.H.M.Dassen)
Organization: Leiden University,
Dept. of Mathematics & Computer Science,
The Netherlands
Received: from (jdassen@localhost)
by ind156a.wi.leidenuniv.nl (8.6.9/FHM-1.03-S) id IAA20607
for debian-bugs@pixar.com; Thu, 22 Jun 1995 08:32:45 GMT (MET)
Message-Id: <199506220832.IAA20607@ind156a.wi.leidenuniv.nl>
Subject: compile failed (both a.out and ELF)
To: debian-bugs@pixar.com
Date: Thu, 22 Jun 1995 10:32:44 +0200 (MDT)
Return-Receipt-To: jdassen@WI.LeidenUniv.NL
X-Home-Page: <URL:http://www.wi.leidenuniv.nl/home/jdassen>
X-Mailer: ELM [version 2.4 PL24 (modified)]
Content-Type: text
Content-Length: 1710
Package: kbd
Version: 0.90-2
-- debian.rules binary log (a.out) --
test -f stamp-build || make -f debian.rules build
make[1]: Entering directory `/exp/build/zooi5/kbd-0.90'
make
make[2]: Entering directory `/exp/build/zooi5/kbd-0.90'
cd src && make all
make[3]: Entering directory `/exp/build/zooi5/kbd-0.90/src'
gcc -c -Wall -O2 -DDATADIR=\"/usr/lib/kbd\" dumpkeys.c
gcc -c -Wall -O2 -DDATADIR=\"/usr/lib/kbd\" ksyms.c
gcc -s dumpkeys.o ksyms.o -o dumpkeys
bison -y loadkeys.y
mv -f y.tab.c loadkeys.c
flex -8 -t analyze.l > analyze.c
gcc -c -O2 -DDATADIR=\"/usr/lib/kbd\" loadkeys.c
gcc -c -Wall -O2 -DDATADIR=\"/usr/lib/kbd\" findfile.c
gcc -s loadkeys.o ksyms.o findfile.o -o loadkeys
gcc -c -Wall -O2 -DDATADIR=\"/usr/lib/kbd\" showkey.c
gcc -s showkey.o -o showkey
gcc -c -Wall -O2 -DDATADIR=\"/usr/lib/kbd\" setfont.c
setfont.c: In function `do_loadtable':
setfont.c:211: `ENOIOCTLCMD' undeclared (first use this function)
setfont.c:211: (Each undeclared identifier is reported only once
setfont.c:211: for each function it appears in.)
make[3]: *** [setfont.o] Error 1
make[3]: Leaving directory `/exp/build/zooi5/kbd-0.90/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/exp/build/zooi5/kbd-0.90'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/exp/build/zooi5/kbd-0.90'
make: *** [binary] Error 2
-- end --
My /usr/src/linux is 1.3.3's; maybe ENOIOCTLCMD has been renamed/removed?
Regards,
Ray
--
LEADERSHIP A form of self-preservation exhibited by people with auto-
destructive imaginations in order to ensure that when it comes to the crunch
it'll be someone else's bones which go crack and not their own.
- The Hipcrime Vocab by Chad C. Mulligan
Acknowledgement sent to jdassen@WI.LeidenUniv.NL (J.H.M.Dassen)
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#1029
; Package kbd
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism