[Yazlist] Errors compiling 2.1.52

Mike Dalgity dalgity at htl.net
Sun Mar 11 23:52:52 CET 2007


Hi, I'm trying to compile Yaz 2.1.52 on OpenBSD 4.0 and I'm getting some
errors during make.  Can anyone help me out with the meaning of the
following?
Mike


Making all in ziffy
if
gcc -DPACKAGE_NAME=\"yaz\" -DPACKAGE_TARNAME=\"yaz\" -DPACKAGE_VERSION=\"2.1
.52\" -DPACKAGE_STRING=\"yaz\
2.1.52\" -DPACKAGE_BUGREPORT=\"yaz-help at indexdata.dk\" -DPACKAGE=\"yaz\" -DV
ERSION=\"2.1.52\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DH
AVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE
_DIRENT_H=1 -DHAVE_FNMATCH_H=1 -DHAVE_WCHAR_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LAN
GINFO_H=1 -DHAVE_PWD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_
SOCKET_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHA
VE_SYS_TYPES_H=1 -DHAVE_SYS_UN_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_NETINET_IN_H=1
 -DHAVE_NETDB_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_TCP_H=1 -DHAVE_NETINET
_IN_SYSTM_H=1 -DSTDC_HEADERS=1 -DHAVE_LONG_LONG=1 -DHAVE_LIBCRYPTO=1 -DHAVE_
LIBSSL=1 -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -DHAVE_REA
DLINE_COMPLETION_OVER=1 -DHAVE_READLINE_RL_COMPLETION_MATCHES=1 -DHAVE_GETAD
DRINFO=1 -DHAVE_VSNPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_POLL=1 -DHAVE_STRER
ROR_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_USLEEP=1 -DHAVE_SYS_POLL_H=1 -DYAZ_SOCKL
EN_T=socklen_t -DYAZ_USE_NEW_LOG=1 -DYAZ_POSIX_THREADS=1 -I. -I.  -I../inclu
de    -DHAVE_OPENSSL_SSL_H=1 -I/usr/include/openssl -DHAVE_YAZ=1    -g -O2 -
pthread -MT hooks.o -MD -MP -MF ".deps/hooks.Tpo" -c -o hooks.o hooks.c;
then mv -f ".deps/hooks.Tpo" ".deps/hooks.Po"; else rm -f ".deps/hooks.Tpo";
exit 1; fi
hooks.c: In function `pduhook':
hooks.c:202: error: invalid application of `sizeof' to an incomplete type
hooks.c:209: warning: passing arg 1 of `timestamp' from incompatible pointer
type
hooks.c:213: error: dereferencing pointer to incomplete type
hooks.c:215: error: dereferencing pointer to incomplete type
hooks.c:222: error: dereferencing pointer to incomplete type
hooks.c:222: error: dereferencing pointer to incomplete type
hooks.c:222: error: `ETHERTYPE_IP' undeclared (first use in this function)
hooks.c:222: error: (Each undeclared identifier is reported only once
hooks.c:222: error: for each function it appears in.)
hooks.c:244: warning: passing arg 1 of `timestamp' from incompatible pointer
type
hooks.c:279: warning: passing arg 1 of `timestamp' from incompatible pointer
type
hooks.c:303: warning: passing arg 1 of `timestamp' from incompatible pointer
type
*** Error code 1

Stop in /tmp/yaz-2.1.52/ziffy.
*** Error code 1

Stop in /tmp/yaz-2.1.52 (line 329 of Makefile).





More information about the Yazlist mailing list