kakuustaad
10-05-2001, 04:56 AM
hii .. i am getting this error while trying to install sendmail ..
------------------------------------------
[root@jades obj.Linux.2.4.2-2.i586]# make
cc -o sendmail alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o mci.o mime.o parseaddr.o queue.o readcf.o recipient.o savemail.o srvrsmtp.o stab.o stats.o sysexits.o trace.o udb.o usersmtp.o util.o version.o -L/usr/local/lib -lgdbm
conf.o: In function `setupmaps':
conf.o(.text+0x346): undefined reference to `hash_map_open'
conf.o(.text+0x34d): undefined reference to `db_map_close'
conf.o(.text+0x354): undefined reference to `db_map_lookup'
conf.o(.text+0x35b): undefined reference to `db_map_store'
conf.o(.text+0x38e): undefined reference to `bt_map_open'
conf.o(.text+0x395): undefined reference to `db_map_close'
conf.o(.text+0x39c): undefined reference to `db_map_lookup'
conf.o(.text+0x3a3): undefined reference to `db_map_store'
conf.o(.text+0x3d6): undefined reference to `ndbm_map_open'
conf.o(.text+0x3dd): undefined reference to `ndbm_map_close'
conf.o(.text+0x3e4): undefined reference to `ndbm_map_lookup'
conf.o(.text+0x3eb): undefined reference to `ndbm_map_store'
conf.o(.text+0x624): undefined reference to `udb_map_lookup'
domain.o: In function `getmxrr':
domain.o(.text+0xbc): undefined reference to `__res_query'
domain.o(.text+0xca): undefined reference to `__res_search'
domain.o(.text+0x21f): undefined reference to `__dn_skipname'
domain.o(.text+0x2f9): undefined reference to `__dn_expand'
domain.o(.text+0x44f): undefined reference to `__dn_expand'
domain.o: In function `dns_getcanonname':
domain.o(.text+0xbc8): undefined reference to `__res_querydomain'
domain.o(.text+0xcef): undefined reference to `__dn_skipname'
domain.o(.text+0xede): undefined reference to `__dn_expand'
domain.o(.text+0xf23): undefined reference to `__dn_expand'
envelope.o: In function `setsender':
envelope.o(.text+0xfb8): undefined reference to `udbsender'
headers.o: In function `commaize':
headers.o(.text+0x1a7b): undefined reference to `udbsender'
collect2: ld returned 1 exit status
make: *** [sendmail] Error 1
[root@jades obj.Linux.2.4.2-2.i586]#
---------------------------------------------
i have even removed BERKELY db suppport and well as BIND .. but can anyone tell me what is this BERKELy db thing ? i just read it in OREILLy sendmail reference book that i have to removed it , soo i did
------------------------------------------
[root@jades obj.Linux.2.4.2-2.i586]# make
cc -o sendmail alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o mci.o mime.o parseaddr.o queue.o readcf.o recipient.o savemail.o srvrsmtp.o stab.o stats.o sysexits.o trace.o udb.o usersmtp.o util.o version.o -L/usr/local/lib -lgdbm
conf.o: In function `setupmaps':
conf.o(.text+0x346): undefined reference to `hash_map_open'
conf.o(.text+0x34d): undefined reference to `db_map_close'
conf.o(.text+0x354): undefined reference to `db_map_lookup'
conf.o(.text+0x35b): undefined reference to `db_map_store'
conf.o(.text+0x38e): undefined reference to `bt_map_open'
conf.o(.text+0x395): undefined reference to `db_map_close'
conf.o(.text+0x39c): undefined reference to `db_map_lookup'
conf.o(.text+0x3a3): undefined reference to `db_map_store'
conf.o(.text+0x3d6): undefined reference to `ndbm_map_open'
conf.o(.text+0x3dd): undefined reference to `ndbm_map_close'
conf.o(.text+0x3e4): undefined reference to `ndbm_map_lookup'
conf.o(.text+0x3eb): undefined reference to `ndbm_map_store'
conf.o(.text+0x624): undefined reference to `udb_map_lookup'
domain.o: In function `getmxrr':
domain.o(.text+0xbc): undefined reference to `__res_query'
domain.o(.text+0xca): undefined reference to `__res_search'
domain.o(.text+0x21f): undefined reference to `__dn_skipname'
domain.o(.text+0x2f9): undefined reference to `__dn_expand'
domain.o(.text+0x44f): undefined reference to `__dn_expand'
domain.o: In function `dns_getcanonname':
domain.o(.text+0xbc8): undefined reference to `__res_querydomain'
domain.o(.text+0xcef): undefined reference to `__dn_skipname'
domain.o(.text+0xede): undefined reference to `__dn_expand'
domain.o(.text+0xf23): undefined reference to `__dn_expand'
envelope.o: In function `setsender':
envelope.o(.text+0xfb8): undefined reference to `udbsender'
headers.o: In function `commaize':
headers.o(.text+0x1a7b): undefined reference to `udbsender'
collect2: ld returned 1 exit status
make: *** [sendmail] Error 1
[root@jades obj.Linux.2.4.2-2.i586]#
---------------------------------------------
i have even removed BERKELY db suppport and well as BIND .. but can anyone tell me what is this BERKELy db thing ? i just read it in OREILLy sendmail reference book that i have to removed it , soo i did