[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

231.0. "Bug in /usr/sde/ode2.0/lib/mk/ode.std.mk" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Tue Jul 27 1993 09:43

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.RTitleUserPersonal
Name
DateLines
231.1RE: Bug in /usr/sde/ode2.0/lib/mk/ode.std.mkSMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Jul 27 1993 09:5619
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