Re: tdfx.o and -test13

Tony Hoyle (tmh@magenta-netlogic.com)
Sun, 31 Dec 2000 23:40:22 +0000


Alan Cox wrote:
>
> I see modversions.h being included properly on the command line

Me too..

make[3]: Entering directory `/usr/src/linux/drivers/char/drm'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -c -o agpsupport.o
agpsupport.c
In file included from agpsupport.c:1:
/usr/src/linux/include/linux/modversions.h:3: warning: ignoring pragma:
"Modversions included

Modversions *is* being included... putting a message into the header
file shows it to be correctly included at compile time. However by the
time the C file is processed it the symbols it has defined appear to no
longer exist. When you put the patch into drmP.h it never re-includes
modversions (the pragma is not hit, because _LINUX_MODVERSIONS_H is
already defined) *but* the macros within it suddenly become active.

I'm confused!

Preprocessor bug? Demon possessed compiler?

Tony (still coding at 20 minutes to midnight --- sad or what?)

-- 
Can't think of a decent signature...

tmh@magenta-netlogic.com http://www.nothing-on.tv - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/