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.
Reymer, > I'm trying to compile ldm-6.9.7 on OpenBSD 4.8, but I have the next > error on the make install step, I tried putting CC=/usr/bin/gcc, but I > get the same error. > > Can you help me please! The output from the command "make install" contained the following: Making install in pq /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../misc -I../ulog -I../protocol -I.. -g -O2 -MT lib_la-pq.lo -MD -MP -MF .deps/lib_la-pq.Tpo -c -o lib_la-pq.lo `test -f 'pq.c' || echo './'`pq.c cc -DHAVE_CONFIG_H -I. -I.. -I../misc -I../ulog -I../protocol -I.. -g -O2 -MT lib_la-pq.lo -MD -MP -MF .deps/lib_la-pq.Tpo -c pq.c -fPIC -DPIC -o .libs/lib_la-pq.o pq.c: In function 'pq_close': pq.c:5110: error: 'EOVERFLOW' undeclared (first use in this function) pq.c:5110: error: (Each undeclared identifier is reported only once pq.c:5110: error: for each function it appears in.) *** Error code 1 Apparently, the compilation environment on your computer doesn't define the C macro EOVERFLOW. According to the UNIX standard, that macro should be defined. Does it exist on the system in question? grep(1) for that macro in the header-file directories and subdirectories (e.g., /usr/include/*.h). > Cheers, > > Reymer Vargas > Laboratory of Atmospheric and Planetary Research > University of Costa Rica Regards, Steve Emmerson Ticket Details =================== Ticket ID: RJQ-449665 Department: Support LDM Priority: Normal Status: Closed