This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

HELP!!!


hi guys,

im a totally newbee in unix systems (in cygwin too). But i got i source 
code of a email rpg called German Atlantis V6.6
after i have unzipped the code ive started cygwin and used the ´make´ 
command. cygwin compiled the files, but than, following error appeared:

...
gcc -g -Wall -W   -c -o laws.o laws.c
gcc -g -Wall -W   -c -o magic.o magic.c
gcc -g -Wall -W   -c -o main.o main.c
gcc -g -Wall -W   -c -o monster.o monster.c
gcc -g -Wall -W   -c -o movement.o movement.c
gcc -g -Wall -W   -c -o reports.o reports.c
gcc -g -Wall -W   -c -o save.o save.c
gcc -g -Wall -W   -c -o study.o study.c
gcc -g -Wall -W   -c -o terrain.o terrain.c
gcc -g -Wall -W   -c -o translate.o translate.c
gcc -lm -oatlantis atlantis.o build.o combat.o constant.o contact.o 
creation.o e
conomic.o give.o indicato.o language.o laws.o magic.o main.o monster.o 
movement.
o reports.o save.o study.o terrain.o translate.o
main.o: In function `main':
/cygdrive/c/atlantis/prog/main.c(.text+0xdf8): multiple definition of `main'
/usr/lib/libm.a(libcmain.o)(.text+0x0):/cygnus/netrel/src/cygwin-1.3.3-2/winsup/
cygwin/lib/libcmain.c: first defined here
/usr/lib/libm.a(libcmain.o): In function `main':
/cygnus/netrel/src/cygwin-1.3.3-2/winsup/cygwin/lib/libcmain.c:31: 
undefined ref
erence to `WinMain@16'
collect2: ld returned 1 exit status
make: *** [atlantis] Error 1


so i hope anyone of you can tell what that are supposed to be


LittleBuddha



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]