Hi All,

I have a problem compiling nail under Solaris 10 x86 (see log below). Is it related to the new version of OpenSSL ?

How can I fix this issue?

Thanks a lot in advance.

Regards,
Olivier

============================================
/openpkg/bin/cc -O2 -pipe -I/openpkg/include -DMAILRC='"/openpkg/etc/nail/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/openpkg/sbin/sendmail"' -c openssl.c openssl.c:108: error: expected declaration specifiers or '...' before 'STACK'
openssl.c: In function 'ssl_select_method':
openssl.c:215: warning: assignment discards qualifiers from pointer target type openssl.c:217: warning: assignment discards qualifiers from pointer target type openssl.c:219: warning: assignment discards qualifiers from pointer target type openssl.c:223: warning: assignment discards qualifiers from pointer target type openssl.c:226: warning: assignment discards qualifiers from pointer target type
openssl.c: In function 'ssl_check_host':
openssl.c:311: error: 'STACK' undeclared (first use in this function)
openssl.c:311: error: (Each undeclared identifier is reported only once
openssl.c:311: error: for each function it appears in.)
openssl.c:311: error: 'gens' undeclared (first use in this function)
openssl.c: At top level:
openssl.c:499: error: expected declaration specifiers or '...' before 'STACK'
openssl.c: In function 'smime_verify':
openssl.c:508: error: 'STACK' undeclared (first use in this function)
openssl.c:508: error: 'certs' undeclared (first use in this function)
openssl.c:508: error: 'gens' undeclared (first use in this function)
openssl.c:555: error: 'chain' undeclared (first use in this function)
openssl.c: In function 'cverify':
openssl.c:617: error: 'STACK' undeclared (first use in this function)
openssl.c:617: error: 'chain' undeclared (first use in this function)
openssl.c:649: error: too many arguments to function 'smime_verify'
openssl.c: In function 'smime_encrypt':
openssl.c:690: error: 'STACK' undeclared (first use in this function)
openssl.c:690: error: 'certs' undeclared (first use in this function)
openssl.c: In function 'smime_certsave':
openssl.c:953: error: 'STACK' undeclared (first use in this function)
openssl.c:953: error: 'certs' undeclared (first use in this function)
openssl.c:955: error: 'chain' undeclared (first use in this function)
make: *** [openssl.o] Error 1
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.7869 (%build)


RPM build errors:
   Bad exit status from /openpkg/RPM/TMP/rpm-tmp.7869 (%build)
============================================

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to