So,
As part of our on-going efforts to expand the platforms on which Moonshot is possibly useful, we're looking at ARMv7 next (at customer request). Here I'm building Trust Router v3 on fedora26-arm7hl - It appears there's a problem with the DH structure?
-- begin --
armv7hl-redhat-linux-gnueabi-gcc -DPACKAGE_NAME=\"trust_router\" -DPACKAGE_TARNAME=\"trust_router\" -DPACKAGE_VERSION=\"3.0.2\" -DPACKAGE_STRING=\"trust_router\ 3.0.2\" -DPACKAGE_BUGREPORT=\"[log in to unmask]\" -DPACKAGE_URL=\"\" -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 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"trust_router\" -DVERSION=\"3.0.2\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGSSAPI_KRB5=1 -DHAVE_LIBCOM_ERR=1 -DHAVE_LIBTALLOC=1 -DHAVE_LIBSQLITE3=1 -DHAVE_LIBJANSSON=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBEVENT=1 -DHAVE_GSSAPI_H=1 -DHAVE_JANSSON_H=1 -DHAVE_TALLOC_H=1 -DHAVE_OPENSSL_DH_H=1 -DHAVE_OPENSSL_BN_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_EVENT2_EVENT_H=1 -I. -I./include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Werror=missing-prototypes -Werror -Wno-parentheses -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-parentheses -c -o common/tr_dh.o common/tr_dh.c
common/tr_msg.c: In function 'tr_msg_encode_dh':
common/tr_msg.c:163:20: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}'
if ((!dh) || (!dh->p) || (!dh->g) || (!dh->pub_key))
^~
make[1]: *** [Makefile:1606: common/tr_msg.o] Error 1
make[1]: *** Waiting for unfinished jobs....
common/tr_dh.c: In function 'tr_create_dh_params':
common/tr_dh.c:94:19: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}'
if ((NULL == (dh->g = BN_new())) ||
^~
make[1]: *** [Makefile:1606: common/tr_dh.o] Error 1
make[1]: Leaving directory '/home/pi/rpmbuild/BUILD/trust_router-3.0.2'
make: *** [Makefile:2686: all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.k4mKBO (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.k4mKBO (%build)
-- end --
openssl-devel-1.1.0f is installed... is there something that we might need to amend/take care of?
With Regards
Stefan Paetow
Moonshot Industry & Research Liaison Coordinator
t: +44 (0)1235 822 125
gpg: 0x3FCE5142
xmpp: [log in to unmask]
skype: stefan.paetow.janet
jisc.ac.uk
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
|