bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Errors in kbd_kern.h !


From: Yonglin ma
Subject: Errors in kbd_kern.h !
Date: Thu, 9 Aug 2001 23:53:50 -0700 (PDT)

Red Hat 7.1
glibc2.2.2


Here is a sample program, and it's almost empty. But
when you try to compile it, you will get quite a
little errors. :(

#include <linux/kbd_kern.h>
main()
{
}





/* Here is the errors caused, led.c is the sample
file's name */
In file included from /usr/include/linux/irq.h:57,
                 from /usr/include/asm/hardirq.h:6,
                 from
/usr/include/linux/interrupt.h:45,
                 from /usr/include/linux/kbd_kern.h:4,
                 from led.c:1:
/usr/include/asm/hw_irq.h:78: parse error before `('
/usr/include/asm/hw_irq.h: In function
`x86_do_profile':
/usr/include/asm/hw_irq.h:203: `prof_pid' undeclared
(first use in this function)
/usr/include/asm/hw_irq.h:203: (Each undeclared
identifier is reported only once
/usr/include/asm/hw_irq.h:203: for each function it
appears in.)
/usr/include/asm/hw_irq.h:203: `current' undeclared
(first use in this function)
In file included from /usr/include/linux/kbd_kern.h:4,
                 from led.c:1:
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:74: syntax error before
`void'
In file included from led.c:1:
/usr/include/linux/kbd_kern.h: In function
`set_console':
/usr/include/linux/kbd_kern.h:86: `want_console'
undeclared (first use in this function)
/usr/include/linux/kbd_kern.h: At top level:
/usr/include/linux/kbd_kern.h:162: parse error before
`con_task_queue'
/usr/include/linux/kbd_kern.h:162: warning: data
definition has no type or storage class
/usr/include/linux/kbd_kern.h:164: warning: `struct
tty_struct' declared inside parameter list
/usr/include/linux/kbd_kern.h:164: warning: its scope
is only this definition or declaration, which is
probably not what you want.
/usr/include/linux/kbd_kern.h: In function
`con_schedule_flip':
/usr/include/linux/kbd_kern.h:166: dereferencing
pointer to incomplete type



Thank you.  

To those who work for the mail list, wish to be one of
you someday.


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]