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

Re: Impossible to rebuild apt with rpm 4.0.4



On Thu, Mar 21, 2002 at 02:37:58PM +0100, Matthias Saou wrote:
> ): undefined reference to `mdfile' collect2: ld returned 1 exit status
-----------------------------^^^^^^

mdfile is a wrapper in lib/misc.h:

/**
 * Return MD5 sum of file as ASCII string.
 * @todo Eliminate, use beecrypt instead.
 * @param fn            file name
 * @retval digest       MD5 digest
 * @return              0 on success, 1 on error
 */
/*@unused@*/ static inline
int mdfile(const char * fn, /*@out@*/ unsigned char * digest)
        /*@globals fileSystem@*/
        /*@modifies digest, fileSystem @*/
{
    return domd5(fn, digest, 1);
}

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





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