[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: How to build slapadd for NT



Hi John

I just successfully built an NT version of openldap-2.0-alpha3 including
slapadd.exe ... using db-2.7.7 and gnu_regex.

I followed instructions at http://www.openldap.org/faq/data/cache/215.html
and built slapd.exe first, then slapadd.exe built fine ... it is possible
that slapadd.exe requires libraries built by slapd.exe but I have not
confirmed this.

James Hayes
Blockade Systems Corp.

		-----Original Message-----
		From:	Marbury, John [mailto:jmarbury@zoneworx.com]
		Sent:	Wednesday, March 01, 2000 2:23 PM
		To:	Openldap-devel@OpenLDAP.org
		Subject:	How to build slapadd for NT

		Hi,
		I am looking to get the latest build up and running on NT.
I cannot seem to
		build slapadd.  I get all sorts of undefined symbols when I
build the
		slapadd.dsp.  I worked out the regex and db libraries, but I
still get these
		undefined symbols:

		--------------------Configuration: slapadd - Win32
Debug--------------------
		Linking...
		slapadd.obj : error LNK2001: unresolved external symbol
_ch_free
		slapcommon.obj : error LNK2001: unresolved external symbol
_ch_free
		slapadd.obj : error LNK2001: unresolved external symbol
_select_backend
		slapcommon.obj : error LNK2001: unresolved external symbol
_select_backend
		slapadd.obj : error LNK2001: unresolved external symbol
_schema_check_entry
		slapadd.obj : error LNK2001: unresolved external symbol
_entry_free
		slapadd.obj : error LNK2001: unresolved external symbol
_dn_normalize
		slapcommon.obj : error LNK2001: unresolved external symbol
_dn_normalize
		slapadd.obj : error LNK2001: unresolved external symbol
_str2entry
		slapadd.obj : error LNK2001: unresolved external symbol
_ldif_read_record
		slapcommon.obj : error LNK2001: unresolved external symbol
_slap_startup
		slapcommon.obj : error LNK2001: unresolved external symbol
_backendDB
		slapcommon.obj : error LNK2001: unresolved external symbol
_ch_strdup
		slapcommon.obj : error LNK2001: unresolved external symbol
_nBackendDB
		slapcommon.obj : error LNK2001: unresolved external symbol
_read_config
		slapcommon.obj : error LNK2001: unresolved external symbol
_slap_init
		slapcommon.obj : error LNK2001: unresolved external symbol
_optind
		slapcommon.obj : error LNK2001: unresolved external symbol
_slap_debug
		slapcommon.obj : error LNK2001: unresolved external symbol
_optarg
		slapcommon.obj : error LNK2001: unresolved external symbol
_getopt
		slapcommon.obj : error LNK2001: unresolved external symbol
_lutil_progname
		slapcommon.obj : error LNK2001: unresolved external symbol
_slap_destroy
		slapcommon.obj : error LNK2001: unresolved external symbol
_slap_shutdown
		..\..\..\Debug/slapadd.exe : fatal error LNK1120: 20
unresolved externals
		Error executing link.exe.

		slapadd.exe - 24 error(s), 0 warning(s)

		Thanks in advance for the help,
		John Marbury