> On Wed, 10 May 2006 00:22:28 +0100, Peter Flynn
<peter silmaril.ie> wrote:
>
> > so I copied md5.h from /usr/include/pppd to
/usr/include
> > and downloaded a copy of des.h from
> > http://www.ussrback.com/crypto/cracking-des/cr
acking-des/ch5/des.h
>
> I should have RTF mail archive To fix
this, install openssl-devel
> (this needs documenting in the INSTALL file as
openssl-devel is not
> installed by default.)
>
> Then to make it xmake, in lib/defs.h, <md5.h> and
<des.h> must be
> <openssl/md5.h> and <openssl/des.h>
>
> There appears to be a typo in dreaderd/main.c
> Prototype struct vserver VServerConfig[];
> must be capitalized to
> Prototype struct Vserver VServerConfig[];
>
> Then it xmakes nearly all the way through, except for
linking:
> in XMakefile.inc:
> Add -lssl to LFLAGS in line 23
> Add -lssl to LFLAGS in the #ifdef block for
__linux__
>
> The -lssl resolves the missing dependencies except for
one reference
> to MD5Data in dreaderd/post.c which I don't know how
to fix:
>
> > (cd dreaderd; xmake all)
> > gcc -g -O2 -Wall -Wstrict-prototypes -I../
'-DVERS="5.0"'
> > '-DSUBREV="REL"'
-D_FILE_OFFSET_BITS=64 ../obj/dr_main.o ../obj/dr_thread.o
> > ../obj/dr_reader.o ../obj/dr_dns.o
../obj/dr_mbuf.o ../obj/dr_subs.o
> > ../obj/dr_list.o ../obj/dr_feed.o
../obj/dr_xover.o ../obj/dr_nntp.o
> > ../obj/dr_misc.o ../obj/dr_post.o
../obj/dr_server.o ../obj/dr_group.o
> > ../obj/dr_spool.o ../obj/dr_cache.o
../obj/dr_rtstatus.o ../obj/dr_control.o
> > ../obj/dr_wildorcmp.o ../obj/dr_cancel.o
../obj/dr_post-addr-ck.o
> > ../obj/dr_cleanfrom.o ../obj/dr_msg.o
../obj/dr_dfa.o -o ../dbin/dreaderd
> > -L../obj -lfilter -ldiablo -lm -lz -lrt -lcrypto
-lssl
^^^ -lmd
> > ../obj/dr_post.o(.text+0x89): In function
`NNPHMangle':
> > /tmp/diablo-5.0-REL/dreaderd/post.c:67: undefined
reference to `MD5Data'
> > collect2: ld returned 1 exit status
> > (all : ../dbin/dreaderd) failed code 1.
> > xmake Exit 1
> > xmake Exit 1
>
> Can someone point me at a solution for this. My C
ain't good enough.
Need to have -lmd in there to link the MD5 functions...
... JG
--
Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net
"We call it the 'one bite at the apple' rule. Give
me one chance [and] then I
won't contact you again." - Direct Marketing Ass'n
position on e-mail spam(CNN)
With 24 million small businesses in the US alone, that's
way too many apples.
_______________________________________________
Diablo-users mailing list
Diablo-users openusenet.org
htt
p://www.plig.net/mailman/listinfo/diablo-users
|