Re: Linking the functions in pi-md5.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-04-25 at 17:21 -0400, Robert Cahn wrote:
> I need to write a little program that computes an md5 checksum.
> In /usr/include there is a nice header file that includes the
> functions
> 
> void MD5Init(struct MD5Context *context);
> void MD5Update(struct MD5Context *context, UINT8 const *buf, unsigned
> len); 
> void MD5Final(unsigned char digest[16], struct MD5Context *context);
> void MD5Transform(UINT32 buf[4], UINT32 const in[16]);
> 
> void byteSwap(UINT32 * buf, unsigned words);
> 
> When I do 
> 
> #include " pi-md5.h" the code compiles but the linker can't find the
> function.  Does anybody know what library contains the code?

/usr/lib/libpisock.so  Part of pilot-link-devel.  Add "-lpisock" to your
ld command line or make sure that it's in your /etc/ld.so.conf config
and run ldconfig.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-      Always remember you're unique, just like everyone else.       -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux