hsgj@batcomputer.tn.cornell.edu (Dan Green) (01/24/87)
In article <2107@batcomputer.tn.cornell.edu> I write: >Argh! I just got bagged by the same error. Does anyone know of a patch >to interp.c to get around this? Thanks for any help. >(I also have Lattice v3.03, Workbench v1.2g, and got the CXERR: 25 when > compiling "interp.c"). Well after working on vc for a bit: I got rid of the register declarations, and the errors went bye bye. The strange thing, though, is that every module of vc #include's "sc.h". In sc.h about 32K worth of variables are defined and declared (mainly tbl and some other stuff). I don't know if this happened to Manxer's but lattice was re-declaring every one of these supposedly global vars for each module. When it got time to link, the linker reported multiply defined names, obviously. I did what I could, namely changed all the sc.h vars to externs and made a globals.c which contained the actual declarations. Compiling worked, but vc didn't. I am open to suggestions. minor BLINK annoyances: (referring to v5.7; these may have already been rectified) 1) When you get a multiply defined symbol, BLINK tells you which module the symbol was FIRST defined in. I would also be interested in knowing which modules the symbol was SUBSEQUENTLY defined in. 2) BLINK aborts after the first error. It would be nice if it would continue working so that you could collect all the error messages at once, and then fix them all at one time. -- Dan Green -- ARPA: hsgj%vax2.ccs.cornell.edu@cu-arpa.cs.cornell.edu UUCP: ihnp4!cornell!batcomputer!hsgj BITNET: hsgj@cornella