arm linux openssh交叉编译出现如下错误

版本:openssh-6.3P1

尝试了许多方法,始终无法解决这种错误,修改了头文件,旧的错误没了,其他文件又会出现类似错误,最后还是必须配置openssl-0.9.8版本,完美编译通过。最新的openssl-1.x以后版本,仍会出现如下错误。


H -c authfd.c

In file included from authfd.c:60:0:
cipher.h:93:17: error: field ‘evp’ has incomplete type
In file included from authfd.c:61:0:
kex.h:107:11: error: field ‘evp_ctx’ has incomplete type
authfd.c: In function ‘ssh_get_next_identity’:
authfd.c:334:48: error: dereferencing pointer to incomplete type
authfd.c:335:48: error: dereferencing pointer to incomplete type
authfd.c:337:33: error: dereferencing pointer to incomplete type
authfd.c:340:28: error: dereferencing pointer to incomplete type
authfd.c: In function ‘ssh_decrypt_challenge’:
authfd.c:384:46: error: dereferencing pointer to incomplete type
authfd.c:385:37: error: dereferencing pointer to incomplete type
authfd.c:386:37: error: dereferencing pointer to incomplete type
authfd.c: In function ‘ssh_encode_identity_rsa1’:
authfd.c:463:35: error: dereferencing pointer to incomplete type
authfd.c:464:26: error: dereferencing pointer to incomplete type
authfd.c:465:26: error: dereferencing pointer to incomplete type
authfd.c:466:26: error: dereferencing pointer to incomplete type
authfd.c:468:26: error: dereferencing pointer to incomplete type
authfd.c:469:26: error: dereferencing pointer to incomplete type
authfd.c:470:26: error: dereferencing pointer to incomplete type
authfd.c: In function ‘ssh_encode_identity_ssh2’:
authfd.c:480:33: error: dereferencing pointer to incomplete type
authfd.c:481:33: error: dereferencing pointer to incomplete type
authfd.c:482:33: error: dereferencing pointer to incomplete type
authfd.c:483:33: error: dereferencing pointer to incomplete type
authfd.c:484:33: error: dereferencing pointer to incomplete type
authfd.c:485:33: error: dereferencing pointer to incomplete type
authfd.c:493:33: error: dereferencing pointer to incomplete type
authfd.c:494:33: error: dereferencing pointer to incomplete type
authfd.c:495:33: error: dereferencing pointer to incomplete type
authfd.c:496:33: error: dereferencing pointer to incomplete type
authfd.c:499:33: error: dereferencing pointer to incomplete type
authfd.c:500:33: error: dereferencing pointer to incomplete type
authfd.c:501:33: error: dereferencing pointer to incomplete type
authfd.c:502:33: error: dereferencing pointer to incomplete type
authfd.c:503:33: error: dereferencing pointer to incomplete type
authfd.c:511:33: error: dereferencing pointer to incomplete type
authfd.c: In function ‘ssh_remove_identity’:
authfd.c:606:44: error: dereferencing pointer to incomplete type
authfd.c:607:35: error: dereferencing pointer to incomplete type
authfd.c:608:35: error: dereferencing pointer to incomplete type
make: *** [authfd.o] Error 1

你可能感兴趣的:(嵌入式软件)