[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #RJQ-449665]: LDM under OpenBSD



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