home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!utcsri!torn!watserv2.uwaterloo.ca!watserv1!gaitlab1.uwaterloo.ca!paul
- From: paul@gaitlab1.uwaterloo.ca (paul j guy)
- Subject: meaning of '..\dos\crt0.asm ' error in msc 6.0
- Message-ID: <Bt8nHC.Jou@watserv1.uwaterloo.ca>
- Summary: What is PWB really trying to say ?
- Keywords: startup,MSC6.0,crt0.asm
- Sender: paul@gaitlab1.uwaterloo.ca
- Organization: University of Waterloo, Waterloo, Ontario, Canada
- Distribution: na
- Date: Wed, 19 Aug 1992 16:07:59 GMT
- Lines: 28
-
- Every once in a while I get a message from PWB (programmers
- work bench, MSC6.0) complaining that \dos\crt0.asm does not exist. Then
- the linker bitches about one of the library files (or even crt0.obj).
- I get an error L2029 '_main' unresolved external. In desperation,
- I went through the 'startup' batch file, and generated all the .obj
- startup files for the models I use, and it complained about crt0.obj .
- Oddly enough, 'main' is declared externalP in crt0.asm .
- I think between me and PWB I am sending myself on a wild
- goose chase. In its own cryptic way, the compiler is trying to tell me
- something, and I damned if I can figure out what it is.
- When I set up the compiler, I did not make any combined libraries,
- instead I have a long list which I link to at the link phase. I have
- a suspicion that there is something missing. Usually I get these errors
- if I link an additional .obj file (like setargv.obj). Most of the time
- I can work around the errors (by directly adding the .obj files to the
- appropriate .lib file), but it would be handy to know what's really the
- problem.
- I couldn't find this in any FAQ lists, the legitimate MSC6.0 docs,
- and no one around here has any idea.
- Thank you for any ideas...
-
- -Paul
-
- --
- -----------------------------------------------------------------------------
- Paul J Guy work phone:519-885-1211 ext 6371
- paul@gaitlab1.uwaterloo.ca home/FAX/message:519-576-3090
- pguy@healthy.uwaterloo.ca ..remember...bullshit baffles brains...
-