[Users] 1.1.0-tls compile problem
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Jul 14 17:33:24 CEST 2006
Hi Frank,
could you confirm that the attached patch fix the compilation problem.
regards,
Bogdan
Frank Garcia wrote:
> When compiling openser-1.1.0-tls I get the following error:
>
> $ gmake
> Compiling cfg.tab.c
> gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-
> stringops -falign-loops -mcpu=athlon -DNAME='"openser"' -
> DVERSION='"1.1.0-notls"' -DARCH='"i386"' -DOS='"openbsd"' -
> DCOMPILER='"gcc 3.3.5"' -D__CPU_i386 -D__OS_openbsd -D__SMP_no -
> DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -
> DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -
> DHAVE_RESOLV_RES -DF_MALLOC -DSTATISTICS -DFAST_LOCK -DADAPTIVE_WAIT
> -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN -
> DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_MSGHDR_MSG_CONTROL -
> DHAVE_CONNECT_ECONNRESET_BUG -DHAVE_TIMEGM -DHAVE_KQUEUE -
> DHAVE_SELECT -c cfg.tab.c -o cfg.tab.o
> cfg.y: In function `yyparse':
> cfg.y:859: error: `IPTOS_MINCOST' undeclared (first use in this
> function)
> cfg.y:859: error: (Each undeclared identifier is reported only once
> cfg.y:859: error: for each function it appears in.)
> gmake: *** [cfg.tab.o] Error 1
>
>
> 1.0.1-tls compiles cleanly on the same system, which is OpenBSD 3.9-
> current i386. Any thoughts on getting past this error?
>
> Thanks,
>
> Frank
>
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cfg.y.patch
Url: http://lists.kamailio.org/pipermail/users/attachments/20060714/be5853ed/attachment.asc
More information about the Users
mailing list