[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

2418.0. "problem building shared libs..." by aosg::FILTER (Automatic Posting Software - mail to flume::puck) Tue Jul 16 1996 15:54

Date Of Receipt: 	16-JUL-1996 14:51:22.84
From: 	FLUME::"[email protected]" "16-Jul-1996 1150"
To: 	[email protected]
CC: 	[email protected]
Subj: 	problem building shared libs...

Hi,

  We are having problems building shared libraries here in zso.
In my steelos.nightly backed sandbox I say:
% build export_libcmalib.so

and get:

relative path: ./usr/shlib/libcmalib.
string passed to /usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/hostbin/make:
   make -cF export_libcmalib.so 
cd ../../../../obj/alpha/usr/shlib/libcmalib
/usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/acc/ld -shared -msym -set_version osf.1 
-soname libcmalib.so -check_registry `genloc /obj/alpha/usr/shlib/alpha/so_locations`  -O2 -O2     
`genpath   ` -L/usr/users/arti/artisb/steelnite/export/alpha/usr/shlib 
-L/usr/sde/osf1/build/steelos.nightly/export/alpha/usr/shlib  
-L/usr/users/arti/artisb/steelnite/export/alpha/usr/ccs/lib 
-L/usr/users/arti/artisb/steelnite/export/alpha/usr/ccs/lib/cmplrs/cc 
-L/usr/sde/osf1/build/steelos.nightly/export/alpha/usr/ccs/lib 
-L/usr/sde/osf1/build/steelos.nightly/export/alpha/usr/ccs/lib/cmplrs/cc 
-o libcmalib.so.X cmalib_assert.o  cmalib_aq_credel.o  cmalib_attr.o  cmalib_crtlx.o  cmalib_init.o  cmalib_queue.o  cmalib_seq.o  cmalib_aq_op.o    
-lpthreads -lpthread -lmach -lexc -lc  
/usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/acc/ld:
Cannot open file -O2 for reading
*** Exit 1
Stop.

Help?

thanks,
arti

T.RTitleUserPersonal
Name
DateLines
2418.1Re: problem building shared libs...AOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Jul 16 1996 16:5625
Date Of Receipt: 	16-JUL-1996 15:09:38.99
From: 	FLUME::johnf "John Flanagan USG Test Johnf Tools Group  16-Jul-1996 1508"
To: 	[email protected]
CC: 	[email protected]
Subj: 	Re: problem building shared libs...

I've seen this happen when so_locations was not available in the sandbox.  
Check to see that you can get a valid so_locations file.  

John
-- 


 ______________________________________________________________________

 John Flanagan	 		enet:    [email protected]	
 MS: ZKO3-3/W20			decnet:  flume::johnf
 USG Release Management			 (603) 881-1719
 110 Spitbrook Road 			 (DTN) 381-1719
 Nashua, NH  
 ______________________________________________________________________




2418.2Re: problem building shared libs...AOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Jul 16 1996 18:0115
Date Of Receipt: 	16-JUL-1996 16:00:17.38
From: 	FLUME::"[email protected]" "16-Jul-1996 1259"
To: 	John Flanagan - UNIX Systems Group <[email protected]>
CC: 	[email protected], [email protected]
Subj: 	Re: problem building shared libs...

John,
  I can check out the so_locations file from the backing
tree, but I am still seeing the problem with building
shared libs.

  Help anyone?

arti

2418.3Re: problem building shared libs...AOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Jul 16 1996 18:0330
Date Of Receipt: 	16-JUL-1996 16:09:27.32
From: 	FLUME::"[email protected]" "16-Jul-1996 1608"
To: 	[email protected]
CC: 	John Flanagan - UNIX Systems Group <[email protected]>,
	[email protected]
Subj: 	Re: problem building shared libs...

I'm pretty sure it's the so_locations in the OBJ tree, not the src tree. Since 
remote sites don't typically sup the obj collection, they don't get this. If 
you can login here you can copy it, else you'll need to build it locally and 
then stuff it into your copy of the backingtree.


		-Grant

| John,
|   I can check out the so_locations file from the backing
| tree, but I am still seeing the problem with building
| shared libs.
| 
|   Help anyone?
| 
| arti

-- 

				-Grant



2418.4Re: problem building shared libs...AOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Jul 16 1996 18:0314
Date Of Receipt: 	16-JUL-1996 16:18:15.49
From: 	HUNCH::"[email protected]" "16-Jul-1996 1317"
To: 	"Grant Van Dyck" <[email protected]>
CC: 	[email protected],
	John Flanagan - UNIX Systems Group    <[email protected]>,
	[email protected]
Subj: 	Re: problem building shared libs...

Yep, that was it. I got the so_locations from the obj tree
and now am building fine.

thanks very much,
arti