public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* compilation error in 2.4.3-pre3
@ 2001-03-11  1:36 Joachim Herb
  0 siblings, 0 replies; only message in thread
From: Joachim Herb @ 2001-03-11  1:36 UTC (permalink / raw)
  To: linux-kernel

Hello,

I get the following compilation error:
gcc -D__KERNEL__ -I/tmp2/src/linux-2.4.3.jh/include -Wall
-Wstrict-prototypes -O
2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -
march=i686 -malign-functions=4     -c -o proc_misc.o proc_misc.c
proc_misc.c: In function `read_profile':
proc_misc.c:452: `prof_shift' undeclared (first use in this function)
proc_misc.c:452: (Each undeclared identifier is reported only once
proc_misc.c:452: for each function it appears in.)
proc_misc.c:454: `prof_len' undeclared (first use in this function)
proc_misc.c:464: `prof_buffer' undeclared (first use in this function)
proc_misc.c: In function `write_profile':
proc_misc.c:494: `prof_len' undeclared (first use in this function)
proc_misc.c:494: `prof_buffer' undeclared (first use in this function)
proc_misc.c: In function `proc_misc_init':
proc_misc.c:563: `prof_shift' undeclared (first use in this function)
proc_misc.c:567: `prof_len' undeclared (first use in this function)
make[3]: *** [proc_misc.o] Error 1
make[3]: Leaving directory `/tmp2/src/linux-2.4.3.jh/fs/proc'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/tmp2/src/linux-2.4.3.jh/fs/proc'
make[1]: *** [_subdir_proc] Error 2
make[1]: Leaving directory `/tmp2/src/linux-2.4.3.jh/fs'
make: *** [_dir_fs] Error 2

I use:
# gcc --version
2.95.3
(Mandrake 7.2)

This variables were defined in asm/string.h but now I can only find them
in asm/hw_irq.h. I have included asm/hw_irq.h and it compiles but I get
a warning:
make[3]: Entering directory `/tmp2/src/linux-2.4.3.jh/fs/proc'
gcc -D__KERNEL__ -I/tmp2/src/linux-2.4.3.jh/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -malign-functions=4     -c -o
proc_misc.o proc_misc.c
In file included from proc_misc.c:42:
/tmp2/src/linux-2.4.3.jh/include/asm/hw_irq.h:219: warning: `struct
hw_interrupt_type' declared inside parameter list
/tmp2/src/linux-2.4.3.jh/include/asm/hw_irq.h:219: warning: its scope is
only this definition or declaration, which is probably not what you
want.
rm -f proc.o

Bye,
Joachim

P.S. Please send also an email to my private address as I am not
subscribed to the list.
-- 
Joachim Herb
mailto:herb@leo.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-11  1:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-11  1:36 compilation error in 2.4.3-pre3 Joachim Herb

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