Re: DBMalloc

From: Sammy (samedi@DHC.NET)
Date: 10/01/97


On Wed, 1 Oct 1997, Akuma/Chris Baggett/DOOMer wrote:

> i tried this, and it doesn't work
>
> at the end of the line that looks like this right? :
>         $(CC) -o ../bin/circle $(PROFILE) $(OBJFILES) -lm
> i put   -ldbmalloc   -(L)dbmalloc

In my limited custom-library experience, I've found that all I need to do
is tack lib<name>.a on the end of the object files list.  I think using
the -l link flag is telling your compiler to look for that library in the
/usr/lib directory.

After looking in Makefile.in, I think you can fix your problem just by
defining:

LIBOBJS = libdbmalloc.a

Looks like Jeremey anticipated something like this and provided for adding
extra lib files.

Sam


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST