Re: Can't compile 1.71/1.73 on SunOS4.1.3_U1

Top Page
Delete this message
Reply to this message
Author: Nigel Metheringham
Date:  
To: Philip Hazel
CC: Espen Lyngaas, exim-users
Subject: Re: Can't compile 1.71/1.73 on SunOS4.1.3_U1
} On Sun, 12 Oct 1997, Espen Lyngaas wrote:
} 
} > (New to list :)
} > 
} > Have tried to compile both 1.71 and 1.73 on SunOS4.1.3_U1 (gcc). Same result
} > with both. Is this a case of missing/broken dbm support?
} 
} >  ld: Undefined symbol
} >     _dbm_dirfno
} 
} Looks like it. Are your ndbm libraries in some non-standard place? Have 
} a look at "man ndbm" to see if there is anything there to help. You 
} might have to set up some additional library to be scanned by setting 
} LIBS= in Local/Makefile.


dbm_dirfno() is a macro in /usr/include/ndbm.h

I'd suggest that your installation of gcc - in particular the "fixed"
includes part of it is rather broken (normally gcc doesn't modify that
include file on install).

Berkeley db works well on SunOS, but can be a pig to install. Maybe you
should look at using GNU gdbm in place of ndbm (or alternatively have you
got some past install of a dbm replacement library that has dropped an
ndbm.h file in your include search path??).

    Nigel.


-- 
[ Nigel.Metheringham@???   -  Systems Software Engineer ]
[ Tel : +44 113 251 6012                   Fax : +44 113 224 0003 ]
[            Friends don't let friends use sendmail!              ]




--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/