[ofw] opensm.exe failure to build directly from svn checkout

Smith, Stan stan.smith at intel.com
Tue Oct 16 10:18:03 PDT 2007


Hello,
  When a fresh svn checkout is performed on trunk, opensm.exe fails to
build due to the missing file MSG00001.bin; this has been a problem
since at least svn.614. With assistance I've tracked down the problem.
Some time ago trunk\ulp\opensm\user\opensm\osm.rc was committed along
with a reference to it in trunk\ulp\opensm\user\opensm\SOURCES.
The problem is osm.rc and MSG00001.bin are both generated during the
compilation of osm.mc. When osm.rc is present, osm.mc is not compiled
hence MSG00001.bin is never generated - leading to the missing file
error.
If osm.rc is removed from the svn repository and it's reference removed
from SOURCES, then both files (osm.rc & MSG00001.bin) will be
regenerated on the 1st opensm build.

With osm.rc and MSG00001.bin both removed from
trunk\ulp\opensm\user\opensm\ and osm.rc removed from SOURCES,
opensm.exe was successfully generated. The resulting opensm.exe was
tested in the Win2K3 environment and correctly configured a 4 node
subnet.

Index: SOURCES
===================================================================
--- SOURCES	(revision 860)
+++ SOURCES	(working copy)
@@ -18,7 +18,6 @@
 
 SOURCES=\
         osm.mc \
-        osm.rc \
         opensm.rc \
         osm_db_files.c \
         osm_db_pack.c \

Can anyone see why these changes (SOURCES mod & removal of osm.rc)
should not be committed?

Thanks,

Stan.



More information about the ofw mailing list