From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirnewton_01@yahoo.ca (Chris McGee) Date: Thu, 1 Sep 2016 22:34:46 -0400 Subject: [9fans] Linker and duplicate symbols Message-ID: <23E1A816-343E-4081-8A46-A7D7AFD91B2F@yahoo.ca> Topicbox-Message-UUID: 9bfbef46-ead9-11e9-9d60-3106f5b1d025 Hi All, 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). It's my understanding that C doesn't support overloading. So, why is it that the kernel links when there are two different sleep functions? Thanks, Chris