#16826: gnutls 3.2.15 build error for x86
-------------------------+-------------------------------------
 Reporter:  anonymous    |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  Barrier Breaker (trunk)
Component:  packages     |    Version:  Trunk
 Keywords:  x86, gnutls  |
-------------------------+-------------------------------------
 Error trying to build latest trunk for x86. I had also enabled dnsmasq-
 full (which depends upon libnettle and libgmp), not sure if it's related.

 {{
 /bin/bash ../../libtool  --tag=CC   --mode=link i486-openwrt-linux-uclibc-
 gcc    -I/home/development/src/openwrt-trunk/openwrt/staging_dir/target-
 i386_i486_uClibc-0.9.33.2/usr/include  -Os -pipe -march=i486 -fno-caller-
 saves -fhonour-copts -Wno-error=unused-but-set-variable -fpic
 -L/home/development/src/openwrt-trunk/openwrt/staging_dir/target-
 i386_i486_uClibc-0.9.33.2/usr/lib -L/home/development/src/openwrt-
 trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/lib
 -L/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-
 i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/development/src
 /openwrt-trunk/openwrt/staging_dir/toolchain-
 i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/lib -Wl,-rpath-
 link=/home/development/src/openwrt-trunk/openwrt/staging_dir/target-
 i386_i486_uClibc-0.9.33.2/usr/lib  -o libgnutls_x509.la  common.lo
 key_encode.lo key_decode.lo crl.lo crl_write.lo crq.lo dn.lo extensions.lo
 mpi.lo output.lo pbkdf2-sha1.lo pkcs12.lo pkcs12_bag.lo pkcs12_encr.lo
 pkcs7.lo privkey.lo privkey_pkcs8.lo privkey_openssl.lo
 rfc2818_hostname.lo sign.lo verify.lo x509.lo x509_dn.lo x509_write.lo
 verify-high.lo verify-high2.lo
 libtool: link: i486-openwrt-linux-uclibc-ar cru .libs/libgnutls_x509.a
 .libs/common.o .libs/key_encode.o .libs/key_decode.o .libs/crl.o
 .libs/crl_write.o .libs/crq.o .libs/dn.o .libs/extensions.o .libs/mpi.o
 .libs/output.o .libs/pbkdf2-sha1.o .libs/pkcs12.o .libs/pkcs12_bag.o
 .libs/pkcs12_encr.o .libs/pkcs7.o .libs/privkey.o .libs/privkey_pkcs8.o
 .libs/privkey_openssl.o .libs/rfc2818_hostname.o .libs/sign.o
 .libs/verify.o .libs/x509.o .libs/x509_dn.o .libs/x509_write.o .libs
 /verify-high.o .libs/verify-high2.o
 libtool: link: i486-openwrt-linux-uclibc-ranlib .libs/libgnutls_x509.a
 libtool: link: ( cd ".libs" && rm -f "libgnutls_x509.la" && ln -s
 "../libgnutls_x509.la" "libgnutls_x509.la" )
 make[8]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/gnutls-3.2.15/lib/x509'
 Making all in accelerated
 make[8]: Entering directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/gnutls-3.2.15/lib/accelerated'
 Making all in x86
 make[9]: Entering directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/gnutls-3.2.15/lib/accelerated/x86'
 depbase=`echo sha-padlock.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
         /bin/bash ../../../libtool  --tag=CC --tag=CC  --mode=compile i486
 -openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../../..  -I./../../../gl
 -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../
 -I./../../minitasn1 -I/home/development/src/openwrt-
 trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include
 -I/home/development/src/openwrt-trunk/openwrt/staging_dir/target-
 i386_i486_uClibc-0.9.33.2/include -I/home/development/src/openwrt-
 trunk/openwrt/staging_dir/toolchain-
 i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
 -I/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-
 i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/include
 -I/home/development/src/openwrt-trunk/openwrt/staging_dir/target-
 i386_i486_uClibc-0.9.33.2/usr/include   -DASM_X86_32 -DASM_X86 -Os -pipe
 -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
 variable -fpic  -MT sha-padlock.lo -MD -MP -MF $depbase.Tpo -c -o sha-
 padlock.lo sha-padlock.c &&\
         mv -f $depbase.Tpo $depbase.Plo
 libtool: compile:  i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I.
 -I../../.. -I./../../../gl -I./../../../gl -I./../../includes
 -I./../../includes -I./../../ -I./../ -I./../../minitasn1
 -I/home/development/src/openwrt-trunk/openwrt/staging_dir/target-
 i386_i486_uClibc-0.9.33.2/usr/include -I/home/development/src/openwrt-
 trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/include
 -I/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-
 i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
 -I/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-
 i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/include -I/home/development/src
 /openwrt-trunk/openwrt/staging_dir/target-
 i386_i486_uClibc-0.9.33.2/usr/include -DASM_X86_32 -DASM_X86 -Os -pipe
 -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
 variable -fpic -MT sha-padlock.lo -MD -MP -MF .deps/sha-padlock.Tpo -c
 sha-padlock.c  -fPIC -DPIC -o .libs/sha-padlock.o
 In file included from sha-padlock.c:29:0:
 sha-padlock.c: In function 'padlock_sha1_update':
 sha-padlock.c:81:46: error: 'struct sha1_ctx' has no member named
 'count_high'
   MD_UPDATE(ctx, length, data, SHA1_COMPRESS, MD_INCR(ctx));
                                               ^
 sha-padlock.c:81:46: error: 'struct sha1_ctx' has no member named
 'count_low'
   MD_UPDATE(ctx, length, data, SHA1_COMPRESS, MD_INCR(ctx));
                                               ^
 sha-padlock.c:81:46: error: 'struct sha1_ctx' has no member named
 'count_high'
   MD_UPDATE(ctx, length, data, SHA1_COMPRESS, MD_INCR(ctx));
                                               ^
 sha-padlock.c:81:46: error: 'struct sha1_ctx' has no member named
 'count_low'
   MD_UPDATE(ctx, length, data, SHA1_COMPRESS, MD_INCR(ctx));
                                               ^
 sha-padlock.c: In function 'padlock_sha256_update':
 sha-padlock.c:88:48: error: 'struct sha256_ctx' has no member named
 'count_high'
   MD_UPDATE(ctx, length, data, SHA256_COMPRESS, MD_INCR(ctx));
                                                 ^
 sha-padlock.c:88:48: error: 'struct sha256_ctx' has no member named
 'count_low'
   MD_UPDATE(ctx, length, data, SHA256_COMPRESS, MD_INCR(ctx));
                                                 ^
 sha-padlock.c:88:48: error: 'struct sha256_ctx' has no member named
 'count_high'
   MD_UPDATE(ctx, length, data, SHA256_COMPRESS, MD_INCR(ctx));
                                                 ^
 sha-padlock.c:88:48: error: 'struct sha256_ctx' has no member named
 'count_low'
   MD_UPDATE(ctx, length, data, SHA256_COMPRESS, MD_INCR(ctx));
                                                 ^
 sha-padlock.c: In function 'padlock_sha1_digest':
 sha-padlock.c:143:13: error: 'struct sha1_ctx' has no member named
 'count_high'
   high = (ctx->count_high << 9) | (ctx->count_low >> 23);
              ^
 sha-padlock.c:143:38: error: 'struct sha1_ctx' has no member named
 'count_low'
   high = (ctx->count_high << 9) | (ctx->count_low >> 23);
                                       ^
 sha-padlock.c:144:12: error: 'struct sha1_ctx' has no member named
 'count_low'
   low = (ctx->count_low << 9) | (ctx->index << 3);
             ^
 sha-padlock.c: In function 'padlock_sha256_digest':
 sha-padlock.c:165:13: error: 'struct sha256_ctx' has no member named
 'count_high'
   high = (ctx->count_high << 9) | (ctx->count_low >> 23);
              ^
 sha-padlock.c:165:38: error: 'struct sha256_ctx' has no member named
 'count_low'
   high = (ctx->count_high << 9) | (ctx->count_low >> 23);
                                       ^
 sha-padlock.c:166:12: error: 'struct sha256_ctx' has no member named
 'count_low'
   low = (ctx->count_low << 9) | (ctx->index << 3);
             ^
 make[9]: *** [sha-padlock.lo] Error 1
 make[9]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/gnutls-3.2.15/lib/accelerated/x86'
 make[8]: *** [all-recursive] Error 1
 make[8]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/gnutls-3.2.15/lib/accelerated'
 make[7]: *** [all-recursive] Error 1
 make[7]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/gnutls-3.2.15/lib'
 make[6]: *** [all] Error 2
 make[6]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/gnutls-3.2.15/lib'
 make[5]: *** [all-recursive] Error 1
 make[5]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/gnutls-3.2.15'
 make[4]: *** [all] Error 2
 make[4]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/gnutls-3.2.15'
 make[3]: *** [/home/development/src/openwrt-trunk/openwrt/build_dir
 /target-i386_i486_uClibc-0.9.33.2/gnutls-3.2.15/.built] Error 2
 make[3]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/feeds/packages/libs/gnutls'
 make[2]: *** [package/feeds/packages/gnutls/compile] Error 2
 make[2]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
 make[1]: *** [/home/development/src/openwrt-trunk/openwrt/staging_dir
 /target-i386_i486_uClibc-0.9.33.2/stamp/.package_compile] Error 2
 make[1]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
 make: *** [world] Error 2

 }}

--
Ticket URL: <https://dev.openwrt.org/ticket/16826>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to