If i have a shared lib with some name like FTPobex with funtion name Func1() { printf("First function"); }
And i have my local function void main() { Func1();/i call this function here using shared lib } //local function Func1() { printf("First function"); } Here,Func1() is a local function for this program .My program is not giving any linker error on this when i compiled it using GCC.There are 2 definitions of same function then also it works..Amazaing...? Then i remove my local Func1() function then it goes to shaerd lib funciotn and access that...Quite strange ? TRy it. Hope GCC developers will look on it. [EMAIL PROTECTED] -- Summary: Gcc Linker problem Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: shantibhushan dot sale at gmail dot com GCC build triplet: GCC GCC host triplet: Linux GCC target triplet: Linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30329