日期:2014-05-16  浏览次数:20968 次

ORACLE 编译$ make -f env_precomp.mk报错
系统AIX
用户名:pcrmdb
在makefile里面第一句话include $(ORACLE_HOME)/precomp/lib/env_precomp.mk
要预编译env_precomp.mk报错。现在直接转到oracle编译也报错。求助。

$ make -f env_precomp.mk
make: 1254-053 Command "$(SILENT)$(ADE_DEL_FILE)" expands to empty string.

  /usr/ccs/bin/nm -X64 -B -h -g /oracle/OraHome_1/precomp/lib/libstshrobj_
%.a > /oracle/OraHome_1/precomp/lib/libshrobj_%.
nm: /oracle/OraHome_1/precomp/lib/libstshrobj_%.a: 0654-200 Cannot open the spec
ified file.
nm: A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.


Stop.
$ pwd
/oracle/OraHome_1/precomp/lib


附env_precomp.mk部分代码、
shrobj_%:

  $(SILENT)$(ADE_DEL_FILE)
  $(NM) $(NMFLAGS) $(SHRAR_DEST_DIR)$(LIB_PREFIX)$(STATIC_PREFIX)$*.$(LIB_
EXT) > $(SHRAR_DEST_DIR)$(LIB_PREFIX)$*.$(NM_EXT)
  $(DEF_SHRAR_COMMAND)
  $(IMP_SHRAR_COMMAND)
  $(LD_SHRAR_LIB_COMMAND)
  $(RMF) $(SHRAR_DEST_DIR)$(LIB_PREFIX)$*.$(NM_EXT)

shrar_%: shrobj_%
  $(ARCREATE) $(SHR_AR_NAME) $(SHROBJ_NAME)
  $(RMF) $(SHROBJ_NAME)
  $(SYM_COMMAND)

shr_so_%: shrobj_%


------解决方案--------------------
探讨
make: 1254-053 Command "$(SILENT)$(ADE_DEL_FILE)" expands to empty string

------解决方案--------------------
楼主把mk文件的贴多一点,全是环境变量,怎么查呢?
同时把env看到的结果也贴过来
------解决方案--------------------
帮顶一下!