home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / c / 12520 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.9 KB  |  42 lines

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