Subject: -current build failing in usr.sbin/racoon
To: None <current-users@netbsd.org>
From: Arto Selonen <arto@selonen.org>
List: current-users
Date: 02/22/2005 14:04:52
Hi!

Got sources from us2 anoncvs-mirror this morning (20050222).
Building -current fails in usr.sbin/racoon in the following manner:

#      link  racoon/racoon
/obj/i386/tools/bin/i386--netbsdelf-gcc -Wl,-nostdlib     -o racoon 
-Wl,-rpath-link,/obj/destdir/lib:/obj/destdir/usr/lib  -L/obj/destdir/lib 
-B/obj/destdir/usr/lib/ -B/obj/destdir/usr/lib/   main.o session.o 
isakmp.o handler.o isakmp_ident.o isakmp_agg.o isakmp_base.o 
isakmp_quick.o isakmp_inf.o isakmp_newg.o gssapi.o dnssec.o 
getcertsbyname.o privsep.o pfkey.o admin.o evt.o ipsec_doi.o oakley.o 
grabmyaddr.o vendorid.o policy.o localconf.o remoteconf.o crypto_openssl.o 
algorithm.o proposal.o sainfo.o strnames.o plog.o logger.o schedule.o 
str2val.o safefile.o backupsa.o genlist.o rsalist.o cftoken.o cfparse.o 
prsa_tok.o prsa_par.o isakmp_xauth.o isakmp_cfg.o isakmp_unity.o 
throttle.o isakmp_frag.o nattraversal.o vmbuf.o sockmisc.o misc.o sha2.o 
-ll -ly -lipsec -lcrypto -lradius -lgssapi -lkrb5 -lcom_err -lroken -lasn1 
-lcrypto_idea /obj/destdir/usr/lib/libcrypto_idea.a -lcrypto_rc5 
/obj/destdir/usr/lib/libcrypto_rc5.a   -L/obj/destdir/usr/lib 
-L/obj/destdir/usr/lib
algorithm.o(.data+0x170): undefined reference to `eay_idea_encrypt'
algorithm.o(.data+0x174): undefined reference to `eay_idea_decrypt'
algorithm.o(.data+0x178): undefined reference to `eay_idea_weakkey'
algorithm.o(.data+0x17c): undefined reference to `eay_idea_keylen'
algorithm.o(.data+0x1b0): undefined reference to `eay_rc5_encrypt'
algorithm.o(.data+0x1b4): undefined reference to `eay_rc5_decrypt'
algorithm.o(.data+0x1b8): undefined reference to `eay_rc5_weakkey'
algorithm.o(.data+0x1bc): undefined reference to `eay_rc5_keylen'
algorithm.o(.data+0x29c): undefined reference to `eay_rc5_keylen'
collect2: ld returned 1 exit status

*** Failed target:  racoon
*** Failed command: /obj/i386/tools/bin/i386--netbsdelf-gcc -Wl,-nostdlib 
-o racoon -Wl,-rpath-link,/obj/destdir/lib:/obj/destdir/usr/lib 
-L/obj/destdir/lib -B/obj/destdir/usr/lib/ -B/obj/destdir/usr/lib/ main.o 
session.o isakmp.o handler.o isakmp_ident.o isakmp_agg.o isakmp_base.o 
isakmp_quick.o isakmp_inf.o isakmp_newg.o gssapi.o dnssec.o 
getcertsbyname.o privsep.o pfkey.o admin.o evt.o ipsec_doi.o oakley.o 
grabmyaddr.o vendorid.o policy.o localconf.o remoteconf.o crypto_openssl.o 
algorithm.o proposal.o sainfo.o strnames.o plog.o logger.o schedule.o 
str2val.o safefile.o backupsa.o genlist.o rsalist.o cftoken.o cfparse.o 
prsa_tok.o prsa_par.o isakmp_xauth.o isakmp_cfg.o isakmp_unity.o 
throttle.o isakmp_frag.o nattraversal.o vmbuf.o sockmisc.o misc.o sha2.o 
-ll -ly -lipsec -lcrypto -lradius -lgssapi -lkrb5 -lcom_err -lroken -lasn1 
-lcrypto_idea /obj/destdir/usr/lib/libcrypto_idea.a -lcrypto_rc5 
/obj/destdir/usr/lib/libcrypto_rc5.a -L/obj/destdir/usr/lib 
-L/obj/destdir/usr/lib
*** Error code 1

Stop.
nbmake: stopped in /cvs/src/usr.sbin/racoon


I realize this may be related to ipsec-tools commit last weekend.
I've tried updating sources and re-building a couple of times without
any effect. Should I wait for a better anoncvs snapshot, or does this 
require modifications to code, or am I missing some extra step required
to get back on track?


Artsi
-- 
#######======------  http://www.selonen.org/arto/  --------========########
Everstinkuja 5 B 35                               Don't mind doing it.
FIN-02600 Espoo        arto@selonen.org         Don't mind not doing it.
Finland              tel +358 50 560 4826     Don't know anything about it.