2.3.18 link error, yellowfin + via-rhine

Peter Monta (pmonta@halibut.imedia.com)
Tue, 28 Sep 1999 07:47:06 -0700


A compile of 2.3.18ac9 (probably also plain 2.3.18) gives this link error
when configured with both via-rhine and yellowfin drivers:

...
-o vmlinux
drivers/net/net.a(via-rhine.o)(.data+0x60): multiple definition of `kernel_version'
drivers/net/net.a(yellowfin.o)(.data+0x64): first defined here
make: *** [vmlinux] Error 1
...

On an unrelated note, why does 'make modules' produce a modules/NET_MISC_MODULES
containing ipv4.o when no modules are built (and in particular, not ipv4.o)?
The modules directory is otherwise empty. Granted, there is no need to run
'make modules' for a monolithic kernel, but perhaps there is some small
build issue here.

Cheers,
Peter Monta pmonta@imedia.com
Imedia Corp.

-
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.tux.org/lkml/