Title: | DEC TCP/IP Services for OpenVMS |
Notice: | Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System |
Moderator: | ucxaxp.ucx.lkg.dec.com::TIBBERT |
Created: | Thu Nov 17 1994 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5568 |
Total number of notes: | 21492 |
Hello, I am trying to build the eSNMP chess-MIB example and I have got the linker messages: %LINK-W-NUDFSYMS, 2 undefined symbols: %LINK-I-UDFSYM, SELECT %LINK-I-UDFSYM, SLEEP My linker options file looks like: ! ! Link options file for building the UCX$CHESS_SUBAGENT.EXE image ! CHESS_METHOD.OBJ CHESS_MIB.OBJ CHESS_TBL.OBJ UCX$SNMP:UCX$ESNMP.OLB/LIBR UCX$SNMP:UCX$SNMPUSER.OLB/LIBR UCX$SNMP:UCX$SNMP.OLB/LIBR SYS$LIBRARY:UCX$IPC_SHR.EXE/SHARE SYS$LIBRARY:UCX$ACCESS_SHR.EXE/SHARE SYS$LIBRARY:DECC$SHR.EXE/SHARE Question: Which object library or shareable image I have to add to the options file to get rid of these undefined symbols messages ? Where is the select() call defined ? Could anybody help me ? regards, Dieter Lukas
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
5241.1 | LASSIE::GEMIGNANI | Wed Feb 19 1997 19:01 | 3 | ||
When you compile, you need to use /PREFIX (probably =ALL), so that it defines DECC$SELECT() and DECC$SLEEP(), not select() and sleep(). | |||||
5241.2 | now it works | FRUST::LUKAS | Unix starts with an `L' | Thu Feb 20 1997 01:25 | 10 |
RE:.1 That's it. Thanks a lot. regards, Dieter | |||||
5241.3 | just a warning about /stand=vaxc | HNDYMN::MCCARTHY | A Quinn Martin Production | Thu Feb 20 1997 06:22 | 8 |
One "work around" that has been mentioned for this prefixing problem is to use the /stand=vaxc qualifier. I DO NOT suggest that. /STAND=VAXC turns on all kinds of other "special case" modes of the DEC C compiler which most "portable" applications don't want on. Using /prefix=all is the correct solution (as you have found out) bjm |