[Swan-dev] testing: swan-update diagnostings

D. Hugh Redelmeier hugh at mimosa.com
Tue Feb 25 04:54:24 EET 2014


Paul kindly set up a testing invironment on a machine for me.  Now I'm 
trying to use it.

I updated my local tree and then ran swan-update as root on "west".

The initial result doesn't look good to me.  What am I doing wrong?  Or is 
it all fine?

I wonder:

- is it right to build this stuff as root?  It goes against my religion.

- is a make clean needed first?

Here's the output so far.  The last 5 lines worry me.  But the
swan-update has not stopped.

[root at west ~]# swan-update
/source/lib/libswan/udpfromto.c:184:12: warning: \342\200\230sendfromto\342\200\231 defined but not used [-Wunuse!
 static int sendfromto(int s, void *buf, size_t len, int flags,
            ^
In file included from /source/lib/libipsecconf/confread.c:46:0:
/source/include/ipsecconf/parser.h:22:49: fatal error: parser.tab.h: No such file or directory
 #include "parser.tab.h" /* generated by bison */
                                                 ^
compilation terminated.
In file included from /source/lib/libipsecconf/confwrite.c:32:0:
/source/include/ipsecconf/parser.h:22:49: fatal error: parser.tab.h: No such file or directory
 #include "parser.tab.h" /* generated by bison */
                                                 ^
compilation terminated.
In file included from /source/lib/libipsecconf/keywords.c:36:0:
/source/include/ipsecconf/parser.h:22:49: fatal error: parser.tab.h: No such file or directory
 #include "parser.tab.h" /* generated by bison */
                                                 ^
compilation terminated.
In file included from /home/build/libreswan/lib/libipsecconf/parser.l:37:0:
/source/include/ipsecconf/parser.h:22:49: fatal error: parser.tab.h: No such file or directory
 #include "parser.tab.h" /* generated by bison */
                                                 ^
compilation terminated.
In file included from /source/lib/libipsecconf/oeconns.c:30:0:
/source/include/ipsecconf/parser.h:22:49: fatal error: parser.tab.h: No such file or directory
 #include "parser.tab.h" /* generated by bison */
                                                 ^
compilation terminated.
In file included from /home/build/libreswan/lib/libipsecconf/parser.y:33:0:
/source/include/ipsecconf/parser.h:22:49: fatal error: parser.tab.h: No such file or directory
 #include "parser.tab.h" /* generated by bison */
                                                 ^
compilation terminated.
In file included from /source/lib/libipsecconf/confread.c:46:0:
/source/include/ipsecconf/parser.h:22:49: fatal error: parser.tab.h: No such file or directory
 #include "parser.tab.h" /* generated by bison */
                                                 ^
compilation terminated.
make[3]: *** [confread.o] Error 1
make[2]: *** [programs] Error 1
make[1]: *** [programs] Error 1
make: *** [programs] Error 2


More information about the Swan-dev mailing list