Date: Thu, 23 Feb 2017 21:44:39 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: [Resolved] build error at ntp Message-ID: <170051.29264.qm@web101711.mail.ssk.yahoo.co.jp> In-Reply-To: <535571.78998.qm@web101715.mail.ssk.yahoo.co.jp> References: <535571.78998.qm@web101715.mail.ssk.yahoo.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi.=0A=0AI found reason.=A0=0A=0AMK_OPENSSL =A0=3D no=0A=0AI use my maintai= ned ZRouter build system. I don't touch this configuration.=0AI don't know = why change.=0A=0ASorry.=0A=0AHiroki Mori=0A=0A=0A----- Original Message ---= --=0A>From: Mori Hiroki <yamori813@yahoo.co.jp>=0A>To: "freebsd-mips@freebs= d.org" <freebsd-mips@freebsd.org> =0A>Date: 2017/2/5, Sun 20:46=0A>Subject:= build error at ntp=0A> =0A>Hi.=0A>=0A>I have build error on ntp command. I= mistake=A0some thing ?=0A>=0A>=3D=3D=3D> usr.sbin/ntp/libntp (all)=0A>cc -= isystem /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mip= s=0A>el/storage/home/hiroki/freebsd/tmp/usr/include -L/storage/home/hiroki/= obj//stora=0A>ge/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/f= reebsd/tmp/usr/lib=A0=0A>-B/storage/home/hiroki/obj//storage/home/hiroki/zr= outer/tmp//mips.mipsel/storage=0A>/home/hiroki/freebsd/tmp/usr/lib --sysroo= t=3D/storage/home/hiroki/obj//storage/hom=0A>e/hiroki/zrouter/tmp//mips.mip= sel/storage/home/hiroki/freebsd/tmp -B/storage/hom=0A>e/hiroki/obj//storage= /home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/f=0A>reebsd/tmp/u= sr/bin=A0 -O -pipe -I/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/=0A>.= ./../../contrib/ntp/include=A0 -I/storage/home/hiroki/freebsd/usr.sbin/ntp/= libntp=0A>/../../../contrib/ntp/lib/isc/include=A0 -I/storage/home/hiroki/f= reebsd/usr.sbin/n=0A>tp/libntp/../../../contrib/ntp/lib/isc/unix/include=A0= -I/storage/home/hiroki/free=0A>bsd/usr.sbin/ntp/libntp/../../../contrib/nt= p/lib/isc/pthreads/include=A0 -I/storag=0A>e/home/hiroki/freebsd/usr.sbin/n= tp/libntp/../../../contrib/ntp/sntp/libopts=A0 -I/=0A>storage/home/hiroki/f= reebsd/usr.sbin/ntp/libntp/../../../lib/libc/mipsel=A0 -I/sto=0A>rage/home/= hiroki/freebsd/usr.sbin/ntp/libntp/../../../lib/libedit/edit=A0 -I/stora=0A= >ge/home/hiroki/freebsd/usr.sbin/ntp/libntp/../=A0 -I/storage/home/hiroki/f= reebsd/u=0A>sr.sbin/ntp/libntp/ -DHAVE_BSD_NICE -DHAVE_STDINT_H -G0 -EL -ms= oft-float =A0 -DSYS=0A>_FREEBSD -DPARSE -DHAVE_CONFIG_H=A0 -DNDEBUG -MD=A0 = -MF.depend.systime.o -MTsystime.=0A>o -std=3Dgnu99 -Wno-pointer-sign =A0 = =A0 -c /storage/home/hiroki/freebsd/usr.sbin/ntp/=0A>libntp/../../../contri= b/ntp/libntp/systime.c -o systime.o=0A>cc -isystem /storage/home/hiroki/obj= //storage/home/hiroki/zrouter/tmp//mips.mips=0A>el/storage/home/hiroki/free= bsd/tmp/usr/include -L/storage/home/hiroki/obj//stora=0A>ge/home/hiroki/zro= uter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp/usr/lib=A0=0A>-B/stor= age/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage= =0A>/home/hiroki/freebsd/tmp/usr/lib --sysroot=3D/storage/home/hiroki/obj//= storage/hom=0A>e/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebs= d/tmp -B/storage/hom=0A>e/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips= .mipsel/storage/home/hiroki/f=0A>reebsd/tmp/usr/bin=A0 -O -pipe -I/storage/= home/hiroki/freebsd/usr.sbin/ntp/libntp/=0A>../../../contrib/ntp/include=A0= -I/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp=0A>/../../../contrib/nt= p/lib/isc/include=A0 -I/storage/home/hiroki/freebsd/usr.sbin/n=0A>tp/libntp= /../../../contrib/ntp/lib/isc/unix/include=A0 -I/storage/home/hiroki/free= =0A>bsd/usr.sbin/ntp/libntp/../../../contrib/ntp/lib/isc/pthreads/include= =A0 -I/storag=0A>e/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib= /ntp/sntp/libopts=A0 -I/=0A>storage/home/hiroki/freebsd/usr.sbin/ntp/libntp= /../../../lib/libc/mipsel=A0 -I/sto=0A>rage/home/hiroki/freebsd/usr.sbin/nt= p/libntp/../../../lib/libedit/edit=A0 -I/stora=0A>ge/home/hiroki/freebsd/us= r.sbin/ntp/libntp/../=A0 -I/storage/home/hiroki/freebsd/u=0A>sr.sbin/ntp/li= bntp/ -DHAVE_BSD_NICE -DHAVE_STDINT_H -G0 -EL -msoft-float =A0 -DSYS=0A>_FR= EEBSD -DPARSE -DHAVE_CONFIG_H=A0 -DNDEBUG -MD=A0 -MF.depend.a_md5encrypt.o = -MTa_m=0A>d5encrypt.o -std=3Dgnu99 -Wno-pointer-sign =A0 =A0 -c /storage/ho= me/hiroki/freebsd/usr=0A>.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_md5= encrypt.c -o a_md5encrypt.o=0A>In file included from /storage/home/hiroki/o= bj//storage/home/hiroki/zrouter/tmp/=0A>/mips.mipsel/storage/home/hiroki/fr= eebsd/tmp/usr/include/openssl/evp.h:70,=0A>=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 from /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../=0A>cont= rib/ntp/include/libssl_compat.h:23,=0A>=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 f= rom /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../=0A>contrib/n= tp/libntp/a_md5encrypt.c:14:=0A>/storage/home/hiroki/obj//storage/home/hiro= ki/zrouter/tmp//mips.mipsel/storage/h=0A>ome/hiroki/freebsd/tmp/usr/include= /openssl/ossl_typ.h:132: error: conflicting ty=0A>pes for 'EVP_MD_CTX'=0A>/= storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/includ= e/nt=0A>p_md5.h:25: error: previous declaration of 'EVP_MD_CTX' was here=0A= >In file included from /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../= ../../=0A>contrib/ntp/include/libssl_compat.h:23,=0A>=A0=A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 from /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../..= /=0A>contrib/ntp/libntp/a_md5encrypt.c:14:=0A>/storage/home/hiroki/obj//sto= rage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h=0A>ome/hiroki/freebsd/t= mp/usr/include/openssl/evp.h:594: error: expected ')' before=0A>=A0',' toke= n=0A>/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel= /storage/h=0A>ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:595: error: = expected declaratio=0A>n specifiers or '...' before '(' token=0A>/storage/h= ome/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h=0A>o= me/hiroki/freebsd/tmp/usr/include/openssl/evp.h:595: error: conflicting typ= es f=0A>or '_libmd_MD5Update'=0A>/storage/home/hiroki/obj//storage/home/hir= oki/zrouter/tmp//mips.mipsel/storage/h=0A>ome/hiroki/freebsd/tmp/usr/includ= e/sys/md5.h:46: error: previous declaration of=A0=0A>'_libmd_MD5Update' was= here=0A>/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mi= psel/storage/h=0A>ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:602: err= or: expected ')' before=0A>=A0',' token=0A>/storage/home/hiroki/obj//storag= e/home/hiroki/zrouter/tmp//mips.mipsel/storage/h=0A>ome/hiroki/freebsd/tmp/= usr/include/openssl/evp.h:603: error: expected identifier=0A>=A0or '(' befo= re 'do'=0A>/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.= mipsel/storage/h=0A>ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:603: e= rror: expected identifier=0A>=A0or '(' before 'while'=0A>In file included f= rom /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../=0A>contrib/n= tp/include/libssl_compat.h:23,=0A>=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /= storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../=0A>contrib/ntp/li= bntp/a_md5encrypt.c:14:=0A>/storage/home/hiroki/obj//storage/home/hiroki/zr= outer/tmp//mips.mipsel/storage/h=0A>ome/hiroki/freebsd/tmp/usr/include/open= ssl/evp.h:716:27: error: macro "EVP_md5"=A0=0A>passed 1 arguments, but take= s just 0=0A>/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contr= ib/ntp/libntp/a_m=0A>d5encrypt.c: In function 'MD5authencrypt':=0A>/storage= /home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0A= >d5encrypt.c:39: warning: passing argument 1 of '_libmd_MD5Init' from incom= patibl=0A>e pointer type=0A>/storage/home/hiroki/freebsd/usr.sbin/ntp/libnt= p/../../../contrib/ntp/libntp/a_m=0A>d5encrypt.c:45: warning: passing argum= ent 2 of '_libmd_MD5Update' makes integer=A0=0A>from pointer without a cast= =0A>/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/l= ibntp/a_m=0A>d5encrypt.c:45: error: too many arguments to function '_libmd_= MD5Update'=0A>/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../con= trib/ntp/libntp/a_m=0A>d5encrypt.c:46: warning: passing argument 2 of '_lib= md_MD5Update' makes integer=A0=0A>from pointer without a cast=0A>/storage/h= ome/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0A>d= 5encrypt.c:46: error: too many arguments to function '_libmd_MD5Update'=0A>= /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libnt= p/a_m=0A>d5encrypt.c:47: warning: passing argument 2 of '_libmd_MD5Final' f= rom incompatib=0A>le pointer type=0A>/storage/home/hiroki/freebsd/usr.sbin/= ntp/libntp/../../../contrib/ntp/libntp/a_m=0A>d5encrypt.c: In function 'MD5= authdecrypt':=0A>/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../= contrib/ntp/libntp/a_m=0A>d5encrypt.c:82: warning: passing argument 1 of '_= libmd_MD5Init' from incompatibl=0A>e pointer type=0A>/storage/home/hiroki/f= reebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0A>d5encrypt.c:8= 8: warning: passing argument 2 of '_libmd_MD5Update' makes integer=A0=0A>fr= om pointer without a cast=0A>/storage/home/hiroki/freebsd/usr.sbin/ntp/libn= tp/../../../contrib/ntp/libntp/a_m=0A>d5encrypt.c:88: error: too many argum= ents to function '_libmd_MD5Update'=0A>/storage/home/hiroki/freebsd/usr.sbi= n/ntp/libntp/../../../contrib/ntp/libntp/a_m=0A>d5encrypt.c:89: warning: pa= ssing argument 2 of '_libmd_MD5Update' makes integer=A0=0A>from pointer wit= hout a cast=0A>/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../co= ntrib/ntp/libntp/a_m=0A>d5encrypt.c:89: error: too many arguments to functi= on '_libmd_MD5Update'=0A>/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/.= ./../../contrib/ntp/libntp/a_m=0A>d5encrypt.c:90: warning: passing argument= 2 of '_libmd_MD5Final' from incompatib=0A>le pointer type=0A>/storage/home= /hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0A>d5en= crypt.c: In function 'addr2refid':=0A>/storage/home/hiroki/freebsd/usr.sbin= /ntp/libntp/../../../contrib/ntp/libntp/a_m=0A>d5encrypt.c:128: warning: pa= ssing argument 1 of '_libmd_MD5Init' from incompatib=0A>le pointer type=0A>= /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libnt= p/a_m=0A>d5encrypt.c:135: warning: passing argument 2 of '_libmd_MD5Update'= makes integer=0A>=A0from pointer without a cast=0A>/storage/home/hiroki/fr= eebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0A>d5encrypt.c:13= 5: error: too many arguments to function '_libmd_MD5Update'=0A>/storage/hom= e/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0A>d5e= ncrypt.c:137: warning: passing argument 2 of '_libmd_MD5Final' from incompa= ti=0A>ble pointer type=0A>*** Error code 1=0A>=0A>Stop.=0A>bmake[4]: stoppe= d in /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp=0A>*** Error code 1= =0A>=0A>Stop.=0A>bmake[3]: stopped in /storage/home/hiroki/freebsd=0A>*** E= rror code 1=0A>=0A>Stop.=0A>bmake[2]: stopped in /storage/home/hiroki/freeb= sd=0A>*** Error code 1=0A>=0A>Stop.=0A>make[1]: stopped in /storage/home/hi= roki/freebsd=0A>*** Error code 1=0A>=0A>Stop.=0A>make: stopped in /storage/= home/hiroki/zrouter=0A>_______________________________________________=0A>f= reebsd-mips@freebsd.org mailing list=0A>https://lists.freebsd.org/mailman/l= istinfo/freebsd-mips=0A>To unsubscribe, send any mail to "freebsd-mips-unsu= bscribe@freebsd.org"=0A>=0A>=0A>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?170051.29264.qm>