Mike Dalgity wrote:
> 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?
This BSD is missing some headers which makes ziffy
compilation fail.
We'll see if we can sort this out - till next version of
YAZ.
Unfortunately we don't have this version of BSD as a
machine/virtual
host here. So it's kind of difficult to test.
For now, you should be able to get through by using
./configure --without-pcap
make clean
make
/ Adam
> 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 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).
>
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlist lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
>
>
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|