This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
John, The word "LOG_YES" doesn't appear anywhere in the LDM package -- so it must be from someplace else (like a library). Use the nm(1) utility to examine the object files and libraries that go into the regutil(1) program to see if you can find the object file or library that references it. If I can log onto the system in question as the LDM user, I can do that for you. > Dear UCAR support, > > When I try to compile the latest version of LDM on an Oracle Linux 6.7, I get > this error during the make portion. Any ideas? Thanks! > > Here's the bottom of the Make error: > make[3]: Entering directory `/usr/local/ldm/ldm-6.12.14/src/regutil' > depbase=`echo regutil.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > /usr/bin/gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../registry > -I../registry -I../ulog -I../protocol -I../protocol -I../protocol2 > -I../protocol2 -I../registry -I../registry -I../mcast_lib/C++ > -I/usr/include/libxml2 -g -O2 -MT regutil.o -MD -MP -MF $depbase.Tpo -c -o > regutil.o regutil.c &&\ > mv -f $depbase.Tpo $depbase.Po > regutil.c: In function âmainâ: > regutil.c:375: error: âLOG_YESâ undeclared (first use in this function) > regutil.c:375: error: (Each undeclared identifier is reported only once > regutil.c:375: error: for each function it appears in.) > make[3]: *** [regutil.o] Error 1 > make[3]: Leaving directory `/usr/local/ldm/ldm-6.12.14/src/regutil' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/usr/local/ldm/ldm-6.12.14/src/regutil' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/ldm/ldm-6.12.14/src' > make: *** [all] Error 2 > > John Geesling > Research Associate > National Wind Institute > Texas Tech University > 806-834-3869 Regards, Steve Emmerson Ticket Details =================== Ticket ID: QXU-279390 Department: Support LDM Priority: Normal Status: Closed