3b1 shared library problems

Lenny Tropiano lenny at icus.UUCP
Sun Apr 17 10:20:19 AEST 1988


In article <103 at dms3b1.UUCP> dave at dms3b1.UUCP (Dave Hanna) writes:
|>
|>I have a problem that turned up when I tried to remake the news 
|>software for my 3b1.  The problem is that, when linking the shared libraries,
|>the symbol "daylight", which, according to the manual  CTIME(3C) is
|>an external int defined in  ctime, is not defined in the shared 
|>library ifile. The following simple file demonstrates the problem:
|>
|>
...
|>
|>Questions:  1) I suspect "daylight" is not the only symbol that has
|>this difficulty.  Does anyone know of others?
|>	2) Does anyone know a way around this other than not using
|>shared libraries?

Well here's an old article that I saved that referred to the missing
"daylight" variable from ctime(3C) in /lib/shlib.ifile.

|Article 1722 of comp.sys.att:
|Path: icus!mtune!rutgers!uwvax!oddjob!hao!ames!ptsfa!maxepr!ken
|>From: ken at maxepr.UUCP (Ken Brassler)
|Newsgroups: comp.sys.att,comp.unix.questions,news.software.b
|Subject: Re: news on a 3B1
|Message-ID: <493 at maxepr.UUCP>
|Date: 18 Feb 88 23:55:50 GMT
|References: <576 at eplrx7.UUCP>
|Reply-To: ken at maxepr.UUCP (Ken Brassler)
|Organization: Brassler Engineering Co., Mill Valley, CA
|Lines: 29
|Xref: icus comp.sys.att:1722 comp.unix.questions:2436 news.software.b:51
|
|In article <576 at eplrx7.UUCP> lad at eplrx7.UUCP (Lawrence A. Dziegielewski) 
|writes:
|>I am trying to install Bnews 2.11 on my ATT 3B1.
|>....  However,  when the makefile tried to link
|>up readnews,  the file ftime.o was flagged as having and unreferenced
|>variable,  namely 'daylight'.   
|>
|>Has anyone ever run up against this before?  
|
|Yes.
|
|This is the fix that I used, but I can't find the original article
|that suggested it. It seems to work.
|
|Put a copy of the shlib.ifile in the ...news/src directory. Edit
|this local copy and add the line:
|
|daylight = 0x303658
|
|Change the Makefile to reference this local copy of shlib.ifile, and
|re-make.
|
|Obviously, 0x303658 is supposed to be the address where the
|"daylight" variable is stored. I have no first hand knowledge that
|this is true - I just took the first person's word for it. I'm
|running version 3.50 O/S, and my news has been operating with
|this fix for over 2 years.
|-- 
|
|Ken Brassler {ihnp4|qantel|pyramid|lll-crg}!pacbell!maxepr!ken
|
|


-- 
US MAIL  : Lenny Tropiano, ICUS Computer Group        IIIII  CCC U   U  SSS
           PO Box 1                                     I   C    U   U S
	   Islip Terrace, New York  11752               I   C    U   U  SS 
PHONE    : (516) 968-8576 [H] (516) 582-5525 [W]        I   C    U   U    S
TELEX    : 154232428 [ICUS]                           IIIII  CCC  UUU  SSS 
AT&T MAIL: ...attmail!icus!lenny  
UUCP     : ...{mtune, ihnp4, boulder, talcott, sbcs, bc-cis}!icus!lenny 



More information about the Comp.sys.att mailing list