| Date Of Receipt: 16-JUL-1996 16:06:11.86
From: US2RMC::"[email protected]"
To: [email protected]
CC: [email protected], [email protected], [email protected]
Subj: Re: problems with creating PTA BINARY Makefile for new module
Mark-
What rev of the OS are you running on your workstation.
The reason I ask is that it looks like you are missing .so that you need
to run sourceconfig or that the shared libraries on your system are
missing symbols that are required by the 4.0 sourceconfig image.
Brett
> I have a sandbox backed by ptaos.nightly. I am trying to compile in a new
> module into the kernel but I get the following error when trying to create
> a new Makefile:
>
>
> % build BINARY_config
> relative path: ./kernel.
> string passed to /usr/sde/osf1/build/ptaos.nightly/tools/alpha_OSF1/alpha/hos
tbi
> n/make:
> make -cF BINARY_config
> cd ../../obj/alpha/kernel
> cd conf && make -cF CONFIG_FLAGS= BINARY_config
> [ configuring BINARY ]
> 2858:../bin/sourceconfig: /sbin/loader: Error: unresolvable symbol in ../bin/
sou
> rceconfig: _OtsDivide32
> 2858:../bin/sourceconfig: /sbin/loader: Fatal Error: this executable has unre
sol
> vable symbols
> *** Exit 1
> Stop.
> *** Exit 1
>
>
> My files file fragment for the new module is as follows (it is in the ./obj/.
..
> area):
> #
> # envmon: Environmental Monitoring subsystem
> #
> #MODULE/DYMANIC/envmon optional envmon Binary
> MODULE/STATIC/envmon standard Binary
> arch/alpha/hal/envmon.c module envmon
>
> I therefore cannot get build BINARY_envmon.mod to work either.
>
>
> But if I manually hack up ./obj/alpha/kernel/BINARY/Makefile and add all
> the references to envmon.*, I can build/compile the module and build the
> target kernel with problems.
> Any idea why build BINARY_config doesn't work here? I shouldn't have to
> manually edit the Binary Makefile for a new module, should I?
>
> thanks,
> mark
>
>
---------
Brett Sampson [email protected]
Digital Equipment Corporation
USG/Unix Engineering
MS ZK3-3/Y25
Nashua, NH tx: 603/881-2967 (DTN 381-2967)
% Received: from buddha.zk3.dec.com by us2rmc.zko.dec.com (5.65/rmc-22feb94) id AA02004; Tue, 16 Jul 96 15:51:55 -040
from localhost by buddha.zk3.dec.com; (5.65v3.2/1.1.8.2/17Oct94-1034AM) id AA14811; Tue, 16 Jul 1996 15:54:25 -040
% Message-Id: <[email protected]>
% To: [email protected]
% Cc: [email protected], [email protected], [email protected]
% Subject: Re: problems with creating PTA BINARY Makefile for new module
% In-Reply-To: Your message of "Tue, 16 Jul 96 14:53:35 EDT." <[email protected]>
% Reply-To: [email protected]
% Date: Tue, 16 Jul 96 15:54:25 -0400
% From: ""(Earl Brett Sampson, Steel Tech. Leader) <[email protected]>"" <brett>
% X-Mts: smtp
|
| Date Of Receipt: 17-JUL-1996 12:50:32.08
From: FLUME::johnf "John Flanagan USG Test Johnf Tools Group 17-Jul-1996 1250"
To: bozen@DEC:.zko.flume
CC: odehelp@DEC:.zko.flume, johnf@DEC:.zko.flume, brett@DEC:.zko.flume
Subj: Re: problems with creating PTA BINARY Makefile for new module
Mark,
You need to rebuild sourceconfig and then do your build.
i.e.
cd kernel/src/config
build clobber_sourceconfig
build sourceconfig
and then cd ../.. and do your build BINARY_config
sourceconfig is linked shared and uses the host compiler and libraries on your
system, and thus you can't just rely on the sourceconfig in the backingtree.
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
______________________________________________________________________
|