[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: magic-smtpd make problems
- To: <magicmail-users@linuxmagic.com>
- Subject: FW: magic-smtpd make problems
- From: "Drakopoulos Takis" <Tdrakop@cti.gr>
- Date: Wed, 22 Oct 2003 15:49:08 +0300
- Delivered-to: mailing list magicmail-users@linuxmagic.com
- Mailing-list: contact magicmail-users-help@linuxmagic.com; run by ezmlm
- Thread-index: AcOX6lutMPMwotJJQJaJTwHtqVmr8wArzsHg
- Thread-topic: magic-smtpd make problems
After I installed BerkeleyDB.3.3 it passed almost all stages until the
last (I think):
bash-2.05# gmake _LMRELEASE=1
...
...
...
gcc -O2 -fomit-frame-pointer -fno-strict-aliasing -L./lmlibs -o
magic-smtpd magic-smtpd.o config_common.o config_msd.o config_qmail.o
config_spam_rule.o config_virus_rule.o check_user.o check_user_fs.o
auth.o auth_chkp.o b64.o spam_check.o smtp_check.o smtp.o cdb.o
strlist.o utils.o common/spam_log.o ip2country.o getmx.o mod_dbfile.o
libgetbdb.o common/load_rules.o common/clean_rules.o common/stopwatch.o
common/read_rules.o write_spam_log.o -llm -lresolv -lcrypt -ldb
Undefined first referenced
symbol in file
connect smtp_check.o (symbol belongs to
implicit dependency /usr/lib/libsocket.so.1)
gethostbyaddr smtp_check.o (symbol belongs to
implicit dependency /usr/lib/libnsl.so.1)
socket smtp_check.o (symbol belongs to
implicit dependency /usr/lib/libsocket.so.1)
strnlen ./lmlibs/liblm.a(lmstring.o)
gethostbyname smtp_check.o (symbol belongs to
implicit dependency /usr/lib/libnsl.so.1)
setenv magic-smtpd.o
ld: fatal: Symbol referencing errors. No output written to magic-smtpd
collect2: ld returned 1 exit status
gmake: *** [magic-smtpd] Error 1
bash-2.05#
-----Original Message-----
From: Michael Peddemors [mailto:michael@wizard.ca]
Sent: Tuesday, October 21, 2003 6:50 PM
To: Drakopoulos Takis
Subject: Re: magic-smtpd make problems
DId your mail not make it to magicmail-users@linuxmagic.com? Actually,
this shoudl be a FAQ in the current version.. You need the db3 library
files..
On October 21, 2003 11:19 am, you wrote:
> -----Original Message-----
> From: Drakopoulos Takis
> Sent: Monday, October 20, 2003 7:48 PM
> To: 'magicmail-users@linuxmagic.com'
> Cc: Drakopoulos Takis
> Subject: magic-smtpd make problems
>
>
> Hello,
> I have some problems making the smtpd and maybe you could help. I have
> a solaris9 sparc OS and below you can see what i get when i try: gmake
> _LMRELEASE=1
>
> bash-2.05# gmake _LMRELEASE=1
>
> ...
> ...
> ...
>
> gcc -Wall -I. -pipe -O2 -fomit-frame-pointer -fno-strict-aliasing
> -D_LMRELEASE -I./lmlibs -c -o libgetbdb.o libgetbdb.c
> libgetbdb.c: In function `getData':
> libgetbdb.c:70: warning: passing arg 4 of pointer to function makes
> integer from pointer without a cast
> libgetbdb.c:70: too many arguments to function
> libgetbdb.c:81: `DB_NOTFOUND' undeclared (first use in this function)
> libgetbdb.c:81: (Each undeclared identifier is reported only once
> libgetbdb.c:81: for each function it appears in.)
> libgetbdb.c: In function `openDBFile':
> libgetbdb.c:227: warning: implicit declaration of function `db_create'
> libgetbdb.c:228: warning: implicit declaration of function
> `db_strerror'
> libgetbdb.c:232: structure has no member named `open'
> libgetbdb.c:232: `DB_RDONLY' undeclared (first use in this function)
> libgetbdb.c: In function `closeDBFile':
> libgetbdb.c:245: too many arguments to function
> gmake: *** [libgetbdb.o] Error 1
> bash-2.05#
>
> At this point i want to say that i have replaced all the programs i
> thought would help with gnu versions (make ,sed, ar, ld ,gcc(tried
> 2.95.3 and 3.3.1 with same results). Before i did that it was much
> worse.
>
> Thank you for your response
> Panagiotis Drakopoulos
--
--
"Catch the Magic of Linux..."
--------------------------------------------------------
Michael Peddemors - Senior Consultant
LinuxAdministration - Internet Services
NetworkServices - Programming - Security
Wizard IT Services http://www.wizard.ca
Linux Support Specialist - http://www.linuxmagic.com
LinuxMagic is a Registered TradeMark of Wizard Tower TechnoServices Ltd.
--------------------------------------------------------
(604)589-0037 Beautiful British Columbia, Canada