[OpenSIPS-Devel] Problem compiling OpenSIPS on Solaris Sparc
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Thu Aug 7 13:44:36 CEST 2008
Hi Sergio,
check if you have flex install and if you got the cfg.lex compiled (by
flex). This should generate the lex.yy.c :
bogdan at bia:~/work/opensips/sip_server/trunk$ make bison -d -b cfg cfg.y
cfg.y: conflicts: 1 shift/reduce
*flex cfg.lex*
New SVN revision: 2:4581
......
Regards,
Bogdan
Sergio Gutierrez wrote:
> I am having this error when compiling OpenSIPS on Solaris:
>
> gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
> -mtune=ultrasparc -DNAME='"opensips"' -DVERSION='"1.4.0-notls"'
> -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.4.3"'
> -D__CPU_sparc64 -D__OS_solaris -D__SMP_no -DCFG_DIR='"/etc/opensips/"'
> -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
> -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS
> -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
> -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H
> -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION
> -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c lex.yy.c -o
> lex.yy.o
> gcc: lex.yy.c: No such file or directory
>
>
> Any hints about it?
>
> Best regards.
>
> Sergio Gutierrez.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list