PDA

View Full Version : How can i compile client-server application???




vavdiyaharesh
May 22, 2008, 07:38 AM
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.