The quest continues... After entering through the unanswered question
the compilation stopped (with the "normal" kernel) at this point:

cc -D__KERNEL__ -I/users/stefan/RPM/BUILD/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -DMODULE -DMODVERSIONS
-include /users/stefan/RPM/BUILD/linux/include/linux/modversions.h   -c
-o via82cxxx_audio.o via82cxxx_audio.c
via82cxxx_audio.c: In function `via_chan_init':
via82cxxx_audio.c:658: `loops_per_sec_Re367fd84' undeclared (first use
in this function)
via82cxxx_audio.c:658: (Each undeclared identifier is reported only once
via82cxxx_audio.c:658: for each function it appears in.)
via82cxxx_audio.c: In function `via_ac97_wait_idle':
via82cxxx_audio.c:972: `loops_per_sec_Re367fd84' undeclared (first use
in this function)
via82cxxx_audio.c: In function `via_ac97_read_reg':
via82cxxx_audio.c:1014: `loops_per_sec_Re367fd84' undeclared (first use
in this
function)
via82cxxx_audio.c: In function `via_ac97_write_reg':
via82cxxx_audio.c:1074: `loops_per_sec_Re367fd84' undeclared (first use
in this
function)
via82cxxx_audio.c: In function `via_ac97_reset':
via82cxxx_audio.c:1220: `loops_per_sec_Re367fd84' undeclared (first use
in this
function)
make[2]: *** [via82cxxx_audio.o] Error 1

Funny thing is that it went through this routine fine on the secure and
smp kernels:

cc -D__KERNEL__ -I/users/stefan/RPM/BUILD/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
-D__SMP__ -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -DMODULE
-DMODVERSIONS -include
/users/stefan/RPM/BUILD/linux/include/linux/modversions.h   -c -o
via82cxxx_audio.o via82cxxx_audio.c

and

cc -D__KERNEL__ -I/users/stefan/RPM/BUILD/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
-D__SMP__ -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -DMODULE
-DMODVERSIONS -include
/users/stefan/RPM/BUILD/linux/include/linux/modversions.h   -c -o
via82cxxx_audio.o via82cxxx_audio.c

The difference between the first and the last two is the -D__SMP__ . Is
this coincidence?

Stefan

Reply via email to