ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
158
|
Thu Nov 14 13:00:24 2002 |
| Willem Koster | W.Koster@rc.rug.nl | | | | Re: Compiling elog-2.2.2 in Solaris 8 |
From: http://elog.sourceforge.net/
Solaris
It was reported by Martin Huber that under Solaris 7 following command must
be used to compile elog:
gcc -L/usr/lib/ -ldl -lresolv -lm -ldl -lnsl -lsocket elogd.c -o elogd
It was also reported that the keep-alive mechanism is not working under some
Solaris systems, so you need to start the elogd server with the "-k" flag to
turn keep-alives off.
Yep... does the job.
(even with 2.2.2 under Sol 8) |
62
|
Tue Jul 9 09:33:47 2002 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug fix | | | 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. |
84
|
Wed Jul 24 17:29:00 2002 |
| Christian Korschan | Christian.Korschan@CTBTO.ORG | Bug report | | | 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.
ok - i just continued with 2.0.5, but apparently it still has an UCB'ism
(scandir) that does not work under SYSV:
$ make
gcc -g -o elogd elogd.c -lsocket -lnsl
Undefined first referenced
symbol in file
scandir /tmp/ccy0Z3iV.o
ld: fatal: Symbol referencing errors. No output written to elogd
collect2: ld returned 1 exit status
make: *** [elogd] Error 1
$ egrep scandir elogd.c
n = scandir(path, &namelist, NULL, NULL);
$ |
89
|
Sat Aug 3 17:35:39 2002 |
| Joe Nall | joe.nall@inet.com | Request | | | 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.
>
> ok - i just continued with 2.0.5, but apparently it still has an UCB'ism
> (scandir) that does not work under SYSV:
>
> $ make
> gcc -g -o elogd elogd.c -lsocket -lnsl
> Undefined first referenced
> symbol in file
> scandir /tmp/ccy0Z3iV.o
> ld: fatal: Symbol referencing errors. No output written to elogd
> collect2: ld returned 1 exit status
> make: *** [elogd] Error 1
> $ egrep scandir elogd.c
> n = scandir(path, &namelist, NULL, NULL);
> $
I am having the same experience with ELOG 2.0.5 and Solaris 8. Any work
around woud be appreciated. |
91
|
Tue Aug 6 16:14:42 2002 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | | | 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.
> >
> > ok - i just continued with 2.0.5, but apparently it still has an UCB'ism
> > (scandir) that does not work under SYSV:
> >
> > $ make
> > gcc -g -o elogd elogd.c -lsocket -lnsl
> > Undefined first referenced
> > symbol in file
> > scandir /tmp/ccy0Z3iV.o
> > ld: fatal: Symbol referencing errors. No output written to elogd
> > collect2: ld returned 1 exit status
> > make: *** [elogd] Error 1
> > $ egrep scandir elogd.c
> > n = scandir(path, &namelist, NULL, NULL);
> > $
> I am having the same experience with ELOG 2.0.5 and Solaris 8. Any work
> around woud be appreciated.
I removed also scandir() in the current version (right now only in CVS). The
official release of 2.1.0 is planned for next week. |
67258
|
Tue May 1 17:03:37 2012 |
| Per Eriksson | pelle@sm4xiu.eu | Info | Linux | Any | Re: Compiling Elog for QNAP NAS x86 |
Per Eriksson wrote: |
Hi All,
I am interested to have ELOG installed in my QNAP x86 based NAS (239 Pro II)
Have someone done this already or is there a write-up of a normal compile-procedure which I can have as a base when I attempt to compile?
Regards,
Per
|
I solved it.
I don't really know if I really needed to compile it but I complied this on the NAS itself so now it is 100% compatible (I believe)
Per |
67294
|
Sun Jul 1 19:55:38 2012 |
| Per Eriksson | pelle@sm4xiu.eu | Info | Linux | Any | Re: Compiling Elog for QNAP NAS x86 |
Per Eriksson wrote: |
Per Eriksson wrote: |
Hi All,
I am interested to have ELOG installed in my QNAP x86 based NAS (239 Pro II)
Have someone done this already or is there a write-up of a normal compile-procedure which I can have as a base when I attempt to compile?
Regards,
Per
|
I solved it.
I don't really know if I really needed to compile it but I complied this on the NAS itself so now it is 100% compatible (I believe)
Per
|
I managed to package Elog v2.92 build 2462 into and QNAP installer QPKG package.
This is for x86 based QNAP NAS only.
Note: You must have adduser package installed prior to installation.
Login to the NAS with SSH and type:
apt-get update
apt-get install adduser
BR,
Per |
Attachment 1: Elog_2.9.2_2462.qpkg
|
1563
|
Thu Dec 22 08:53:43 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | | 2.6.0 | Re: Compile on Windows? |
Mike wrote: | What version of Visual Studio do you use for compile Elog on windows.
I have downloaded the Tar from svn and am having some errors, but then I've go VS.Net 2003. I wondering if this was done with 6.0? |
Right now I'm using VS.Net 2003, but you should be able to compile it with 6.0, except that you have to redo the project file, which might not be backwards compatible. An alternative is to use gcc under cygwin, which is a free alternative for windows. |