Date: Thu, 25 Nov 2004 13:55:26 +0300 From: Tarc <tarc@po.cs.msu.su> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: md5 problems Message-ID: <20041125105526.GA6346@tarc.po.cs.msu.su> In-Reply-To: <200410151131.50690.ian@codepad.net> References: <200410151131.50690.ian@codepad.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 15, 2004 at 11:31:50AM +0100, Xian wrote: > I am trying to compile a program using md5 and I had some problems. So I made > a test program to see if I was using it properly, and it still doesn't work. > ... > The problem is it won't compile giving: > [ian@hercules:~/devel] %g++ md5.cpp -o md5 > /tmp/cc8WdTS0.o: In function `main': > /tmp/cc8WdTS0.o(.text+0x57): undefined reference to `MD5Data' > > It looks like I am missing a .o file or something. I am reasonably new to C++ > so any kind of help will be much appreciated. You forget add the libmd with compilation (see manuals) try %g++ md5.cpp -o md5 -lmd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041125105526.GA6346>