Re: problem compiling userland in -current

2013-02-25 Thread Todd C. Miller
On Sun, 24 Feb 2013 21:10:30 GMT, Stuart Henderson wrote: > On 2013-02-24, Chris Smith wrote: > > cc -I. -I/usr/src/usr.sbin/nsd -O2 -pipe -c /usr/src/usr.sbin/nsd/nsd-xfe > r.c > > /usr/src/usr.sbin/nsd/nsd-xfer.c:175: error: static declaration of > > 'tsig_get_algorithm_by_id' follows non-sta

Re: problem compiling userland in -current

2013-02-25 Thread Chris Smith
On Mon, Feb 25, 2013 at 11:18 AM, Chris Smith wrote: > I use a .cvsrc file with: > = > cvs -q -danon...@anoncvs3.usa.openbsd.org:/cvs > diff -up > update -Pd > checkout -P > = I do not checkout the ports or xenocara trees as the system has no X and

Re: problem compiling userland in -current

2013-02-25 Thread Chris Smith
On Mon, Feb 25, 2013 at 3:39 AM, Stuart Henderson wrote: > Is /usr/obj clean? Also, if you're building outside of "make build" > make sure you use "make -f Makefile.bsd-wrapper". I built the nsd update > successfully on amd64 i386 macppc and vax before I committed it and > there have been various

Re: problem compiling userland in -current

2013-02-25 Thread Chris Smith
On Mon, Feb 25, 2013 at 1:03 AM, Mike Korbakov wrote: > May be, your host system too old, and in -current system header files has > changed significantly. > Compare files in /usr/include/sys and /usr/src/sys/sys (check other headers > too) > Or download and install -current as host for building.

Re: problem compiling userland in -current

2013-02-25 Thread Stuart Henderson
On 2013/02/24 17:29, Chris Smith wrote: > On Sun, Feb 24, 2013 at 4:10 PM, Stuart Henderson > wrote: > > It seems your tree is not clean, the tsig_get_algorithm_by_id prototype > > which it's complaining about was removed in tsig.h r1.1.1.3. > > I have plenty of tsig.h files: > =

Re: problem compiling userland in -current

2013-02-24 Thread Mike Korbakov
May be, your host system too old, and in -current system header files has changed significantly. Compare files in /usr/include/sys and /usr/src/sys/sys (check other headers too) Or download and install -current as host for building. 25.02.2013, 07:43, "Chris Smith" : >   On Sun, Feb 24, 2013 at

Re: problem compiling userland in -current

2013-02-24 Thread Chris Smith
On Sun, Feb 24, 2013 at 6:04 PM, Alexander Hall wrote: > $ cvs up -dAP That didn't help :-(

Re: problem compiling userland in -current

2013-02-24 Thread Alexander Hall
On 02/24/13 23:21, Chris Smith wrote: On Sun, Feb 24, 2013 at 4:10 PM, Stuart Henderson wrote: It seems your tree is not clean, the tsig_get_algorithm_by_id prototype which it's complaining about was removed in tsig.h r1.1.1.3. I re-ran "cvs up" which was clean (no changes) and did a "make bu

Re: problem compiling userland in -current

2013-02-24 Thread Chris Smith
On Sun, Feb 24, 2013 at 4:10 PM, Stuart Henderson wrote: > It seems your tree is not clean, the tsig_get_algorithm_by_id prototype > which it's complaining about was removed in tsig.h r1.1.1.3. I have plenty of tsig.h files: === locate tsig.h /usr/local/include/ldns/ts

Re: problem compiling userland in -current

2013-02-24 Thread Chris Smith
On Sun, Feb 24, 2013 at 4:10 PM, Stuart Henderson wrote: > It seems your tree is not clean, the tsig_get_algorithm_by_id prototype > which it's complaining about was removed in tsig.h r1.1.1.3. I re-ran "cvs up" which was clean (no changes) and did a "make build" (after the other steps) instead o

Re: problem compiling userland in -current

2013-02-24 Thread Stuart Henderson
On 2013-02-24, Chris Smith wrote: > cc -I. -I/usr/src/usr.sbin/nsd -O2 -pipe -c /usr/src/usr.sbin/nsd/nsd-xfer.c > /usr/src/usr.sbin/nsd/nsd-xfer.c:175: error: static declaration of > 'tsig_get_algorithm_by_id' follows non-static declaration > /usr/src/usr.sbin/nsd/tsig.h:161: error: previous de

problem compiling userland in -current

2013-02-24 Thread Chris Smith
make echo "#include " > zlexer.c echo "#include \"configyyrename.h\"" > configlexer.c /usr/bin/yacc -d -o configparser.c /usr/src/usr.sbin/nsd/configparser.y flex -i -t /usr/src/usr.sbin/nsd/zlexer.lex >> zlexer.c flex -i -t /usr/src/usr.sbin/nsd/configlexer.lex >> configlexer.c /usr/bin/yacc -d -o