| 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 | 
Date Of Receipt: 	23-JUL-1993 09:19:48.59
From: 	KRISIS::hantman "Paul C. Hantman UEG Test Tools"
To: 	krisis::odehelp
CC: 	[email protected]
Subj: 	Bug in /usr/sde/ode2.0/lib/mk/ode.std.mk
Hi,
When the file /usr/sde/ode2.0/lib/mk/ode.std.mk is included into my Makefile
and I attempt to perform a "build all", I receive the following message:
relative path: ./decsuite/tk.
"/usr/sde/ode2.0/lib/mk/ode.std.mk", line 812: Malformed conditional ((${target_
os_type} == "ace") && (${USE_SHARED_LIBRARIES} == "0"))
Fatal errors encountered -- cannot continue
The offending line is:
   # maintain default use of static libraries in MIPS/OSF1 systems
   .if ! defined(USE_SHARED_LIBRARIES)
   _USE_SHARED_LIBRARIES_FLAGS_=
>>>.elif (${target_os_type} == "ace") && (${USE_SHARED_LIBRARIES} == "0")
   _USE_SHARED_LIBRARIES_FLAGS_=-non_shared
   .else
   _USE_SHARED_LIBRARIES_FLAGS_=
   .endif
The code looks good to me, have I found a bug or am I seeing another problem.
-Paul
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 231.1 | RE: Bug in /usr/sde/ode2.0/lib/mk/ode.std.mk | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Tue Jul 27 1993 08:56 | 19 | 
| Date Of Receipt: 23-JUL-1993 13:06:03.45 From: ABYSS::decwet::peterson To: KRISIS::hantman CC: rust::ode, abyss::odehelp, abyss::buildhelp Subj: RE: Bug in /usr/sde/ode2.0/lib/mk/ode.std.mk This is more appropriately sent to decwet: :ode or make a ptt entry against ode because ode.std.mk is not used in the OSF1 build environment. check that sbinfo USE_SHARED_LIBRARIES returns a value. If it doesn't, that is the cause of your problem. You can set USE_SHARED_LIBRARIES in either in your src/makeconf file USE_SHARED_LIBRARIES = 1 (or 0) or in the shared rc files of all your backing trees. setenv USE_SHARED_LIBRARIES 1 (or 0) --Kim | |||||