On Fri, 26 Mar 1999, Ed Kubaitis wrote:
> perl ./Configure no-asm ... worked for me with 0.9.2b
> on Solaris 2.6.
You're right. That does make it compile, but I'm still having one more
problem. I need to build the SSLeay libraries as object files (or shared
libraries). I am getting the following messages:
In file included from crypto/des/read_pwd.c:125,
from crypto/crypto.c:277:
/usr/include/sgtty.h:105: warning: `FIOCLEX' redefined
/usr/include/sys/filio.h:46: warning: this is the location of the previous definition
/usr/include/sgtty.h:106: warning: `FIONCLEX' redefined
/usr/include/sys/filio.h:47: warning: this is the location of the previous definition
In file included from crypto/bn/bn_add.c:61,
from crypto/crypto.c:221:
crypto/bn/bn_lcl.h:250: conflicting types for `bn_add_words'
include/bn.h:410: previous declaration of `bn_add_words'
crypto/bn/bn_add.c: In function `BN_uadd':
In file included from crypto/crypto.c:221:
crypto/bn/bn_add.c:139: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_add.c:139: too many arguments to function `bn_add_words'
crypto/bn/bn_add.c:139: void value not ignored as it ought to be
crypto/bn/bn_mod.c: At top level:
In file included from crypto/crypto.c:228:
crypto/bn/bn_mod.c:65: redefinition of `BN_mod'
crypto/bn/bn_div.c:296: `BN_mod' previously defined here
crypto/bn/bn_mul.c: In function `bn_mul_recursive':
In file included from crypto/crypto.c:229:
crypto/bn/bn_mul.c:179: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:179: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:179: void value not ignored as it ought to be
crypto/bn/bn_mul.c:188: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:188: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:188: void value not ignored as it ought to be
crypto/bn/bn_mul.c:196: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:196: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:196: void value not ignored as it ought to be
crypto/bn/bn_mul.c: In function `bn_mul_part_recursive':
crypto/bn/bn_mul.c:314: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:314: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:314: void value not ignored as it ought to be
crypto/bn/bn_mul.c:322: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:322: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:322: void value not ignored as it ought to be
crypto/bn/bn_mul.c: In function `bn_mul_low_recursive':
crypto/bn/bn_mul.c:362: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:362: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:364: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:364: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:370: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:370: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:371: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:371: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c: In function `bn_mul_high':
crypto/bn/bn_mul.c:457: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:457: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:457: void value not ignored as it ought to be
crypto/bn/bn_mul.c:469: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:469: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:501: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:501: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:501: void value not ignored as it ought to be
crypto/bn/bn_mul.c:508: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:508: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:508: void value not ignored as it ought to be
crypto/bn/bn_mul.c:512: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:512: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:512: void value not ignored as it ought to be
crypto/bn/bn_mul.c:514: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:514: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:514: void value not ignored as it ought to be
crypto/bn/bn_mul.c:515: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:515: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:515: void value not ignored as it ought to be
crypto/bn/bn_mul.c:519: warning: passing arg 3 of `bn_add_words' makes integer from
pointer without a cast
crypto/bn/bn_mul.c:519: too many arguments to function `bn_add_words'
crypto/bn/bn_mul.c:519: void value not ignored as it ought to be
crypto/bn/bn_mulw.c: At top level:
In file included from crypto/crypto.c:231:
crypto/bn/bn_mulw.c:142: conflicting types for `bn_add_words'
crypto/bn/bn_lcl.h:250: previous declaration of `bn_add_words'
In file included from crypto/crypto.c:237:
crypto/bn/bn_sub.c:125: redefinition of `BN_sub'
crypto/bn/bn_add.c:268: `BN_sub' previously defined here
Again, if anyone can lead me in the right direction of how to fix this,
then that would be absolutely wonderful. That would get rid of one of the
major stumbling block in a project that I am working on. Thanks in
advance!
> Albert Max Lai wrote:
> >
> > On Fri, 26 Mar 1999 [EMAIL PROTECTED] wrote:
> >
> > I've been having the same problems under sparc as you have. I've moved
> > down to SSLeay-0.8.1b (since I can get it to compile), but would like to
> > use openssl. I haven't gotten any responses as to why this is happening,
> > or how fo fix this. If anyone has information on how I would do this, I
> > would be happy to hear about it.
> >
> > > Undefined first referenced
> > > symbol in file
> > > bn_mul_comba4 ../libcrypto.a(bn_mul.o)
> > > bn_mul_comba8 ../libcrypto.a(bn_mul.o)
> > > bn_sqr_comba4 ../libcrypto.a(bn_sqr.o)
> > > bn_sqr_comba8 ../libcrypto.a(bn_sqr.o)
> > > bn_sub_words ../libcrypto.a(bn_mul.o)
> > > bn_div_words ../libcrypto.a(bn_word.o)
> > > ld: fatal: Symbol referencing errors. No output written to openssl
> > >
> > > Either asm/sparc.s needs to be fixed, or Configure needs to have all
> > > references to it removed.
--
Albert Lai <[EMAIL PROTECTED]> 1018D East Campus
Residential Computer Consultant 411 W. 116th St.
Columbia University New York, NY 10027
http://www.columbia.edu/~aml61 (212)853-4854
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]