OpenSolaris

You are not signed in. Sign in or register.

Heads up: incremental builds

Date: Mon, 27 Aug 2007 11:30:51 -0700
From: Rod Evans <Rod.Evans at sun dot com>
To: on-all at sun dot com, onnv-gate at onnv dot eng dot sun dot com
Subject: Heads up: incremental builds


My putback of:

  PSARC/2007/474 new ldd(1) -w option
  6595139 various applications should export yy* global variables for libl

requires a heads-up for incremental builds.

A header change is not triggering the necessary rebuild of a relocatable
object under usr/src/cmd/agents/snmp/snmprelayd, which can result is
a failure:

  /opt/SUNWspro/SS11/bin/cc -o snmpdx
  ...
  bin-i386/config.o -L../agent/i386 -lssagent -L../snmplib -lssasnmp ....
  Undefined                 first referenced
  symbol                      in file
  yyextra                   usr/src/common/mapfiles/common/map.lex.yy
  ld: fatal: Symbol referencing errors. No output written to snmpdx


Either remove

   usr/src/cmd/agents/snmp/snmprelayd/bin-i386/config.o

or

  (cd usr/src/cmd/agents/snmp/snmprelayd; make clobber)


Sorry for the inconvenience.

-- 

Rod.