[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

2351.0. "libtask.so Cannot open file -O2 for reading problem" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Thu Jun 20 1996 17:19

Date Of Receipt: 	20-JUN-1996 15:29:47.66
From: 	WASTED::"[email protected]"
To: 	wasted::odehelp
CC: 	SEIGEL@DEC:.zko.wasted
Subj: 	libtask.so "Cannot open file -O2 for reading" problem

Hi,

I'm running into the following "Cannot open file -O2 for reading" problem when
trying to build libtask.so in a pta sandbox on quarry.  Any idea why ?  ld
normally accepts -O2 -O2 without any problems.

I was able to build libtask.so in a v40supportos sandbox without any problems.
I don't think the makefile has changed.

Thanks, Harold


quarry.zk3.dec.com> cd usr/shlib/libtask
quarry.zk3.dec.com> ls
Makefile  alpha
quarry.zk3.dec.com> build libtask.so
relative path: ./usr/shlib/libtask.
string passed to /usr/sde/osf1/build/ptaos/tools/alpha_OSF1/alpha/hostbin/make:
   make -cF libtask.so
cd ../../../../obj/alpha/usr/shlib/libtask
/usr/sde/osf1/build/ptaos/tools/alpha_OSF1/alpha/acc/ld -shared -msym -set_versi
on osf.1 -soname libtask.so -check_registry `genloc /obj/alpha/usr/shlib/alpha/s
o_locations`  -O2 -O2  -x   `genpath   ` -L/home/seigel/sb/pta_sb/export/alpha/u
sr/shlib -L/usr/sde/osf1/build/ptaos/export/alpha/usr/shlib  -L/home/seigel/sb/p
ta_sb/export/alpha/usr/ccs/lib -L/usr/sde/osf1/build/ptaos/export/alpha/usr/ccs/
lib -L/usr/sde/osf1/build/ptaos/export/alpha/usr/ccs/lib/cmplrs/cc -o libtask.so
.X -set_version "":V4.0.1 -all libtask.a  -none  -lcxx -lm -lcmalib -lpthreads -
lpthread -lmach -lexc -lc
/usr/sde/osf1/build/ptaos/tools/alpha_OSF1/alpha/acc/ld:
Cannot open file -O2 for reading
*** Exit 1
Stop.

T.RTitleUserPersonal
Name
DateLines