Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure - port amd64 - lint erros on ssh/compress.c



Chris Gilbert wrote:
> Paul Goyette wrote:
>> Sources updated via CVS about 1 hour ago...
>>
>> /build/dest/amd64/usr/include/openssl/crypto.h(472): syntax error
>> 'free_func' [249]
>> /build/dest/amd64/usr/include/openssl/crypto.h(472): syntax error ')' [249]
>> /build/dest/amd64/usr/include/openssl/crypto.h(477): syntax error
>> 'free_func' [249]
>> /build/dest/amd64/usr/include/openssl/crypto.h(477): syntax error ')' [249]
>> /build/src/crypto/dist/ssh/compress.c(48): warning: conversion to 'int'
>> due to prototype, arg #4 [259]
>> /build/src/crypto/dist/ssh/compress.c(56): warning: conversion to 'int'
>> due to prototype, arg #3 [259]
>> /build/src/crypto/dist/ssh/compress.c(115): warning: conversion to
>> 'unsigned int' due to prototype, arg #3 [259]
>> /build/src/crypto/dist/ssh/compress.c(115): warning: conversion from
>> 'unsigned long' to 'unsigned int' may lose accuracy, arg #3 [298]
>> /build/src/crypto/dist/ssh/compress.c(152): warning: conversion to
>> 'unsigned int' due to prototype, arg #3 [259]
>> /build/src/crypto/dist/ssh/compress.c(152): warning: conversion from
>> 'unsigned long' to 'unsigned int' may lose accuracy, arg #3 [298]
>> *** [compress.ln] Error code 1
>> 1 error
> 
> A workaround is to add MKLINT=no to lib/libssh/Makefile
> 
> While it's hiding the issue, it does allow the build to continue (not
> sure if the build will complete and fully release, but it might do)

But that only gets you as far as:
all ===> xcvs
       link  xcvs/xcvs
/extra/dest/current/i386/lib/libcrypto.so: undefined reference to
`sha1_block_data_order'
/extra/dest/current/i386/lib/libcrypto.so: undefined reference to
`md5_block_asm_data_order'
/extra/dest/current/i386/lib/libcrypto.so: undefined reference to
`ripemd160_block_asm_data_order'
collect2: ld returned 1 exit status

It seems that the openssl import still has some work to be done to the
asm files to bring them into line with the expected naming.

Thanks
Chris


Home | Main Index | Thread Index | Old Index