|
From: | Nick Clifton |
Subject: | Re: ld: global symbol warning message suggestion |
Date: | Tue, 13 Jul 2004 19:51:40 +0100 |
User-agent: | Mozilla Thunderbird 0.7 (X11/20040615) |
Hi Jari,
I have an object file with a global variable 'bind'. I have linked the file to an application which uses libc function 'bind'. The linking goes fine, but when run, the application experiences segmentation fault on function 'bind'.
Sorry - there is no simple way to resolve this issue. One of the purposes of a library is to allow the user to provide their own definitions for the functions and variables that it contains. So the linker has to allow you to provide your own definition of "bind", even you do so by mistake.
Cheers Nick
[Prev in Thread] | Current Thread | [Next in Thread] |