|
Demo
Discussion
|
Forum
Config Examples
Contributions
Vulnerabilities
|
Discussion forum about ELOG |
Not logged in |
|
|
|
Message ID: 62
Entry time: Tue Jul 9 09:33:47 2002
In reply to: 58
Reply to this: 84
|
Icon: |
|
Author: |
Stefan Ritt |
Author Email: |
stefan.ritt@psi.ch |
|
Category: |
Bug fix |
OS: |
|
ELOG Version: |
|
|
Subject: |
Re: Compiling elog 2.0.4 on Solaris |
|
|
> Comiling elogd 2.0.4 under Solaris obviously fails with
>
> gcc -o elog elog.c -lsocket -lnsl
> gcc -o elogd elogd.c -lsocket -lnsl
> elogd.c: In function `ss_file_find':
> elogd.c:1372: `alphasort' undeclared (first use in this function)
> elogd.c:1372: (Each undeclared identifier is reported only once
> elogd.c:1372: for each function it appears in.)
> make: *** [elogd] Error 1
>
> because alphasort is an ucb'ism which does not exist under SYSV
>
> ... not very portable :-(
I was not aware of this. Actually, I don't need 'alphasort' so I removed it
from the source. The update is at
http://midas.psi.ch/cgi-bin/cvsweb/elog/elogd.c
Please give it a try. |