A follow-up to my article of a day ago(?)

Oleg Kiselev oleg at birtch.UUCP
Wed Jan 8 07:42:21 AEST 1986


OK. Here  is what a few hours of hacking and talking to Uniq had uncovered.
(Uniq  Digital Technologies are the once that ported Unify to Pyramid 90x)

Someone (????) has compiled Unify's libtermcap.a library in 4.2 BSD universe
(hmm..... It LOOKS like it was just TAKEN from the 4.2 universe as IS).
libtermcap.a is included in the loading of ENTER. However, Uniq has ported
and COMPILED Unify in the att universe - so ther libraries contain multiple 
references to SysV libc.a, and libtermcap.a contains references to 4.2's libc.a.
You see the problem ;-)?

SysV uses a table called _ctype[] for ctype.h macroes. 4.2 BSD uses _ctype_[].
Not knowing the extend of the possible library mutilations I called Uniq.
And here is what they suggested ( and it woked).

Well, the easiest thing to do (as it happens) is to extarct ctype_.o file from
4.2 BSD libc.a and add it to the Unify's libtermcap.a. That way, although it is
a bit cludgy and inelegant, prevents ld from grabbing ctype_.o from SysV libc.a

Well, there it is!
-- 
Disclamer: I don't work here anymore - so they are not responsible for me.
+-------------------------------+ Don't bother, I'll find the door!
|   STAY ALERT! TRUST NO ONE!   |                       Oleg Kiselev. 
|     KEEP YOUR LASER HANDY!    |...!{trwrb|scgvaxd}!felix!birtch!oleg
--------------------------------+...!{ihnp4|randvax}!ucla-cs!uclapic!oac6!oleg



More information about the Comp.unix.wizards mailing list