Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Can anyone help compile ELog 2.8.0 on SunOS 5.11?, posted by Morion Black on Wed Oct 27 23:43:37 2010 
    icon2.gif   Re: Can anyone help compile ELog 2.8.0 on SunOS 5.11?, posted by Stefan Ritt on Tue Nov 16 10:00:48 2010 crypt.c
Message ID: 66938     Entry time: Tue Nov 16 10:00:48 2010     In reply to: 66921
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Other  ELOG Version: 2.8.0 
Subject: Re: Can anyone help compile ELog 2.8.0 on SunOS 5.11? 

Morion Black wrote:

 I have server with SunOS 5.11:

 

uname -a

SunOS *** 5.11 snv_134 i86pc i386 i86pc

 

when I try to compile ELog I get error:

 

gmake

gcc  -DHAVE_SSL -w -c -o crypt.o src/crypt.c

gcc  -DHAVE_SSL -I../mxml -o elog src/elog.c crypt.o -lsocket -lnsl -lssl

Undefined                       first referenced

 symbol                             in file

MAX                                 crypt.o

MIN                                 crypt.o

mempcpy                             crypt.o

_ast_strtoul                        crypt.o

_ast_realloc                        crypt.o

ld: fatal: symbol referencing errors. No output written to elog

collect2: ld returned 1 exit status

gmake: *** [elog] Error 1

 
 
Can anyone help to compile Elog?

 

 

The crypt.c file is not from me, so there might be some issues on other OSes. I defined now at least MIN/MAX by hand, and also removed mempcpy. The new version is attached. Can you try again to compile it? The strtoul and realloc are nomal C functions, maybe you have to add some other libraries for linking, but I'm not an expert for SunOS. 

Attachment 1: crypt.c  18 kB  | Show | Show all
ELOG V3.1.5-2eba886