[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

1915.0. "ptlite kernel build help needed" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Sun Oct 29 1995 23:45

Date Of Receipt: 	29-OCT-1995 20:12:34.11
From: 	SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE  29-Oct-1995 2007"
To: 	buildhelp@DEC:.zko.flume
CC: 	"Santa Wiryaman" <wiryaman@hpc.pko.dec.com>
Subj: 	ptlite kernel build help needed

Can anyone be of assistance here?

Please send questions of this nature to buildhelp in the future; thanks.

-josh

------- Forwarded Message

Date: Fri, 27 Oct 1995 18:26:48 -0400
From: Santa Wiryaman <wiryaman@hpc.pko.dec.com>
Message-Id: <9510272226.AA05073@stnick.hpc.pko.dec.com>
To: jmf@zk3.dec.com
Subject: build failure from ptliteos tree, can you help?

Hi,

I am trying to build the kernel directory (ptliteos.bl6), and got the following
error when building src/kernel/src/config/config:

% cd kernel/src/config
% build
relative path: ./kernel/src/config.
string passed to /usr/sde/osf1/build/ptliteos.bl6/tools/alpha_OSF1/alpha/hostbin/make:
   make -cF build_all 
cd ../../../../obj/alpha/kernel/src/config
env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /usr/bin/cc   -EL  -non_shared  -O2  -
non_shared -tr -h/usr/lib/cmplrs/cc -B    `genpath  -L/usr/lib -L/lib ` -L/usr/l
ib -L/lib -o config.X y.tab.o lex.yy.o main.o mkioconf.o mkmakefile.o  mkglue.o 
mkheaders.o mkswapconf.o mklocalconf.o  AFclose.o AFgetatr.o AFgetent.o AFgetval
.o       AFnxtatr.o AFnxtent.o AFnxtval.o AFopen.o        AFread.o AFrewind.o AF
setdflt.o  -lln  
ld:
Object file format error in: /usr/lib/libln.a(yywrap.o): more than one .text section in the file
*** Exit 1
Stop.

The build is done on a ptliteos system, and I believe this is what causing it.
When done on a goldminos system, it ran fine.  

I believe the problem is because it ran /usr/bin/cc instead of cc from the
tools directory.  This rule can be found in usr/lib/makefiles/standard.mk.

Have you encountered this problem and have the solution for it?

Thanks,
- -santa



------- End of Forwarded Message


T.RTitleUserPersonal
Name
DateLines