[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

2324.0. "Re: crt0.o solved [genloc bug should be fixed in pta]" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Tue Jun 04 1996 23:15

Date Of Receipt: 	 4-JUN-1996 18:14:25.93
From: 	FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	myrdal@DEC:.zko.flume
CC: 	brett buildhelp jmf johnf mkm mwarren snow williams
Subj: 	Re:  crt0.o solved [genloc bug should be fixed in pta]

Greg, you've stumbled across a genloc bug.  Genloc is a ksh script, and
it should invoke ksh with the -p switch so as to ignore the user's
environment.

Actually, genloc should be able to be replaced with "genpath -locate",
if we were to replace our genpath with ODE's genpath.  This should be
investigated.

This should be QAR'd and fixed in ptaos. Comments anyone?

-josh

---------
To: jmf, mkm, williams
Cc: bstevens
Subject: crt0.o solved
Date: Tue, 04 Jun 96 17:27:03 -0400
From: ""Gregory P. Myrdal"" <myrdal>
X-Mts: smtp
Status: R

Thanks to Brian my build problems have been fixed (said with a red face :-).
I had some debug echo's in my .kshrc and they conficted in the ode 
environment.  When genloc tried to find crt0.o it took the location
result from my .kshrc echo (which said "in kshrc").  It grabbed the
"in" and tacked crt0.o onto it.  Very interesting :-)

yrdal@fwasted> build asemgr
relative path: ./usr/sbin/ase/asemgr.
string passed to 
/usr/sde/osf1/build/tcr2os.nightly/tools/alpha_OSF1/alpha/hostbin/make:
   make -cF asemgr 
cd ../../../../../obj/alpha/usr/sbin/ase/asemgr
/usr/sde/osf1/build/tcr2os.nightly/tools/alpha_OSF1/alpha/acc/cc   -std0 -EL  
-non_shared -tr -h`genloc -d /export/alpha/usr/lib/cmplrs/cc/crt0.o` -B -O2  -O 
-non_shared   `genpath   `   
-L/home/myrdal/sandbox/tcr2os/export/alpha/usr/ccs/lib 
-L/usr/sde/osf1/build/tcr2os.nightly/export/alpha/usr/ccs/lib -o asemgr.X 
asemgr.o  db_ctrl.o  db_edit.o  db_help.o  db_menu.o  db_mgr_io.o  db_search.o  
db_verify.o  db_util.o  -lasecdb -ldirectorCntl -laseUtil -lmsgSvc -lasecdb  
-lrt -lcfg -lcnx -llmf  
ld:
Can't open: in/crt0.o (No such file or directory)

-- Greg

  __________________________________________________________________________
  Gregory P. Myrdal                 Internet: myrdal@zk3.dec.com
  MS ZKO3-3/U14                     WWW:      http://www.zk3.dec.com/~myrdal
  Digital Equipment Corp.           DECnet:   WASTED::MYRDAL
  110 Spit Brook Road               Voice:    1-603-881-0304 (DTN 381-0304)
  Nashua, New Hampshire 03062-2698  FAX:      1-603-881-2257
  __________________________________________________________________________



T.RTitleUserPersonal
Name
DateLines