[Resolved] build error at ntp
Mori Hiroki
yamori813 at yahoo.co.jp
Thu Apr 27 23:55:17 UTC 2017
Hi.
This problem is clear now on head.
May be fixed on contrib/ntp.
Thanks
Hiroki Mori
----- Original Message -----
> From: Mori Hiroki <yamori813 at yahoo.co.jp>
> To: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
> Cc:
> Date: 2017/2/23, Thu 21:44
> Subject: [Resolved] build error at ntp
>
> Hi.
>
> I found reason.
>
> MK_OPENSSL = no
>
> I use my maintained ZRouter build system. I don't touch this configuration.
> I don't know why change.
>
> Sorry.
>
> Hiroki Mori
>
>
> ----- Original Message -----
>> From: Mori Hiroki <yamori813 at yahoo.co.jp>
>> To: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
>> Date: 2017/2/5, Sun 20:46
>> Subject: build error at ntp
>>
>> Hi.
>>
>> I have build error on ntp command. I mistake some thing ?
>>
>> ===> usr.sbin/ntp/libntp (all)
>> cc -isystem
> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mips
>> el/storage/home/hiroki/freebsd/tmp/usr/include
> -L/storage/home/hiroki/obj//stora
>> ge/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp/usr/lib
>> -B/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage
>> /home/hiroki/freebsd/tmp/usr/lib
> --sysroot=/storage/home/hiroki/obj//storage/hom
>> e/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp
> -B/storage/hom
>> e/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/f
>> reebsd/tmp/usr/bin -O -pipe
> -I/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/
>> ../../../contrib/ntp/include
> -I/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp
>> /../../../contrib/ntp/lib/isc/include
> -I/storage/home/hiroki/freebsd/usr.sbin/n
>> tp/libntp/../../../contrib/ntp/lib/isc/unix/include
> -I/storage/home/hiroki/free
>> bsd/usr.sbin/ntp/libntp/../../../contrib/ntp/lib/isc/pthreads/include
> -I/storag
>> e/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/sntp/libopts
> -I/
>> storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../lib/libc/mipsel
> -I/sto
>> rage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../lib/libedit/edit
> -I/stora
>> ge/home/hiroki/freebsd/usr.sbin/ntp/libntp/../
> -I/storage/home/hiroki/freebsd/u
>> sr.sbin/ntp/libntp/ -DHAVE_BSD_NICE -DHAVE_STDINT_H -G0 -EL -msoft-float
> -DSYS
>> _FREEBSD -DPARSE -DHAVE_CONFIG_H -DNDEBUG -MD -MF.depend.systime.o
> -MTsystime.
>> o -std=gnu99 -Wno-pointer-sign -c
> /storage/home/hiroki/freebsd/usr.sbin/ntp/
>> libntp/../../../contrib/ntp/libntp/systime.c -o systime.o
>> cc -isystem
> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mips
>> el/storage/home/hiroki/freebsd/tmp/usr/include
> -L/storage/home/hiroki/obj//stora
>> ge/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp/usr/lib
>> -B/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage
>> /home/hiroki/freebsd/tmp/usr/lib
> --sysroot=/storage/home/hiroki/obj//storage/hom
>> e/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp
> -B/storage/hom
>> e/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/f
>> reebsd/tmp/usr/bin -O -pipe
> -I/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/
>> ../../../contrib/ntp/include
> -I/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp
>> /../../../contrib/ntp/lib/isc/include
> -I/storage/home/hiroki/freebsd/usr.sbin/n
>> tp/libntp/../../../contrib/ntp/lib/isc/unix/include
> -I/storage/home/hiroki/free
>> bsd/usr.sbin/ntp/libntp/../../../contrib/ntp/lib/isc/pthreads/include
> -I/storag
>> e/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/sntp/libopts
> -I/
>> storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../lib/libc/mipsel
> -I/sto
>> rage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../lib/libedit/edit
> -I/stora
>> ge/home/hiroki/freebsd/usr.sbin/ntp/libntp/../
> -I/storage/home/hiroki/freebsd/u
>> sr.sbin/ntp/libntp/ -DHAVE_BSD_NICE -DHAVE_STDINT_H -G0 -EL -msoft-float
> -DSYS
>> _FREEBSD -DPARSE -DHAVE_CONFIG_H -DNDEBUG -MD -MF.depend.a_md5encrypt.o
> -MTa_m
>> d5encrypt.o -std=gnu99 -Wno-pointer-sign -c
> /storage/home/hiroki/freebsd/usr
>> .sbin/ntp/libntp/../../../contrib/ntp/libntp/a_md5encrypt.c -o
> a_md5encrypt.o
>> In file included from
> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp/
>> /mips.mipsel/storage/home/hiroki/freebsd/tmp/usr/include/openssl/evp.h:70,
>> from
> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../
>> contrib/ntp/include/libssl_compat.h:23,
>> from
> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../
>> contrib/ntp/libntp/a_md5encrypt.c:14:
>> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h
>> ome/hiroki/freebsd/tmp/usr/include/openssl/ossl_typ.h:132: error:
> conflicting ty
>> pes for 'EVP_MD_CTX'
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/include/nt
>> p_md5.h:25: error: previous declaration of 'EVP_MD_CTX' was here
>> In file included from
> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../
>> contrib/ntp/include/libssl_compat.h:23,
>> from
> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../
>> contrib/ntp/libntp/a_md5encrypt.c:14:
>> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h
>> ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:594: error: expected
> ')' before
>> ',' token
>> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h
>> ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:595: error: expected
> declaratio
>> n specifiers or '...' before '(' token
>> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h
>> ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:595: error: conflicting
> types f
>> or '_libmd_MD5Update'
>> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h
>> ome/hiroki/freebsd/tmp/usr/include/sys/md5.h:46: error: previous declaration
> of
>> '_libmd_MD5Update' was here
>> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h
>> ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:602: error: expected
> ')' before
>> ',' token
>> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h
>> ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:603: error: expected
> identifier
>> or '(' before 'do'
>> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h
>> ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:603: error: expected
> identifier
>> or '(' before 'while'
>> In file included from
> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../
>> contrib/ntp/include/libssl_compat.h:23,
>> from
> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../
>> contrib/ntp/libntp/a_md5encrypt.c:14:
>> /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h
>> ome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:716:27: error: macro
> "EVP_md5"
>> passed 1 arguments, but takes just 0
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c: In function 'MD5authencrypt':
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:39: warning: passing argument 1 of '_libmd_MD5Init' from
> incompatibl
>> e pointer type
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:45: warning: passing argument 2 of '_libmd_MD5Update'
> makes integer
>> from pointer without a cast
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:45: error: too many arguments to function
> '_libmd_MD5Update'
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:46: warning: passing argument 2 of '_libmd_MD5Update'
> makes integer
>> from pointer without a cast
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:46: error: too many arguments to function
> '_libmd_MD5Update'
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:47: warning: passing argument 2 of '_libmd_MD5Final'
> from incompatib
>> le pointer type
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c: In function 'MD5authdecrypt':
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:82: warning: passing argument 1 of '_libmd_MD5Init' from
> incompatibl
>> e pointer type
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:88: warning: passing argument 2 of '_libmd_MD5Update'
> makes integer
>> from pointer without a cast
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:88: error: too many arguments to function
> '_libmd_MD5Update'
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:89: warning: passing argument 2 of '_libmd_MD5Update'
> makes integer
>> from pointer without a cast
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:89: error: too many arguments to function
> '_libmd_MD5Update'
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:90: warning: passing argument 2 of '_libmd_MD5Final'
> from incompatib
>> le pointer type
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c: In function 'addr2refid':
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:128: warning: passing argument 1 of '_libmd_MD5Init'
> from incompatib
>> le pointer type
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:135: warning: passing argument 2 of '_libmd_MD5Update'
> makes integer
>> from pointer without a cast
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:135: error: too many arguments to function
> '_libmd_MD5Update'
>> /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m
>> d5encrypt.c:137: warning: passing argument 2 of '_libmd_MD5Final'
> from incompati
>> ble pointer type
>> *** Error code 1
>>
>> Stop.
>> bmake[4]: stopped in /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp
>> *** Error code 1
>>
>> Stop.
>> bmake[3]: stopped in /storage/home/hiroki/freebsd
>> *** Error code 1
>>
>> Stop.
>> bmake[2]: stopped in /storage/home/hiroki/freebsd
>> *** Error code 1
>>
>> Stop.
>> make[1]: stopped in /storage/home/hiroki/freebsd
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /storage/home/hiroki/zrouter
>> _______________________________________________
>> freebsd-mips at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
>> To unsubscribe, send any mail to
> "freebsd-mips-unsubscribe at freebsd.org"
>>
>>
>>
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to
> "freebsd-mips-unsubscribe at freebsd.org"
>
More information about the freebsd-mips
mailing list