lorder bug (doesn't see global ints).

Adam Quantrill adam at gec-mi-at.co.uk
Thu Aug 21 00:06:55 AEST 1986


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?



More information about the Net.bugs mailing list