|
楼主 |
发表于 2003-5-10 02:59:55
|
显示全部楼层
我在make.log里找到这些信息。
if [ linux = aix ]; then \
gcc -L/usr/oracle/lib/ -L/usr/oracle/rdbms/lib -L/usr/oracle/network/lib -L/usr/oracle/lib/ -L/usr/oracle/rdbms/lib
-L/usr/oracle/network/lib -o dbsnmp /usr/oracle/network/lib/s0nmi.o -lvppdc /usr/oracle/network/lib/libvps.a \
/usr/oracle/network/lib/libnmi.a \
/usr/oracle/network/lib/libnmd.a /usr/oracle/network/lib/libnms.a /usr/oracle/network/lib/libnmt.a /usr/oracle/network/lib/libnml.a \
/usr/oracle/network/lib/libnmi.a /usr/oracle/network/lib/libnmsp.a /usr/oracle/network/lib/libpeer.a /usr/oracle/network/lib/libtcl.a \
-lclntsh /usr/oracle/rdbms/lib/defopt.o -lclient9 \
-ltrace9 -lclntsh `cat /usr/oracle/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /usr/oracle/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm
-lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /usr/oracle/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /usr/oracle/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9
-lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /usr/oracle/lib/sysliblist` -Wl,-rpath,/usr/oracle/lib:/lib:/usr/lib -lm `cat /usr/oracle/lib/sysliblist` -ldl -lm -lcrypt -lm; \
else \
gcc -L/usr/oracle/lib/ -L/usr/oracle/rdbms/lib -L/usr/oracle/network/lib -L/usr/oracle/lib/ -L/usr/oracle/rdbms/lib
-L/usr/oracle/network/lib -o dbsnmp /usr/oracle/network/lib/s0nmi.o -lvppdc /usr/oracle/network/lib/libvps.a \
/usr/oracle/network/lib/libnmi.a \
/usr/oracle/network/lib/libnmd.a /usr/oracle/network/lib/libnms.a /usr/oracle/network/lib/libnmt.a /usr/oracle/network/lib/libnml.a \
/usr/oracle/network/lib/libnmi.a /usr/oracle/network/lib/libnmsp.a /usr/oracle/network/lib/libpeer.a /usr/oracle/network/lib/libtcl.a \
-lclntsh /usr/oracle/rdbms/lib/defopt.o -lclient9 \
-ltrace9 -lclntsh `cat /usr/oracle/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /usr/oracle/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm
-lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /usr/oracle/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /usr/oracle/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9
-lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /usr/oracle/lib/sysliblist` -Wl,-rpath,/usr/oracle/lib:/lib:/usr/lib -lm `cat /usr/oracle/lib/sysliblist` -ldl -lm -lcrypt -lm; \
fi
/usr/oracle/network/lib/libnmi.a(snmite.o): In function `snmitetn_tempName':
snmite.o(.text+0x15db): the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/oracle/network/lib/libnmi.a(nmijs.o): In function `nmijsgn_GetNextTime':
nmijs.o(.text+0x3552): undefined reference to `__ctype_b'
nmijs.o(.text+0x3565): undefined reference to `__ctype_toupper'
/usr/oracle/network/lib/libnmi.a(nmijs.o): In function `nmijsupper':
nmijs.o(.text+0x4e9a): undefined reference to `__ctype_b'
nmijs.o(.text+0x4ead): undefined reference to `__ctype_toupper'
/usr/oracle/network/lib/libnmi.a(snmifork.o): In function `snmifon2p_NameToPathname':
snmifork.o(.text+0x152): undefined reference to `__ctype_b'
/usr/oracle/network/lib/libnmi.a(nmis.o): In function `nmissf_StreamFileIO':
nmis.o(.text+0x132): undefined reference to `__ctype_toupper'
nmis.o(.text+0x212): undefined reference to `__ctype_toupper'
/usr/oracle/network/lib/libnmi.a(snmitcl.o): In function `get_ora_ctx_handle':
snmitcl.o(.text+0x10e): undefined reference to `__ctype_b'
/usr/oracle/network/lib/libnmi.a(snmitcl.o): In function `get_ora_stmt_handle':
snmitcl.o(.text+0x1f3): undefined reference to `__ctype_b'
/usr/oracle/network/lib/libnmi.a(snmitcl.o): In function `OraProcess_Oid':
snmitcl.o(.text+0xe90): undefined reference to `__ctype_b'
snmitcl.o(.text+0xfe8): undefined reference to `__ctype_b'
snmitcl.o(.text+0x1075): undefined reference to `__ctype_b'
/usr/oracle/network/lib/libnmi.a(snmitcl.o)(.text+0x1418): more undefined references to `__ctype_b' follow
/usr/oracle/network/lib/libnmi.a(snmitcl.o): In function `Oratcl_Startup':
snmitcl.o(.text+0x8475): undefined reference to `__ctype_toupper'
snmitcl.o(.text+0x8599): undefined reference to `__ctype_toupper'
/usr/oracle/network/lib/libnmi.a(snmitcl.o): In function `Oratcl_Shutdown':
snmitcl.o(.text+0x8ee2): undefined reference to `__ctype_toupper'
snmitcl.o(.text+0x9042): undefined reference to `__ctype_toupper'
/usr/oracle/network/lib/libnmi.a(snmitcl.o): In function `Oratcl_Snmp':
snmitcl.o(.text+0x96e5): undefined reference to `__ctype_toupper'
/usr/oracle/network/lib/libnmi.a(snmitcl.o)(.text+0xbdf3): more undefined references to `__ctype_toupper' follow
/usr/oracle/network/lib/libnmi.a(snmitcln.o): In function `get_msg_id':
snmitcln.o(.text+0xba): undefined reference to `__ctype_b'
/usr/oracle/network/lib/libnmi.a(snmitcln.o): In function `Nls_FormatCmd':
snmitcln.o(.text+0x823): undefined reference to `__ctype_b'
snmitcln.o(.text+0x927): undefined reference to `__ctype_b'
snmitcln.o(.text+0xa4e): undefined reference to `__ctype_b'
/usr/oracle/network/lib/libnmi.a(snmitcln.o): In function `Nls_ScanCmd':
snmitcln.o(.text+0x159d): undefined reference to `__ctype_b'
/usr/oracle/network/lib/libnmi.a(snmitcln.o)(.text+0x1603): more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
make: *** [dbsnmp] Error 1 |
|