Networking Forums

Networking Forums > Computer Networking > Linux Networking > error compile freeswan

Reply
Thread Tools Display Modes

error compile freeswan

 
 
KratochvilJan
Guest
Posts: n/a

 
      02-22-2005, 08:13 AM
thats my problem when i try to compile freeswan:
kernel version 2.2.26

/usr/src/freeswan_2.06/make menumod

the saving of the .config works without any problems, but the compiling
fails with the following errors:

echo "# " >>${FREESWANSRCDIR}/modobj/Makefile
echo "# Local Variables: " >>${FREESWANSRCDIR}/modobj/Makefile
echo "# compile-command: \"make FREESWANSRCDIR=/usr/src/freeswan-2.06 ARCH=i386
TOPDIR=/usr/src/linux KLIPSMODULE=true -f ${KLIPSSRC}/defconfig MODULE_DEF_INC
LUDE=/usr/src/freeswan-2.06/packaging/linus/config-all.h -f Makefile ipsec.o\""
>>${FREESWANSRCDIR}/modobj/Makefile

echo "# End: " >>${FREESWANSRCDIR}/modobj/Makefile
make -C linux/net/ipsec TOPDIR=/usr/src/linux KLIPSMODULE=true -f ${KLIPSSRC}/d
efconfig MODULE_DEF_INCLUDE=/usr/src/freeswan-2.06/packaging/linus/config-all.h
-f Makefile.fs2_4 clean
make[1]: Entering directory `/usr/src/freeswan-2.06/linux/net/ipsec'
make[1]: /defconfig: No such file or directory
make[1]: *** No rule to make target `/defconfig'. Stop.
make[1]: Leaving directory `/usr/src/freeswan-2.06/linux/net/ipsec'
make: [module] Error 2 (ignored)
make -C ${FREESWANSRCDIR}/modobj FREESWANSRCDIR=/usr/src/freeswan-2.06 ARCH=i38
6 KLIPSMODULE=true -f ${KLIPSSRC}/defconfig MODULE_DEF_INCLUDE=/usr/src/freeswa
n-2.06/packaging/linus/config-all.h TOPDIR=/usr/src/linux -f Makefile ipsec.o
make[1]: Entering directory `/usr/src/freeswan-2.06/modobj'
make[1]: /defconfig: No such file or directory
make[1]: *** No rule to make target `/defconfig'. Stop.
make[1]: Leaving directory `/usr/src/freeswan-2.06/modobj'
make: *** [module] Error 2

Thx for your help

Best regards

Kratochvil Jan
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile kernel? Fister Linux Networking 1 07-05-2007 06:22 PM
ARM cross compile problem kid Linux Networking 1 06-08-2007 11:57 AM
netkit-telnet compile error onionsjk Linux Networking 0 06-27-2006 04:16 PM
compile IPMASQ coop Linux Networking 1 04-21-2005 02:17 PM
LiS Compile problems Big Jim Linux Networking 2 11-11-2003 02:30 AM



1 2 3 4 5 6 7 8 9 10 11