> I have recently run into a problem when compiling the kernel where the linker 
> complains about duplicate symbols and fails. The symbol is sleep(), which is 
> exported in libc.a but is also exported in another file in port, but with 
> different parameters (both number and type).

Shouldn't happen (TM).  The duplicate sleep may be a side effect of
some other error (undefined symbol?) which is getting ld confused.
I suggest finding the invocation of ld (or $LD) in the mkfile and
inserting a copy of the command with "echo" prepended, to see exactly
what's being linked; then have a good look at all the error messages
and see if there's anything obvious you can clear up which could make
the duplicate sleep go away too.

Otherwise you could post the ld line and error messages to get more
eyes looking at the problem ...


Reply via email to