Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vavdiyaharesh

macrumors newbie
Original poster
May 15, 2008
24
0
Hello Everyone,

i got sample program for client-server programming from this link "http://www.gnustep.org/resources/documentation/Developer/Base/ProgrammingManual/manual_7.html#SEC105"
and i have copied the GameClient and GameServer from this link and complied the program. But after compiling gcc -c and then when i m trying to compile like this "gcc -lobjc -o *.o files"

i m getting error like

it comes in compiling client
"ld: duplicate symbol .objc_class_name_GameClient in GameClient.o and main.o collect2: ld returned 1 exit status"

it comes in compiling server
"ld: duplicate symbol .objc_class_name_GameServer in GameServer.o and main.o
collect2: ld returned 1 exit status"

and i can't understand that how can i compile this client-server application?????????????????????????/

Please help me yar

Thanking you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.