Modify

Opened 12 years ago

Closed 12 years ago

Last modified 4 years ago

#418 closed defect (fixed)

openssl still broken (see #400) - ipsec-tools won't build (trunk r3515)

Reported by: tristan@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:

Description

This is a followup to tickets #400 and #401 - if I knew how to reply to those tickets, I would do so. I see that openssl now has more ciphers put back in (r3486 - thanks!), but still not enough. ipsec-tools won't build for me. Looks like it needs sha256 or sha512?

make[9]: Leaving directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/ipsec-tools-0.6.4'
/data2/openwrt/tristan/trunk/openwrt/staging_dir_mips/bin/mips-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipse
c   -I/data2/openwrt/tristan/trunk/openwrt/staging_dir_mips/usr/include -D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -I./src/include-glibc  -I/data2/openwrt/tristan/trunk/openwrt/staging_dir_mips/usr/include -I/data2/openwrt/tristan/trunk/openwrt/staging_dir_mips/include -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -I../../src/include-glibc -DSYSCONFDIR=\"/etc\" -DADMINPORTDIR=\"/var/racoon\" -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time  -Wall -DEAYDEBUG -o crypto_openssl_test.o -c ./crypto_openssl.c
In file included from ./crypto_openssl.c:65:
/data2/openwrt/tristan/trunk/openwrt/staging_dir_mips/usr/include/openssl/cast.h:69:2: error: #error CAST is disabled.
In file included from ./crypto_openssl.c:84:
./../../src/racoon/missing/crypto/sha2/sha2.h:115: error: syntax error before 'SHA384_CTX'
./../../src/racoon/missing/crypto/sha2/sha2.h:115: warning: type defaults to 'int' in declaration of 'SHA384_CTX'
./../../src/racoon/missing/crypto/sha2/sha2.h:115: warning: data definition has no type or storage class
./../../src/racoon/missing/crypto/sha2/sha2.h:133: error: syntax error before '*' token
./../../src/racoon/missing/crypto/sha2/sha2.h:141: error: syntax error before '*' token
./crypto_openssl.c: In function 'eay_get_x509sign':
./crypto_openssl.c:1034: warning: unused variable 'pad'
./crypto_openssl.c:1033: warning: unused variable 'len'
./crypto_openssl.c: In function 'eay_cast_encrypt':
./crypto_openssl.c:1493: warning: implicit declaration of function 'EVP_cast5_cbc'
./crypto_openssl.c:1493: warning: passing argument 4 of 'evp_crypt' makes pointer from integer without a cast
./crypto_openssl.c: In function 'eay_cast_decrypt':
./crypto_openssl.c:1500: warning: passing argument 4 of 'evp_crypt' makes pointer from integer without a cast
./crypto_openssl.c: In function 'eay_hmacsha2_512_init':
./crypto_openssl.c:1702: warning: implicit declaration of function 'EVP_sha512'
./crypto_openssl.c:1702: warning: passing argument 2 of 'eay_hmac_init' makes pointer from integer without a cast
./crypto_openssl.c: In function 'eay_hmacsha2_384_init':
./crypto_openssl.c:1759: warning: implicit declaration of function 'EVP_sha384'
./crypto_openssl.c:1759: warning: passing argument 2 of 'eay_hmac_init' makes pointer from integer without a cast
./crypto_openssl.c: In function 'eay_hmacsha2_256_init':
./crypto_openssl.c:1816: warning: implicit declaration of function 'EVP_sha256'
./crypto_openssl.c:1816: warning: passing argument 2 of 'eay_hmac_init' makes pointer from integer without a cast
./crypto_openssl.c: In function 'eay_sha2_512_init':
./crypto_openssl.c:1974: error: 'SHA512_CTX' undeclared (first use in this function)
./crypto_openssl.c:1974: error: (Each undeclared identifier is reported only once
./crypto_openssl.c:1974: error: for each function it appears in.)
./crypto_openssl.c:1974: error: 'c' undeclared (first use in this function)
./crypto_openssl.c:1976: warning: implicit declaration of function 'SHA512_Init'
./crypto_openssl.c: In function 'eay_sha2_512_update':
./crypto_openssl.c:1986: warning: implicit declaration of function 'SHA512_Update'
./crypto_openssl.c:1986: error: 'SHA512_CTX' undeclared (first use in this function)
./crypto_openssl.c:1986: error: syntax error before ')' token
./crypto_openssl.c: In function 'eay_sha2_512_final':
./crypto_openssl.c:2000: warning: implicit declaration of function 'SHA512_Final'
./crypto_openssl.c:2000: error: 'SHA512_CTX' undeclared (first use in this function)
./crypto_openssl.c:2000: error: syntax error before ')' token
./crypto_openssl.c: In function 'eay_sha2_384_init':
./crypto_openssl.c:2034: error: 'c' undeclared (first use in this function)
./crypto_openssl.c:2036: warning: implicit declaration of function 'SHA384_Init'
./crypto_openssl.c: In function 'eay_sha2_384_update':
./crypto_openssl.c:2046: warning: implicit declaration of function 'SHA384_Update'
./crypto_openssl.c:2046: error: syntax error before ')' token
./crypto_openssl.c: In function 'eay_sha2_384_final':
./crypto_openssl.c:2060: warning: implicit declaration of function 'SHA384_Final'
./crypto_openssl.c:2060: error: syntax error before ')' token
./crypto_openssl.c: In function 'eay_sha2_256_init':
./crypto_openssl.c:2096: warning: implicit declaration of function 'SHA256_Init'
./crypto_openssl.c: In function 'eay_sha2_256_update':
./crypto_openssl.c:2106: warning: implicit declaration of function 'SHA256_Update'
./crypto_openssl.c: In function 'eay_sha2_256_final':
./crypto_openssl.c:2120: warning: implicit declaration of function 'SHA256_Final'
./crypto_openssl.c: In function 'base64_pubkey2rsa':
./crypto_openssl.c:2536: warning: unused variable 'mod'
./crypto_openssl.c:2536: warning: unused variable 'exp'
./crypto_openssl.c: In function 'bignum_pubkey2rsa':
./crypto_openssl.c:2581: warning: label 'out' defined but not used
make[8]: *** [crypto_openssl_test.o] Error 1
make[8]: Leaving directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/ipsec-tools-0.6.4/src/racoon'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/ipsec-tools-0.6.4/src'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/ipsec-tools-0.6.4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/data2/openwrt/tristan/trunk/openwrt/build_mips/ipsec-tools-0.6.4'
make[4]: *** [/data2/openwrt/tristan/trunk/openwrt/build_mips/ipsec-tools-0.6.4/.built] Error 2
make[4]: Leaving directory `/data2/openwrt/tristan/trunk/openwrt/package/ipsec-tools'
make[3]: *** [compile] Error 2

Attachments (0)

Change History (4)

comment:1 Changed 12 years ago by kaloz

  • Milestone set to 2.0

comment:2 Changed 12 years ago by tristan@…

This works for me now as of r3540, so feel free to close. Thanks!

comment:3 Changed 12 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.