2001-12-08 00:31:33

by wolvie_cobain

[permalink] [raw]
Subject: bug??

Helo ppl,

I havin trobles compiling the 2.5.1-pre5 and pre6 kernels
more especificaly with the intermezzo filesystem. I dosen't use it for
nothing but i like to test some filesystem in a while and found this error
when compiling the kernel

gcc -D__KERNEL__ -I/thingz/kernelz/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -c -o psdev.o psdev.c
psdev.c: In function `presto_psdev_ioctl':
psdev.c:269: `TCGETS' undeclared (first use in this function)
psdev.c:269: (Each undeclared identifier is reported only once
psdev.c:269: for each function it appears in.)
psdev.c:270: warning: unreachable code at beginning of switch statement
make[3]: *** [psdev.o] Error 1
make[3]: Leaving directory `/thingz/kernelz/linux/fs/intermezzo'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/thingz/kernelz/linux/fs/intermezzo'
make[1]: *** [_subdir_intermezzo] Error 2
make[1]: Leaving directory `/thingz/kernelz/linux/fs'
make: *** [_dir_fs] Error 2

i could proceed for this point disablin the intermezzo fylesystem
by the by i just want to tell somebody
if o knew how to fix it i would be happy to help but..
cya
Thomas "Wolvie" Andrade

ps: and sorry bout the english.. it's not my first language, i'm brasilian
=)

"N?s tamb?m podemos trazer as coisas de volta.Dizem q somos o sonho de uma
ra?a
carniceira e talvez seja verdade, mas se n?s acreditarmos e sonharmos podemos
mudar o mundo. N?s podemos sonha-lo de novo"
"Sonho de mil gatos"
-------------------------------------------------------------------------------
/"\
\ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
/ \
-------------------------------------------------------------------------------
linux user #106516
ICQ #46105730


2001-12-08 01:45:29

by Samuel Ortiz

[permalink] [raw]
Subject: [PATCH]Re: bug??

Try to apply this. I hope this helps.

--- linux-2.5.1-pre6/fs/intermezzo/psdev.c Sun Nov 11 10:20:21 2001
+++ work-linux-2.5.1-pre6/fs/intermezzo/psdev.c Fri Dec 7 17:32:16 2001
@@ -46,6 +46,7 @@
#include <linux/init.h>
#include <linux/list.h>
#include <asm/io.h>
+#include <asm/ioctls.h>
#include <asm/segment.h>
#include <asm/system.h>
#include <asm/poll.h>