[Openswan Users] building with gcc 3.4

Michael Richardson mcr at sandelman.ottawa.on.ca
Wed Sep 15 22:01:23 CEST 2004


The UMLs that we have been using are based upon 2.4.19.
2.4.19 is not compatible with gcc 3.4. 
The changes are simple -- just get rid of all of the multiline strings.

However, I tried 2.4.26 with uml3 patch today, and it seemed to work
okay. HEAD has been updated with new files for testing/kernelconfigs.
This ought to work with 2.2.0 as well, if you get just those files.

If you use 2.4.26, you may also need an updated linux/net/ipsec/addrtot.c
It appears that in versions <2.4.19 of UML, it was possible to link
accidentally to libc functions, even for modules to do so. Specifically
strstr() appears not to be in the kernel. A version has been in the most
recent addrtot.c.

We have been testing klips26 in HEAD. 
Using a UML based upon 2.6.6, it works for kernel things with 2.6.6,
but there is a UML bug that runs things out of file descriptors, so it
is hard to test the pluto items. I have seen some successes though.

Using a UML based upon 2.6.7, we get crashes (even without klips loaded).
There may be compile problems against

Reports of problems against 2.6.6 are appreciated, as they can be

The config patches are simple:

RCS file: /xelerance/master/openswan-2/testing/kernelconfigs/umlplain.config,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
- --- umlplain.config     4 Apr 2004 03:07:46 -0000       1.18
+++ umlplain.config     15 Sep 2004 21:49:37 -0000      1.19
@@ -409,3 +409,6 @@
 # CONFIG_IP_VS is not set
 # CONFIG_IP_SCTP is not set

- --
]     "Elmo went to the wrong fundraiser" - The Simpson         |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr at xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys


More information about the Users mailing list