[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

2043.0. "DO_MODULES= AUTO " by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Thu Jan 11 1996 11:38

Date Of Receipt: 	11-JAN-1996 11:13:28.72
From: 	SMURF::WASTED::gillum "Kirt Gillum USG"
To: 	[email protected]
CC: 	
Subj: 	DO_MODULES="AUTO"

Hi, I've been having trouble building a kernel for a couple of days, and 
found that having this environment prevents me from performing;

	build SABLE

If I delete the environment variable, the kernel builds.

However, I redefine the variable to build my driver.  

Am I doing something wrong, or is something broken?

----
Kirt Gillum
LAN Driver Development
Digital UNIX (USG)


T.RTitleUserPersonal
Name
DateLines
2043.1Re: DO_MODULES= AUTO AOSG::FILTERAutomatic Posting Software - mail to flume::puckThu Jan 11 1996 11:4338
Date Of Receipt: 	11-JAN-1996 11:18:28.89
From: 	SMURF::FLUME::johnf "John Flanagan USG Test Johnf Tools Group  11-Jan-1996 1116"
To: 	Kirt Gillum USG <[email protected]>
CC: 	[email protected], johnf@DEC:.zko.flume
Subj: 	Re: DO_MODULES="AUTO"

When you have DO_MODULES="AUTO" set, it will try to rebuild the entire.mod
before all of the .o's are built.  Andrew Duane calls it a "feature". I call
it a bug.

For example, let's say that you have the following .mod rule:

john.mod   needs  j.o o.o h.o and n.o

With DO_MODULES set to AUTO, when you type build, as soon as
j.o is built, it will try to link all of the .o's that make up john.mod,
before it has built the others.   Yuch. 


DO_MODULES="AUTO" should only be used when you are rebuilding a single .o
and want the associated .mod to be rebuilt.


John


 ______________________________________________________________________

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