Re: -pre6 fails on my test box, RCH problem

Michael Richardson <[email protected]>
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
>>>>> "Hugh" == Hugh Daniel <[email protected]> writes:
    Hugh>   Ok, at least two bugs somewhere in here.  I am trying to use the
    Hugh> - -pre6 (maybe at the FTP site by now, check in the development section)
    Hugh> and find that "make oldmod" fails (if it's obsolete then it should
    Hugh> never try to run...).  Looking closer the failure it dies on is the
    Hugh> compiler loosing it, the problems are WAY earlier.

  Okay, found it.

  If you set ARCH=i386 before you build, this will workaround the problem.
  I looked for this once before and didn't find the right thing.


=== cd /c2/freeswan/sandboxes/nightly/
=== /usr/bin/cvs diff -u Makefile.inc

Index: Makefile.inc
===================================================================
RCS file: /freeswan/MASTER/freeswan/Makefile.inc,v
retrieving revision 1.46
diff -u -r1.46 Makefile.inc
--- Makefile.inc	22 Jan 2003 20:28:58 -0000	1.46
+++ Makefile.inc	4 Feb 2003 13:15:45 -0000
@@ -251,7 +251,7 @@
 ARCH := $(shell uname -m)
 endif
 # always sanitize $(ARCH)
-ARCH := $(shell echo $ARCH | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
+ARCH := $(shell echo $(ARCH) | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
 
 # export everything so that scripts can use them.
 export LIBFREESWANDIR FREESWANSRCDIR FREESWANLIB


]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] [email protected] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.