[Serdev] daemonize error on solaris
Andrei Pelinescu-Onciul
pelinescu-onciul at fokus.fraunhofer.de
Wed Aug 25 17:37:08 UTC 2004
On Aug 05, 2004 at 14:24, HUIMING YU <huiming1978 at hotmail.com> wrote:
> Hello,
>
> while trying to compile sip_router on solaris,I get an Error.
> SunOS ksi 5.8 sparc,gcc 3.2.2 , GNU make 3.80
> The actually unstable code from CVS.
> Who can me helfen?
>
> gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
> -DNAME='""' -DVERSION='"0.8.99-dev"' -DARCH='"sparc64"' -DOS='"solaris"'
> -DCOMPILER='"gcc 3.2"' -D__CPU_sparc64 -D__OS_solaris
> -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
> -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC
> -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
> -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -c
> daemonize.c -o daemonize.o
> In file included from daemonize.c:49:
> /usr/include/sys/resource.h:144: field `ru_utime' has incomplete type
> /usr/include/sys/resource.h:145: field `ru_stime' has incomplete type
> /usr/include/sys/resource.h:160: confused by earlier errors, bailing out
> make: *** [daemonize.o] Error 1
Thanks, I've fixed it on cvs. Please update and try again.
Andrei
More information about the Serdev
mailing list