From: John E. Malmberg [Malmberg@dskwld.zko.dec.compaq.hp] Sent: Tuesday, March 25, 2003 12:56 PM To: Info-VAX@Mvb.Saic.Com Subject: Re: new releases of MySQL and Python John Gemignani, Jr. wrote: > "David Reynolds" wrote in message > news:eRQfa.3551$hz3.828@fe06.atl2.webusenet.com... > >>I have tried to build 4.0.12 had end up with the following error in a log >>of modules that are linked. >>----> >>%LINK-W-NUDFSYMS, 1 undefined symbol: >>%LINK-I-UDFSYM, TCPIP$GET_H_ERRNO_ADDR >>%LINK-W-USEUNDEF, undefined symbol TCPIP$GET_H_ERRNO_ADDR referenced >> in psect $LINK$ offset %X00000040 >> in module MY_GETHOSTBYNAME file >>MYSQL_ROOT:[VMS.MYSQL.O_ALPHA.MYSYS]MY_G >>ETHOSTBYNAME.OBJ;1 Your link command indicates that you are not using the gethostbyname() routine from DECC$SHR or the TCPIP$LIB.OLB for some reason. > Look in TCPIP$LIBRARY:, you should find a TCPIP$LIB.OLB file (or something > close). The routine you're looking for is probably in there. I know that I > did this original work, but don't recall the details right now and can't > check as I'm not in the office The current 7.3-1 DECC$SHR has definitions for two variants of gethostbyname(), one is a BSD44 flavor. I do not know if a C RTL ECO kit will add the routines to your older release of OpenVMS. There is also a gethostbyname routine in TCPIP$LIBRARY:TCPIP$LIB.OLB. As John suggested, to resolve that symbol, you can add the TCPIP$LIBRARY:TCPIP.OLB/LIB to your link command line as a work around. Then you should not need the MY_GETHOSTBYNAME module either. The quoting in this thread has gotten a bit confused. I think that the TCPIP$LIBRARY option will only work if you have the HP TCPIP product installed. For help linking with Multinet, you will need to contact them. Their developers sometimes post here, and there is also a vmsnet newgroup for Multinet. vmsnet.networks.tcp-ip.multinet >>There are also a bunch of undifened symbols in OS0FILE and LOCK0LOCK >>modules. >>Any idea how to resolve these warnings? Search the source code and the user and system supplied header files to determine how they are used. Sometimes just changing an option in CONFIG.H can make these problems go away, or you may not have compiled or linked in a module that you need. >>Will they be a problem when running the images? Probably. -John malmberg@dskwld.zko.dec.compaq.hp Personal Opinion Only