S
sjain
Guest
Hi,
I am new to this forum and this is my first posting on it. Well to sum up the issue, i am trying to build a shared libray on MAC 10.4.2 and am getting this strange error:
ld: multiple definition of symbol _SERVER_NAME_
abc.o definition of _SERVER_NAME_ in section (__DATA,__common)
xyz.o definition of _SERVER_NAME_ in section (__DATA,__common)
Could anyone please provide some info on to why i am getting this error and how can i resolve it. Please also note that i am using the -fno-common option along with my CFLAGS.
Thanks in advance. Please treat this as urgent!!!
Regards
-sjain
I am new to this forum and this is my first posting on it. Well to sum up the issue, i am trying to build a shared libray on MAC 10.4.2 and am getting this strange error:
ld: multiple definition of symbol _SERVER_NAME_
abc.o definition of _SERVER_NAME_ in section (__DATA,__common)
xyz.o definition of _SERVER_NAME_ in section (__DATA,__common)
Could anyone please provide some info on to why i am getting this error and how can i resolve it. Please also note that i am using the -fno-common option along with my CFLAGS.
Thanks in advance. Please treat this as urgent!!!
Regards
-sjain