Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* 4.0 and 3.2 binary incompatibility?
@ 1997-03-18  5:00 Jonathan Epstein
  1997-03-18  5:00 ` Bill Deegan
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Epstein @ 1997-03-18  5:00 UTC (permalink / raw)




Our OSF/1 system was recently upgraded from version 3.2 to version 4.0.
Now some of our users on 3.2 systems are complaining that they receive
the following runtime errors when they attempt to run an application
which we have compiled and linked under 4.0.

  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _OtsRemainder32
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _OtsDivide32
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _OtsDivide64
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _OtsRemainder64Unsigned
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _Pgetlogin_r
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _Pgetpwnam_r
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _Pgetpwuid_r
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _Plocaltime_r
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _OtsMove
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _OtsRemainder64
  6739:sequin: /sbin/loader: Error: unresolvable symbol in sequin: _OtsDivide64Unsigned
  6739:sequin: /sbin/loader: Fatal Error: this executable has unresolvable symbols


I tried adding the -non_shared flag to my link, but encounter the following
errors when I do so.

/usr/lib/cmplrs/cc/ld -o sequin.static -L/usr/home/coremake/ncbi/lib -g0 -O1 -non_shared /usr/lib/cmplrs/cc/crt0.o sequin1.o sequin2.o sequin3.o sequin4.o sequinx.o -lncbitool -lncbidesk -lncbitool -lncbispel -lncbitxc1 -lvibnet -lncbibls2 -lncbimla -lncbiNacc -lnetentr -lnetcliS -lncbiacc -lvibrant -lncbicdr -lncbiobj -lncbi -lXm -lXmu -lXt -lX11 -lXext -lXm -lXmu -lXt -lX11 -lXext -lm -lc 
ld:
Error: Undefined:
IceProcessMessages
IceConnectionNumber
SmcOpenConnection
SmcCloseConnection
SmcModifyCallbacks
SmcSetProperties
SmcDeleteProperties
SmcInteractRequest
SmcInteractDone
SmcRequestSaveYourselfPhase2
SmcSaveYourselfDone
SmcClientID
SmcGetIceConnection
dnet_conn

I have confirmed that these symbols are not mine, but I have thus far
been unable to locate them in the system libraries.

In principle, is it possible to run applications compiled under version
4.0 when running on a 3.2 system?  If so, how?

Thanks in advance,


Jonathan Epstein                                epstein@ncbi.nlm.nih.gov
National Center for Biotechnology Information   Phone: (301)496-2477 x254
National Library of Medicine                    Building 38A, Room 8N805
National Institutes of Health                   8600 Rockville Pike
						Bethesda, MD 20894



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 4.0 and 3.2 binary incompatibility?
  1997-03-18  5:00 4.0 and 3.2 binary incompatibility? Jonathan Epstein
@ 1997-03-18  5:00 ` Bill Deegan
  1997-03-19  5:00   ` Jonathan Epstein
  0 siblings, 1 reply; 4+ messages in thread
From: Bill Deegan @ 1997-03-18  5:00 UTC (permalink / raw)



......
> dnet_conn
> 
> I have confirmed that these symbols are not mine, but I have thus far
> been unable to locate them in the system libraries.
> 
> In principle, is it possible to run applications compiled under version
> 4.0 when running on a 3.2 system?  If so, how?

add -lSM -lICE -ldnet_stub to your link line and 
you should be okay!


   William P. Deegan	
   Analysis & Verification tools - dept. 7141                   +-----+
   Third Party Interface & CAD - dept. 7221                     +-----+
   Layout - dept. 7142                                          +-----+
   LSI Logic Corporation      phone    : (408) 433-7986      LSI|LOGIC|
   1501 McCarthy Blvd.        FAX      : (408) 433-4156         |     |
   M/S E-192                  email    : deegan                 +-----+
   Milpitas, Ca.  95035       internet : deegan@lsil.com

-------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 4.0 and 3.2 binary incompatibility?
  1997-03-18  5:00 ` Bill Deegan
@ 1997-03-19  5:00   ` Jonathan Epstein
  1997-03-19  5:00     ` Craig Neth USG
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Epstein @ 1997-03-19  5:00 UTC (permalink / raw)



Many thanks, I got a clean link, and have asked the 3.2 user to try it ...
hopefully this will work.

- Jonathan


Bill Deegan (deegan@lsil.com) wrote:
> ......
> > dnet_conn
> > 
> > I have confirmed that these symbols are not mine, but I have thus far
> > been unable to locate them in the system libraries.
> > 
> > In principle, is it possible to run applications compiled under version
> > 4.0 when running on a 3.2 system?  If so, how?

> add -lSM -lICE -ldnet_stub to your link line and 
> you should be okay!


>    William P. Deegan	
>    Analysis & Verification tools - dept. 7141                   +-----+
>    Third Party Interface & CAD - dept. 7221                     +-----+
>    Layout - dept. 7142                                          +-----+
>    LSI Logic Corporation      phone    : (408) 433-7986      LSI|LOGIC|
>    1501 McCarthy Blvd.        FAX      : (408) 433-4156         |     |
>    M/S E-192                  email    : deegan                 +-----+
>    Milpitas, Ca.  95035       internet : deegan@lsil.com

> -------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 4.0 and 3.2 binary incompatibility?
  1997-03-19  5:00   ` Jonathan Epstein
@ 1997-03-19  5:00     ` Craig Neth USG
  0 siblings, 0 replies; 4+ messages in thread
From: Craig Neth USG @ 1997-03-19  5:00 UTC (permalink / raw)
  To: Jonathan Epstein


Jonathan Epstein wrote:
> 
> Many thanks, I got a clean link, and have asked the 3.2 user to try it ...
> hopefully this will work.
> 
> - Jonathan
> 
> Bill Deegan (deegan@lsil.com) wrote:
> > ......
> > > dnet_conn
> > >
> > > I have confirmed that these symbols are not mine, but I have thus far
> > > been unable to locate them in the system libraries.
> > >
> > > In principle, is it possible to run applications compiled under version
> > > 4.0 when running on a 3.2 system?  If so, how?

You may get it to work, but it isn't supported.  Going the other way
(i.e. link on V3.2 and run on V4.0 or greater) _IS_ supported.

I know of at least one case where linking something -non_shared on V4.0
will 
NOT run on V3.2, no matter what you do.    In V4.0 the pathconf()
function
was changed from a libc routine to a system call.   If your application 
(or any library you link against) uses pathconf() then you'll get an 
'illegal system call' error when you try to run that application on
V3.2.


-- 
--------------------------------------------------------------------------------
Craig Neth                         ! neth@zk3.dec.com
DIGITAL Equipment Corporation      ! 
110 Spit Brook Road ZKO3-3/W17     !
Nashua, NH 03062                   ! Opinions expressed herein are my
own.
================================================================================



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-03-19  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-18  5:00 4.0 and 3.2 binary incompatibility? Jonathan Epstein
1997-03-18  5:00 ` Bill Deegan
1997-03-19  5:00   ` Jonathan Epstein
1997-03-19  5:00     ` Craig Neth USG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox