[OpenSER-Devel] [OpenSER-Users] Preparing the release of OpenSER 1.3 "BlackCat"
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Dec 12 20:12:34 UTC 2007
Sergio,
Thanks for the hint - please update form SVN and try again.
Regards,
Bogdan
Sergio Gutierrez wrote:
> Hi Bogdan.
>
> In Solaris, it has an extra argument, for defining the buffer length,
> although there is another variant, for Standard Conforming:
>
> char *ctime_r(const time_t *clock
> , char *buf, int buflen);
>
>
>
>
> Standard conforming
>
> cc [ flag... ] file... *-D_POSIX_PTHREAD_SEMANTICS* [ library... ]
> char *ctime_r(const time_t *clock, char *buf);
>
> Please let me know how we can continue.
>
> Regards.
>
> Sergio.
>
>
>
> On Dec 12, 2007 2:11 PM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> <mailto:bogdan at voice-system.ro>> wrote:
>
> Hi Sergio,
>
> looks like ctime_r function is different on solaris :-/....can you
> check
> the man page?
>
> on linux I have:
> char *ctime_r(const time_t *timep, char *buf);
>
> Regards,
> Bogdan
>
>
> Sergio Gutierrez wrote:
> > Hi Bogdan.
> >
> > My Setup is:
> >
> > Sun Solaris 10 running on SPARC Sun4u.
> > gcc 3.4.3
> >
> > Unfortunately, when trying compilation on Sun Solaris, I got the
> > following error:
> >
> > Makefile:390: warning: overriding commands for target `/toip3/'
> > Makefile:381: warning: ignoring old commands for target `/toip3/'
> > yacc -d -b cfg cfg.y
> > " cfg.y", line 391: warning: redeclaration of precedence of SLASH.
> >
> > conflicts: 1 shift/reduce
> > flex cfg.lex
> > Makefile:390: warning: overriding commands for target `/toip3/'
> > Makefile:381: warning: ignoring old commands for target `/toip3/'
> > Compiling action.c
> > gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
> > -mtune=ultrasparc -DNAME='"openser"' -DVERSION='"
> > 1.3.0-pre1-notls"' -DARCH='"sparc64"' -DOS='"solaris"'
> > -DCOMPILER='"gcc 3.4.3"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_no
> > -DCFG_DIR='"/toip3/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
> > -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
> > -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DDBG_QM_MALLOC -DFAST_LOCK
> > -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME
> > -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H
> -DUSE_SIGACTION
> > -DHAVE_DEVPOLL -DHAVE_SELECT -c action.c -o action.o
> > In file included from parser/../ip_addr.h:40,
> > from parser/msg_parser.h:46,
> > from action.h:27,
> > from action.c:44:
> > parser/../dprint.h: In function `dp_time':
> > parser/../dprint.h:100: error: too few arguments to function
> `ctime_r'
>
>
More information about the Devel
mailing list