Tod.Shannon@PS2.CS.CMU.EDU (07/25/87)
I'm using DECUS C on RSTS/E under RSX emulation. I want to write some C routines and call them from BASIC+2. I'm running into a problem where when I task build I'm getting three errors. The xfr address is multiply defined, the symbol .NLUNS is multiply defined, and MAIN is undefined (since I have no main in my C code since I don't want it to run...) I assume that (since I am really just learning C) the DECUS C compiler assumes that all C modules must have a routine "main" to which the xfr address will point when the task is loaded. Is there any way to get around this? Help! Please reply directly to me as I am not on this list. -Tod P.S. RSTS version is 9.3