Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!ukc!hrc63!miduet!adam From: adam@gec-mi-at.co.uk (Adam Quantrill) Newsgroups: net.bugs Subject: lorder bug (doesn't see global ints). Message-ID: <188@miduet.gec-mi-at.co.uk> Date: Wed, 20-Aug-86 10:06:55 EDT Article-I.D.: miduet.188 Posted: Wed Aug 20 10:06:55 1986 Date-Received: Thu, 21-Aug-86 04:12:32 EDT Organization: Marconi Instruments Ltd., St. Albans, Herts, UK Lines: 24 Keywords: lorder sysV bug Apologies if someone has fixed this before, but here goes... I've got the onerous task of porting some of our crashware from its nice, safe home on 4.2BSD to horrible sysV (flame flame!! 8^). Anyway, while creating the libraries, I noticed something was awry (mainly 'cos the damn thing wouldn't compile!) and I narrowed the problem down to the fact that lorder doesn't spot global ints when making its dependency decisions. This is because nm flags these symbols as 'C'. Here's the fix: --------8><-------cut-here----------8><-------------- 19c /[TDC] /{ . w q --------8><-------cut-here----------8><-------------- Run it via ed on the lorder shell script. If you use bss symbols (whatever they are) you may wish to add a 'B' after the 'C' above. I've even put in the w q for the lazy amongst us! P.S. - Does this make me a wizard?