[Openswan Users] Fedora Core 1 build problem

Ted Kaczmarek tedkaz at optonline.net
Tue Jan 18 07:47:36 CET 2005


On Fri, 2005-01-14 at 23:38 +0100, Paul Wouters wrote:
> On Fri, 14 Jan 2005, Ted Kaczmarek wrote:
> 
> > lwdnsq.c:207: error: `buf' undeclared (first use in this function)
> > lwdnsq.c: In function `main':
> 
> > This is using CVS and rpmbuild -ba openswan.spec --define 'buildklips 1'
> 
> cvs has lwres enabled in Makefile.inc. You need bind 9.2 or newer for
> that with the correct path, or just change Makefile.inc to have:
> 
> USE_LWRES?=false
> 
> Paul
Getting closer, or so it appears :-)

Wrote: /usr/src/redhat/SRPMS/openswan-2.3.1-1.src.rpm
Wrote: /usr/src/redhat/RPMS/i686/openswan-2.3.1-1.i686.rpm
Wrote: /usr/src/redhat/RPMS/i686/openswan-doc-2.3.1-1.i686.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4111
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd openswan-2.3.1
+ rm -rf /var/tmp/openswan-2.3.1-root
+ exit 0
Building target platforms: i686
Building for target i686
error: failed to stat /root/openswan-2/packaging/redhat/define: No such
file or directory

I am using cvs in this case(named it 2.3.1), and defining passing
target=i686 to rpmbuild. Changed all the config-i686 files
s/CONFIG_IPSEC/CONFIG_KLIPS.

Their is no file or directory called define in the checkout I grabbed.
Also edited the spec file for the module, removed all smp references in
the build section, this was not playing nice on my FC1 box.

Ted






More information about the Users mailing list