8devices Community
https://www.8devices.com/community/

compile openssh server error : 'EVP_ripemd160' undeclared
https://www.8devices.com/community/viewtopic.php?f=13&t=656
Page 1 of 1

Author:  shroukkhan [ 23 Dec 2013, 09:47 ]
Post subject:  compile openssh server error : 'EVP_ripemd160' undeclared

hi guys,
when trying to compile openssh-server openwrt for carambola2 , it fails with the following error:

make[3]: Leaving directory `/home/khan/carambola2.pristine/package/libs/openssl'
make[3]: Entering directory `/home/khan/carambola2.pristine/feeds/packages/net/openssh'
make -C /home/khan/carambola2.pristine/build_dir/target-mips_r2_uClibc-0.9.33.2/openssh-without-pam/openssh-6.4p1 DESTDIR="/home/khan/carambola2.pristine/build_dir/target-mips_r2_uClibc-0.9.33.2/openssh-without-pam/openssh-6.4p1/ipkg-install" LIBS="" sftp-server
make[4]: Entering directory `/home/khan/carambola2.pristine/build_dir/target-mips_r2_uClibc-0.9.33.2/openssh-without-pam/openssh-6.4p1'
(cd openbsd-compat && make)
make[5]: Entering directory `/home/khan/carambola2.pristine/build_dir/target-mips_r2_uClibc-0.9.33.2/openssh-without-pam/openssh-6.4p1/openbsd-compat'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/khan/carambola2.pristine/build_dir/target-mips_r2_uClibc-0.9.33.2/openssh-without-pam/openssh-6.4p1/openbsd-compat'
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fno-builtin-memset -I. -I. -I/home/khan/carambola2.pristine/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/home/khan/carambola2.pristine/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/home/khan/carambola2.pristine/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_uClibc-0.9.33.2/usr/include -I/home/khan/carambola2.pristine/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_uClibc-0.9.33.2/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c mac.c
mac.c:73:33: error: 'EVP_ripemd160' undeclared here (not in a function)
make[4]: *** [mac.o] Error 1
make[4]: Leaving directory `/home/khan/carambola2.pristine/build_dir/target-mips_r2_uClibc-0.9.33.2/openssh-without-pam/openssh-6.4p1'
make[3]: *** [/home/khan/carambola2.pristine/build_dir/target-mips_r2_uClibc-0.9.33.2/openssh-without-pam/openssh-6.4p1/.built] Error 2
make[3]: Leaving directory `/home/khan/carambola2.pristine/feeds/packages/net/openssh'
make[2]: *** [package/feeds/packages/openssh/compile] Error 2
make[2]: Leaving directory `/home/khan/carambola2.pristine'
make[1]: *** [/home/khan/carambola2.pristine/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/khan/carambola2.pristine'
make: *** [world] Error 2


Does anyone have any idea whats going on?

Author:  shroukkhan [ 23 Dec 2013, 13:01 ]
Post subject:  Re: compile openssh server error : 'EVP_ripemd160' undeclare

this error persists probably in the carambola2 packages.
In order to fix it temporarily ( though it works fine ) i copied the ./feeds/packages/net/openssh from a compilation of carambola1 to the same folder of carambola2 and recompiled carambola2. it works fine now

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/