Hi Martin,
thanks for report - indeed IPTOS_MINCOST is not define on SOLARIS and NETBSD - the problem should be fixed on CVS now.
regarding the pseudo variables: have you tried the $fn?
if you want to get a whole headers, use *$hdr(name[N])*. See http://openser.org/docs/pseudo-variables-1.1.x.html#pv_hdr
regards, bogdan
martin@campus-merseburg.de wrote:
Am 26.1.2006 schrieb "Bogdan-Andrei Iancu" bogdan@voice-system.ro:
Hi Martin,
see the $fn pseudo variable: http://openser.org/docs/pseudo-variables-1.1.x.html#pv_fn
I can't compile openser 1.1.0 on solaris (again :)):
---snip Compiling cfg.tab.c gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc -DNAME='"openser"' -DVERSION='"1.1.0-dev8 "' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.4.3"' -D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_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 cfg.tab.c -o cfg.tab.o /usr/ccs/bin/yaccpar:5: warning: ignoring #pragma ident cfg.y: In function `yyparse': cfg.y:804: error: `IPTOS_MINCOST' undeclared (first use in this function) cfg.y:804: error: (Each undeclared identifier is reported only once cfg.y:804: error: for each function it appears in.) /usr/ccs/bin/yaccpar:164: warning: label `yynewstate' defined but not used /usr/ccs/bin/yaccpar:374: warning: label `yyerrlab' defined but not used gmake: *** [cfg.tab.o] Error 1 ---snap
any ideas?
can i find the complete from in another pseudo variable? so i can regexp it. cant find the right variable in the docs.