PROBLEM: In function `capi_recv_message':drivers/isdn/capi/capi.c:649: error: `tty' undeclared

PROBLEM: In function `capi_recv_message':drivers/isdn/capi/capi.c:649: error: `tty' undeclared

Post by Karel Babk » Sat, 09 Oct 2004 08:40:07


1.] One line summary of the problem:
In function `capi_recv_message':drivers/isdn/capi/capi.c:649: error: `tty' undeclared

[2.] Full description of the problem/report:

There is an undeclared symbol `tty' in drivers/isdn/capi/capi.o
I have got an error message during kernel building:

<cat>
CC [M] drivers/isdn/capi/kcapi.o
CC [M] drivers/isdn/capi/capiutil.o
CC [M] drivers/isdn/capi/capilib.o
CC [M] drivers/isdn/capi/kcapi_proc.o
LD [M] drivers/isdn/capi/kernelcapi.o
CC [M] drivers/isdn/capi/capi.o
drivers/isdn/capi/capi.c: In function `capi_recv_message':
drivers/isdn/capi/capi.c:649: error: `tty' undeclared (first use in this function)
drivers/isdn/capi/capi.c:649: error: (Each undeclared identifier is reported only once
drivers/isdn/capi/capi.c:649: error: for each function it appears in.)
make[3]: *** [drivers/isdn/capi/capi.o] Error 1
make[2]: *** [drivers/isdn/capi] Error 2
make[1]: *** [drivers/isdn] Error 2
make: *** [drivers] Error 2
</cat>

[3.] Keywords (i.e., modules, networking, kernel):
modules

[4.] Kernel version (from /proc/version):
Linux version 2.4.22-1.2149.nptlcustom.1 (root@drake) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #2 St led 28 23:28:12 CET 2004

[5.] Output of Oops.. message (if applicable) with symbolic information
resolved (see Documentation/oops-tracing.txt)
[6.] A small shell script or example program which triggers the
problem (if possible)
[7.] Environment
BASH=/bin/bash
BASH_ENV=/root/.bashrc
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i386-redhat-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
CDR_SECURITY=8:dvd,clone:sparc-sun-solaris2,i386-pc-solaris2,i586-pc-linux,powerpc-apple,hppa,powerpc-ibm-aix,i386-unknown-freebCOLORS=/root/.dir_colors
COLUMNS=128
DIRSTACK=()
DWNL=/root/tmp
EUID=0
GROUPS=()
G_BROKEN_FILENAMES=1
HISTCONTROL=ignorespace
HISTFILE=/root/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HOME=/root
HOSTNAME=drake
HOSTTYPE=i386
IFS=$' \t\n'
INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=cs_CZ.ISO-8859-2
LESSOPEN='|/usr/bin/lesspipe.sh %s'
LINES=48
LOGNAME=root
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=MACHTYPE=i386-redhat-linux-gnu
MAIL=/root/Maidir
MAILCHECK=60
MANPATH=/usr/lib/courier-imap/man:
MC_TMPDIR=/tmp/mc-root
OLDPWD=/root
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PAGER=/usr/bin/w3m
PATH=/root/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/loPIPESTATUS=([0]="0")
PPID=7215
PROMPT_COMMAND='pwd>&9;kill -STOP $$'
PS1='\[\033[01;33m\]\u@\h \w >\[\033[00;37;44m\]'
PS2='> '
PS4='+ '
PWD=/root/temp
QTDIR=/usr/lib/qt-3.3
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=2
SUPPORTED=cs_CZ:cs:en_US.iso885915:en_US:en
TEMP=/root/temp
TERM=linux
UID=0
USER=root
USERNAME=root

[7.1.] Software (add the output of the ver_linux script here)
Linux drake 2.4.22-1.2149.nptlcustom.1 #2 St led 28 23:28:12 CET 2004 i686 i686 i386 GNU/Linux

Gnu C 3.3.3
Gnu make 3.80
binutils 2.15.90.0.3
util-linux 2.12
mount 2.12
module-init-tools /lib/modules/2.4.22-1.2149.nptlcustom.1/kernel/arch/i386/kernel/powernow-k7.o
e2fsprogs 1.35
reiserfspro