2.1.111 fails to build, global "debug" in msp3400.c

Brian Craft (bcboy@dorothy.wanglab.brandeis.edu)
Tue, 28 Jul 1998 23:54:26 -0400


hey -- just tried to build 2.1.111 for the first time, & the compile
choked here:

drivers/char/char.a(msp3400.o)(.data+0x0): multiple definition of `debug'
arch/i386/kernel/kernel.o(.text+0x1f54): first defined here
make: *** [vmlinux] Error 1

msp3400 defines a global int debug.

trapcs.c defines a function debug(void);

It seems like msp3400 should have that declared static, like,
say, pcxx.c.

Setting it to static allows the build to complete.

But why am I getting this when obviously other people have compiled
successfully?

b.c.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html