Re: 2.6.0-test9-mjb2: emulex driver link error

From: Martin J. Bligh
Date: Thu Nov 13 2003 - 12:17:45 EST


>> emulex driver Emulex
>> Driver for emulex fiberchannel cards
>> ...
>
> "copyin" and "copyout" aren't good names for non-static functions:
>
> <-- snip -->
>
> ...
> LD drivers/built-in.o
> drivers/scsi/built-in.o(.text+0x1182c0): In function `copyout':
> : multiple definition of `copyout'
> drivers/char/built-in.o(.text+0x58fe0): first defined here
> ld: Warning: size of symbol `copyout' changed from 95 in
> drivers/char/built-in.o to 55 in drivers/scsi/built-in.o
> drivers/scsi/built-in.o(.text+0x118300): In function `copyin':
> : multiple definition of `copyin'
> drivers/char/built-in.o(.text+0x58f60): first defined here
> ld: Warning: size of symbol `copyin' changed from 125 in
> drivers/char/built-in.o to 88 in drivers/scsi/built-in.o
> make[1]: *** [drivers/built-in.o] Error 1
> make: *** [drivers] Error 2

Yeah, I think the code in there is pretty ugly ... I think that one
only works as a module right now - sorry.

M.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/