er225711@unix.cis.pitt.edu (M Kikuchi) (03/09/90)
I have written several XFCNs in MPW pascal, learning from Gary Bond's book. In my latest one, I use the standard pascal procedures reset(), readln(), etc. for a text file; in other XFCNs I used FSopen(), etc. with no problem. When I try to link (detailed output from link is included below), link tells me that data initialization code is not called. I can only assume that this is related to the standard IO routines, but I don't know how to solve this problem. In addition, 5 XFCNs are linked into my stack, instead of just the one I wrote. If anyone can help, I would appreciate it. --Martin Thurn c/o kikuchi@pittvms.bitnet or return path of this message, whatever it is MC68000 Linker - v. 2.0.2 Release December 18, 1987 Start: 17:05:38 3/7/90 Copyright Apple Computer, Inc. 1985, 1986, 1987 All Rights Reserved. Reading files: 1 "hd80:MPW:object:xGetCore.p.o" 2 "hd80:MPW:Libraries:Interface.o" 3 "hd80:MPW:Libraries:Runtime.o" 4 "hd80:MPW:Libraries:PasLib.o" 5 "hd80:MPW:object:UWJtable.p.o" 6 "hd80:MPW:object:glueglue.p.o" Doing active analysis. Max. depth of search: 16 Size of global data area: 2314 Input summary: Read Max Bytes 1286 Strings 12 Str Blks 24648 1131 16383 Symbols 56550 50 ID-Sym Blks 6400 6 Files 8 Segments 1035 Modules 1111 32766 Ref. Lists 13332 Total bytes: 100930 193 active and 75 visible entries of 1035 read. 5 segments. ### link: Error Data Initialization code is not being called. 2023 4978 xGetCore 2024 3140 INTENV 2025 1602 SADEV 2026 1818 SACONSOL 2027 3152 STDIO ### link: Errors prevented normal completion. There was 1 error. Execution required 7 seconds. ### MPW Shell - Execution of makeout terminated. ### MPW Shell - Execution of mmake terminated.