<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Pavel,<br>
<br>
You won't get rid from these two messages you report:<br>
<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libipsecconf/parser.y:
conflicts: 2 shift/reduce, 4 reduce/reduce<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libipsecconf/parser.y:
conflicts: 2 shift/reduce, 4 reduce/reduce<br>
<br>
They are generated by Bison and do not reflect an error or a
warning. They just look to be informational. For more information,
refer to:<br>
<a class="moz-txt-link-freetext" href="http://vouters.dyndns.org/tima/Linux-bison-flex-Dealing_with_EOF_at_EOL_condition.html">http://vouters.dyndns.org/tima/Linux-bison-flex-Dealing_with_EOF_at_EOL_condition.html</a>.
If you download the sample proposed code, you will notice it is
directly inspired from the Libreswan parser code. Hence parser.y
and parser.l in the downloadable code at this URL.<br>
<br>
With my warmest regards,<br>
<pre class="moz-signature" cols="72">Philippe Vouters (Fontainebleau/France)
URL: <a class="moz-txt-link-freetext" href="http://vouters.dyndns.org/">http://vouters.dyndns.org/</a>
SIP: <a class="moz-txt-link-abbreviated" href="mailto:sip:Vouters@sip.linphone.org">sip:Vouters@sip.linphone.org</a></pre>
Le 13/03/2013 17:37, Pavel Kopchyk a écrit :<br>
</div>
<blockquote
cite="mid:CAF+v2YeGjsB_x0i19qd8kDAWgXKh448L9=eJRV-aky3NtJcEEg@mail.gmail.com"
type="cite">
<div>Thanks it works!<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
Remained only non-critical (and todo) warnings:<br>
</div>
<div><br>
</div>
<div>** snip **<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libswan/alg_info.c:715:2:
warning: #warning paul check and redo me<br>
<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libipsecconf/parser.y:
conflicts: 2 shift/reduce, 4 reduce/reduce<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libipsecconf/parser.y:
conflicts: 2 shift/reduce, 4 reduce/reduce<br>
<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/plutoalg.c:478:2:
warning: #warning todo: needs to handle ikev2 now as well -<br>
<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/ikev2_parent.c:2432:2:
warning: #warning check msgid code here<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/spdb_v2_struct.c:1061:2:
warning: #warning gotmatch is always true - this code needs to
be verified<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/spdb_v2_struct.c:1365:2:
warning: #warning gotmatch is always true - this code needs to
be verified<br>
<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/kernel_netlink.c:
In function 'netlink_acquire':<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/kernel_netlink.c:1292:
warning: format '%lu' expects type 'long unsigned int', but
argument 2 has type 'unsigned int'<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/kernel_netlink.c:1293:
warning: format '%lu' expects type 'long unsigned int', but
argument 2 has type 'unsigned int'<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/kernel_netlink.c:1294:
warning: format '%lu' expects type 'long unsigned int', but
argument 2 has type 'unsigned int'<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/kernel_netlink.c:1312:
warning: format '%lu' expects type 'long unsigned int', but
argument 2 has type 'int'<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/kernel_netlink.c:1327:
warning: format '%lu' expects type 'long unsigned int', but
argument 2 has type 'int'<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/kernel_netlink.c:1332:
warning: format '%lu' expects type 'long unsigned int', but
argument 3 has type 'int'<br>
<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/crypt_dh.c:
In function 'calc_dh_shared':<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/crypt_dh.c:166:
warning: format '%lu' expects type 'long unsigned int', but
argument 2 has type 'unsigned int'<br>
<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/spdb_v1_struct.c:
In function 'parse_secctx_attr':<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/spdb_v1_struct.c:104:
warning: format '%lu' expects type 'long unsigned int', but
argument 3 has type 'unsigned int'<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/spdb_v1_struct.c:
In function 'parse_ipsec_transform':<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/spdb_v1_struct.c:1670:
warning: suggest parentheses around comparison in operand of
'&'<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/spdb_v1_struct.c:1727:
warning: comparison between signed and unsigned integer
expressions<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/spdb_v1_struct.c:1727:
warning: signed and unsigned type in conditional expression<br>
<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/xauth.c:
In function 'get_internal_addresses':<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/xauth.c:302:
warning: unused variable 'buftest'<br>
<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/addresspool.c:230:
warning: 'free_remembered_addresspools' defined but not used<br>
/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/programs/pluto/addresspool.c:42:
warning: 'delete_lease_list' defined but not used<br>
** snip **</div>
<div><br>
</div>
<div><br>
And another problem is if build KLIPS:<br>
<br>
** snip **<br>
/usr/bin/make -C /lib/modules/2.6.32-358.0.1.el6.i386/build
BUILDDIR=/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/BUILD.i686
SUBDIRS=/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/BUILD.i686
MODULE_DEF_INCLUDE=/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/packaging/linus/config-all.h
MODULE_DEFCONFIG=/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/linux/net/ipsec/defconfig
MODULE_EXTRA_INCLUDE= ARCH=i386 V= modules<br>
make: Entering an unknown directory<br>
make: *** /lib/modules/2.6.32-358.0.1.el6.i386/build: No such
file or directory. Stop.<br>
make: Leaving an unknown directory<br>
make[1]: *** [module26] Error 2<br>
make[1]: Leaving directory
`/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git'<br>
make: *** [module] Error 2<br>
make: Leaving directory
`/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git'<br>
** snip **</div>
<div><br>
</div>
<div>===</div>
<div>$ ls -alh /lib/modules/2.6.32-358.0.1.el6.i686/<br>
total 3.4M<br>
drwxr-xr-x 7 root root 4.0K Mar 11 08:38 .<br>
dr-xr-xr-x. 3 root root 4.0K Mar 11 17:57 ..<br>
lrwxrwxrwx 1 root root 48 Mar 11 08:36 build ->
../../../usr/src/kernels/2.6.32-358.0.1.el6.i686<br>
</div>
<div><br>
</div>
<div><br>
And if manually change "ARCH=i386" to "ARCH=i686":<br>
<br>
** snip **<br>
/usr/bin/make -C /lib/modules/2.6.32-358.0.1.el6.i686/build
BUILDDIR=/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/BUILD.i686
SUBDIRS=/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/BUILD.i686
MODULE_DEF_INCLUDE=/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/packaging/linus/config-all.h
MODULE_DEFCONFIG=/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/linux/net/ipsec/defconfig
MODULE_EXTRA_INCLUDE= ARCH=i686 V= modules<br>
make[2]: Entering directory
`/usr/src/kernels/2.6.32-358.0.1.el6.i686'<br>
Makefile:558:
/usr/src/kernels/2.6.32-358.0.1.el6.i686/arch/i686/Makefile: No
such file or directory<br>
make[2]: *** No rule to make target
`/usr/src/kernels/2.6.32-358.0.1.el6.i686/arch/i686/Makefile'.
Stop.<br>
make[2]: Leaving directory
`/usr/src/kernels/2.6.32-358.0.1.el6.i686'<br>
make[1]: *** [module26] Error 2<br>
make[1]: Leaving directory
`/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git'<br>
make: *** [module] Error 2<br>
make: Leaving directory
`/home/buildtest/rpmbuild/BUILD/libreswan-3.1_git'<br>
** snip **<br>
<br>
$ ls -alh /usr/src/kernels/2.6.32-358.0.1.el6.i686/arch/<br>
total 104K<br>
drwxr-xr-x 25 root root 4.0K Mar 11 08:36 .<br>
drwxr-xr-x 22 root root 4.0K Mar 11 08:36 ..<br>
drwxr-xr-x 8 root root 4.0K Mar 11 08:36 alpha<br>
drwxr-xr-x 77 root root 4.0K Mar 11 08:36 arm<br>
drwxr-xr-x 9 root root 4.0K Mar 11 08:36 avr32<br>
drwxr-xr-x 15 root root 4.0K Mar 11 08:36 blackfin<br>
drwxr-xr-x 8 root root 4.0K Mar 11 08:36 cris<br>
drwxr-xr-x 7 root root 4.0K Mar 11 08:36 frv<br>
drwxr-xr-x 7 root root 4.0K Mar 11 08:36 h8300<br>
drwxr-xr-x 14 root root 4.0K Mar 11 08:36 ia64<br>
-rw-r--r-- 1 root root 3.8K Feb 27 04:47 Kconfig<br>
drwxr-xr-x 8 root root 4.0K Mar 11 08:36 m32r<br>
drwxr-xr-x 20 root root 4.0K Mar 11 08:36 m68k<br>
drwxr-xr-x 6 root root 4.0K Mar 11 08:36 m68knommu<br>
drwxr-xr-x 7 root root 4.0K Mar 11 08:36 microblaze<br>
drwxr-xr-x 36 root root 4.0K Mar 11 08:36 mips<br>
drwxr-xr-x 10 root root 4.0K Mar 11 08:36 mn10300<br>
drwxr-xr-x 8 root root 4.0K Mar 11 08:36 parisc<br>
drwxr-xr-x 12 root root 4.0K Mar 11 08:36 powerpc<br>
drwxr-xr-x 12 root root 4.0K Mar 11 08:36 s390<br>
drwxr-xr-x 6 root root 4.0K Mar 11 08:36 score<br>
drwxr-xr-x 13 root root 4.0K Mar 11 08:36 sh<br>
drwxr-xr-x 9 root root 4.0K Mar 11 08:36 sparc<br>
drwxr-xr-x 10 root root 4.0K Mar 11 08:36 um<br>
drwxr-xr-x 19 root root 4.0K Mar 11 08:36 x86<br>
drwxr-xr-x 8 root root 4.0K Mar 11 08:36 xtensa<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Swan mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Swan@lists.libreswan.org">Swan@lists.libreswan.org</a>
<a class="moz-txt-link-freetext" href="https://lists.libreswan.org/mailman/listinfo/swan">https://lists.libreswan.org/mailman/listinfo/swan</a>
</pre>
</blockquote>
<br>
</body>
</html>