SUMMARY: makemap wont compile

From: Mika Tuupola (tuupola@appelsiini.net)
Date: Thu Mar 12 1998 - 10:49:43 CST


        Thanks to all who responded:
        
        Alessandro Forghieri <alf@alpha.orion.it>
        Stephen Harris <sweh@mpn.com>
        Reto Lichtensteiger <rali@meitca.com>

        The solution was simple that I was missing the following
        line from the db-1.85 Makefile:

        MISC= snprintf.o

        Added it. Recompiled db-1.85 and after that makemap
        also compiled clean. Special thanks to mr Lichtensteiger
        pointing out my mistake.

        Original question below:

        I'm having compiling makemap coming with sendmail 8.8.8.
        System is Solaris 2.5.1 with recommended patches installed.

        I have installed The Berkeley NEWDB DB 1.85 database package
        and compiled sendmail successfully. All was done following
        instructions found at:

                http://www.iicons.com/sendmail/buildme.html

        However when I try to compile makemap I get the following
        error message:

gcc -o makemap makemap.o safefile.o -L/usr/local/lib -ldb
Undefined first referenced
 symbol in file
snprintf /usr/local/lib/libdb.a(bt_open.o)
ld: fatal: Symbol referencing errors. No output written to makemap
make: *** [makemap] Error 1

        Am I missing something obvious? This question might not
        exactly belong in here but I decided to ask it in here
        since I havent had this problems in any other platforms
        I'm dealing with (mostly Digital Unix).

-- 
Mika Tuupola                    	       tuupola@appelsiini.net
Appelsiini Networks                        http://www.appelsiini.net/ 



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:33 CDT