At 12:10 15/04/07 -0400, Woodchuck wrote:
>The required symbols are in /usr/include/openssl/obj_mac.h
>That file should have been included in rsa_x931.c implicitly,
>when rsa_x931.c included /usr/include/openssl/objects.h
>
>I believe your copy of rsa_x931.c must be corrupt.
>
>This is from my source archive (OPENBSD_4) i.e. "stable":
>[EMAIL PROTECTED] lib 0:18]# sha1 libssl/src/crypto/rsa/rsa_x931.c
>SHA1 (libssl/src/crypto/rsa/rsa_x931.c) =
>33a25cba2f3e0413bb2581d1ef89bb22cd7a2771
>[EMAIL PROTECTED] lib 0:19]# wc libssl/src/crypto/rsa/rsa_x931.c
> 177 677 4665 libssl/src/crypto/rsa/rsa_x931.c
Mine too. What I do is download src.tar.gz and sys.tar.gz and untar
them in /usr/src.
$ sha1 libssl/src/crypto/rsa/rsa_x931.c
SHA1 (libssl/src/crypto/rsa/rsa_x931.c) =
33a25cba2f3e0413bb2581d1ef89bb22cd7a2771
$ wc libssl/src/crypto/rsa/rsa_x931.c
177 677 4665 libssl/src/crypto/rsa/rsa_x931.c
>My advice is to rm rsa_x931.c and to get a fresh copy by CVS.
>
># cd /usr/src/lib/libssl/src/crypto/rsa
># mv rsa_x931.c rsa_x931.bogus.c
># cvs up -Pd
>## then:
># diff -u rsa_x931.bogus.c rsa_x931.c # and tell us the difference
>
>Assuming, of course, that you're set up for CVS.
I am. But apparently this isn't the problem. After the update:
$ ls -l rsa_x*
-rw-r--r-- 1 root wheel 4665 Jun 27 2006 rsa_x931.bogus.c
-rw-r--r-- 1 root wheel 4665 Apr 15 17:28 rsa_x931.c
$ diff rsa_x931.bogus.c rsa_x931.c
I think I must have done something to the machine itself, added some
file or symlink somewhere, that makes it different from my test box (I
updated both machines exactly the same way following the Update FAQ),
because yesterday I successfully compiled swish-e on my test box, but
when I tried to compile it today on the real box it too failed. (I've
appended the end of its output to this message.)
If you were in my shoes where would you start looking for the
difference between the two machines? My idea is to make a list of
every file on each machine that *isn't* in the distribution, eliminate
those that are the same, and see what I'm left with.
Thanks for your comments.
Lou
*****************************************
Here's how the swish-e compilation failed:
/usr/local/src/swish-e-2.4.5/src/swish.c:1197: warning: strcpy() is
almost always misused, please use strlcpy()
swish.o(.text+0xd97):/usr/local/src/swish-e-2.4.5/src/swish.c:1032:
warning: sprintf() is often misused, please use snprintf()
./.libs/libswishindex.a(fs.o)(.text+0x295): In function `get_rules':
/usr/local/src/swish-e-2.4.5/src/fs.c:219: warning: strcat() is almost
always misused, please use strlcat()
/usr/bin/ld: warning: libz.so.3.0, needed by
/usr/local/lib/libswish-e.so.2.0, may conflict with libz.so.4.1
/usr/bin/ld: warning: libm.so.1.0, needed by
/usr/local/lib/libswish-e.so.2.0, may conflict with libm.so.2.3
swish.o(.text+0x1ac3): In function `write_index_file':
/usr/local/src/swish-e-2.4.5/src/swish.c:1689: undefined reference to
`comma_long'
swish.o(.text+0x1b2a):/usr/local/src/swish-e-2.4.5/src/swish.c:1713:
undefined reference to `comma_long'
swish.o(.text+0x1b43):/usr/local/src/swish-e-2.4.5/src/swish.c:1716:
undefined reference to `comma_long'
swish.o(.text+0x1b5c):/usr/local/src/swish-e-2.4.5/src/swish.c:1718:
undefined reference to `comma_long'
dump.o(.text+0x6f): In function `dump_index_file_list':
/usr/local/src/swish-e-2.4.5/src/dump.c:73: undefined reference to
`getTotalWordsInFile'
dump.o(.text+0x2b2): In function `dump_word_count':
/usr/local/src/swish-e-2.4.5/src/dump.c:168: undefined reference to
`getTotalWordsInFile'
./.libs/libswishindex.a(index.o)(.text+0x23b4): In function
`sort_words':
/usr/local/src/swish-e-2.4.5/src/index.c:1978: undefined reference to
`comma_long'
./.libs/libswishindex.a(index.o)(.text+0x3050): In function
`indexstring':
/usr/local/src/swish-e-2.4.5/src/index.c:2725: undefined reference to
`fuzzy_convert'
./.libs/libswishindex.a(index.o)(.text+0x30b5):/usr/local/src/swish-e-2.4.5/src/index.c:2749:
undefined r
eference to `fuzzy_free_word'
./.libs/libswishindex.a(merge.o)(.text+0x90f): In function
`check_header_match':
/usr/local/src/swish-e-2.4.5/src/merge.c:451: undefined reference to
`fuzzy_mode_value'
./.libs/libswishindex.a(merge.o)(.text+0x91d):/usr/local/src/swish-e-2.4.5/src/merge.c:451:
undefined ref
erence to `fuzzy_mode_value'
./.libs/libswishindex.a(merge.o)(.text+0x932):/usr/local/src/swish-e-2.4.5/src/merge.c:452:
undefined ref
erence to `fuzzy_string'
./.libs/libswishindex.a(merge.o)(.text+0x944):/usr/local/src/swish-e-2.4.5/src/merge.c:452:
undefined ref
erence to `fuzzy_string'
./.libs/libswishindex.a(merge.o)(.text+0xc31): In function
`make_meta_map':
/usr/local/src/swish-e-2.4.5/src/merge.c:502: undefined reference to
`cloneMetaEntry'
./.libs/libswishindex.a(db_write.o)(.text+0x22b): In function
`write_header':
/usr/local/src/swish-e-2.4.5/src/db_write.c:127: undefined reference to
`fuzzy_mode_value'
collect2: ld returned 1 exit status
*** Error code 1
Stop in /usr/local/src/swish-e-2.4.5/src (line 453 of Makefile).
*** Error code 1
Stop in /usr/local/src/swish-e-2.4.5/src (line 613 of Makefile).
*** Error code 1
Stop in /usr/local/src/swish-e-2.4.5/src (line 331 of Makefile).
*** Error code 1
Stop in /usr/local/src/swish-e-2.4.5 (line 444 of Makefile).
--
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://visca.com
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies