Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2003 10:22:21 +0400 (MSD)
From:      vlm@smarts-gsm.ru
To:        Andreas Klemm <andreas@FreeBSD.org>
Cc:        Lev Walkin <vlm@netli.com>
Subject:   Re: ipcad 2.8.1 bug: doesn't run with uid 0 which is needed for rsh
Message-ID:  <200304030622.h336MLB69845@gw.smarts-gsm.ru>
In-Reply-To: <20030403055115.GC3051@titan.klemm.apsfilter.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-- Start of PGP signed section.
> On Wed, Apr 02, 2003 at 03:40:34PM -0800, Lev Walkin wrote:
> > >Another problem is here on a FreeBSD 4.8 box, that I cant
> > >rebuild the cfgy.c file. Since the right thing to do for me
> > >was to apply the patch to the cfg.y file.
> > 
> > >I'll also attach the error-log.
> > 
> > Sorry, I don't read this language :/
> 
> Sorry was in a hurry and didn't notice.
> Don't have time now, to repeat with standard locale.
> 
> But its actually easy to repeat by:
> updating ports collection.
> Update bison port to latest.
> remove the cfgy.c file, so that bison tries to rebuilt it.
> So, you dont need necessarily my bison output.
> 
> 	Andreas ///

[vlm@spelio:~]>cd /adm/src/ipcad
[vlm@spelio:/adm/src/ipcad]>rm cfgy.c
[vlm@spelio:/adm/src/ipcad]>make
bison -y -p ipcacfg -d cfg.y
conflicts:  2 shift/reduce
gcc -O2  -DCONFIG_FILE=\"/usr/local/etc/ipcad.conf\" -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -Wall -D_REENTRANT -D_THREAD_SAFE -DPSRC_bpf -DIFST_bsd -o cfgy.o -c cfgy.c
gcc -O2  -DCONFIG_FILE=\"/usr/local/etc/ipcad.conf\" -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -Wall -D_REENTRANT -D_THREAD_SAFE -DPSRC_bpf -DIFST_bsd -o ipcad main.o ppd.o pps.o disp.o storage.o usage.o cfgy.o cfglex.o cfgread.o cfgvar.o rsh.o rshp.o dump.o import.o cshelly.o cslex.o csparse.o service.o rw.o servers.o opt.o pidfile.o sf_lite.o ips.c ips-bpf.c ppl-bpf.c capstat-bpf.c ifst_bsd.o -lpcap -pthread
[vlm@spelio:/adm/src/ipcad]>bison --version
bison (GNU Bison) 1.75


-- 
Lev Walkin
vlm@spelio.net.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304030622.h336MLB69845>