Não é possível fazer o openSSH para multi-plataforma (ARMS)

0

Eu sou capaz de construir fontes openSSH para plataformas cruzadas, mas não é capaz de fazer com sucesso, com os seguintes erros:

  make[1]: Entering directory '/home/aa/Hi3536_SDK_V2.0.4.0/openssh-6.6p1/openbsd-compat'
arm-hisiv400-linux-g++ -I/home/aa/Hi3536_SDK_V2.0.4.0/zlibArm/include -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-all  -I. -I.. -I. -I./.. -I/home/aa/Hi3536_SDK_V2.0.4.0/opensslArm/include -I/home/aa/Hi3536_SDK_V2.0.4.0/zlibArm/include  -DHAVE_CONFIG_H -c arc4random.c
In file included from ../openbsd-compat/openbsd-compat.h:157:0,
                 from ../includes.h:174,
                 from arc4random.c:27:
../openbsd-compat/bsd-misc.h:35:5: error: previous declaration of ‘int setlogin(const char*)’ with ‘C++’ linkage
 int setlogin(const char *);
     ^
In file included from /opt/hisi-linux/x86-arm/arm-hisiv400-linux/target/usr/include/features.h:375:0,
                 from /opt/hisi-linux/x86-arm/arm-hisiv400-linux/target/usr/include/sys/types.h:25,
                 from ../includes.h:25,
                 from arc4random.c:27:
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/target/usr/include/unistd.h:884:50: error: conflicts with new declaration with ‘C’ linkage
 extern int setlogin (const char *__name) __THROW __nonnull ((1));
                                                  ^
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/target/usr/include/unistd.h:884:50: error: declaration of ‘int setlogin(const char*) throw ()’ has a different exception specifier
In file included from ../openbsd-compat/openbsd-compat.h:157:0,
                 from ../includes.h:174,
                 from arc4random.c:27:
../openbsd-compat/bsd-misc.h:35:5: error: from previous declaration ‘int setlogin(const char*)’
 int setlogin(const char *);
     ^
In file included from arc4random.c:42:0:
chacha_private.h:51:31: error: initializer-string for array of chars is too long [-fpermissive]
 static const char sigma[16] = "expand 32-byte k";
                               ^
chacha_private.h:52:29: error: initializer-string for array of chars is too long [-fpermissive]
 static const char tau[16] = "expand 16-byte k";
                             ^
Makefile:26: recipe for target 'arc4random.o' failed
make[1]: *** [arc4random.o] Error 1
make[1]: Leaving directory '/home/aa/Hi3536_SDK_V2.0.4.0/openssh-6.6p1/openbsd-compat'
Makefile:142: recipe for target 'openbsd-compat/libopenbsd-compat.a' failed
make: *** [openbsd-compat/libopenbsd-compat.a] Error 2

Alguém sabe qual é o problema? Obrigado!

    
por emddev 27.10.2016 / 04:49

0 respostas

Tags