Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <EIEAIODGBKOFFGDNBPFEIEHICBAA.andis@bossmail.de>
Date: Wed, 3 Jul 2002 11:41:29 +0200
From: "Andi" <andis@...smail.de>
To: <popa3d-users@...ts.openwall.com>
Subject: AW: logging problems...

hi!
this is not too complicated for me...(i hope so...)
i put the LOG_LOCAL0 in this section:

#define SYSLOG_IDENT                    "popa3d"
#define SYSLOG_OPTIONS                  LOG_PID
#define SYSLOG_FACILITY                 LOG_DAEMON
#define SYSLOG_PRIORITY                 LOG_NOTICE
#define LOG_LOCAL0

i made no more changes, but when i call make then there is the following
error:


root@...er:/usr/local/popa3d-0.4.9# make
gcc -c -Wall -O2 -fomit-frame-pointer standalone.c
gcc -c -Wall -O2 -fomit-frame-pointer virtual.c
gcc -c -Wall -O2 -fomit-frame-pointer auth_passwd.c
gcc -c -Wall -O2 -fomit-frame-pointer auth_shadow.c
gcc -c -Wall -O2 -fomit-frame-pointer auth_pam.c
gcc -c -Wall -O2 -fomit-frame-pointer pop_root.c
In file included from pop_root.c:26:
params.h:162: warning: `LOG_LOCAL0' redefined
/usr/include/sys/syslog.h:107: warning: this is the location of the previous
definition
gcc -c -Wall -O2 -fomit-frame-pointer pop_auth.c
In file included from pop_auth.c:11:
params.h:162: warning: `LOG_LOCAL0' redefined
/usr/include/sys/syslog.h:107: warning: this is the location of the previous
definition
gcc -c -Wall -O2 -fomit-frame-pointer pop_trans.c
In file included from pop_trans.c:8:
params.h:162: warning: `LOG_LOCAL0' redefined
/usr/include/sys/syslog.h:107: warning: this is the location of the previous
definition
gcc -c -Wall -O2 -fomit-frame-pointer protocol.c
gcc -c -Wall -O2 -fomit-frame-pointer database.c
gcc -c -Wall -O2 -fomit-frame-pointer mailbox.c
gcc -c -Wall -O2 -fomit-frame-pointer misc.c
gcc -c -Wall -O2 -fomit-frame-pointer md5/md5.c -o md5/md5.o
gcc -s standalone.o virtual.o auth_passwd.o auth_shadow.o auth_pam.o
pop_root.o pop_auth.o pop_trans.o protocol.o database.o mailbox.o misc.o
md5/md5.o -o popa3d
auth_shadow.o: In function `auth_userpass':
auth_shadow.o(.text+0xbd): undefined reference to `crypt'
auth_shadow.o(.text+0xd2): undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [popa3d] Error 1

i?m using the popa3d-0.5.tar.gz
what do i have to do more than i did?

thank you
greetings andi


-----Ursprungliche Nachricht-----
Von: Solar Designer [mailto:solar@...nwall.com]
Gesendet: Sonntag, 30. Juni 2002 21:19
An: popa3d-users@...ts.openwall.com
Betreff: Re: logging problems...


On Sun, Jun 30, 2002 at 09:07:07PM +0200, Andi wrote:
> --> yes i?m using the included package in slackware. i didn?t compiled it
> myself.
> 	i?m a linux newbee...can you explain exactly what to do?
> 	i?ve to remove the old package and compile the new one by myself with
which
> options?

The old package you don't have to touch.  You may just build popa3d
from source, without producing a package out of it.  Just download the
original popa3d source tarball and follow the instructions in INSTALL.
Among the instructions it says to review and edit params.h, which you
need to do.  Allocate a unique facility to popa3d, say, LOG_LOCAL0.
Then use the newly built popa3d binary instead of the one that came
with Slackware (edit the inetd.conf line).  Finally, edit syslog.conf
to route the local0 facility wherever you like.

If this is still too complicated for you, then this list is probably
not the right place for further questions on how to setup logging as
that would be in no way specific to popa3d.

--
/sd

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.