[Users] How to compile snapshot with SuSE 2.4 kernel ?

From: Andreas Steffen (andreas.steffen_at_strongsec.net)
Date: Fri Aug 09 2002 - 16:15:21 CEST


Hi Michael,

I have ported now all hunks of the X.509 patch to snap2002aug09g.

When I want to start compilation by typing

   make menumod

I get the following error:

pulpo:/usr/local/src/freeswan-snap2002aug09g-x509 # make menumod
echo "===============" >>out.kpatch
echo "`date` `cd /usr/src/linux ; pwd`" >>out.kpatch
make _patches2.4 >>out.kpatch
packaging/utils/patcher: patch on /usr/src/linux/net/Config.in failed!
packaging/utils/patcher: restoring original /usr/src/linux/net/Config.in,
packaging/utils/patcher: leaving patch attempt in
/usr/src/linux/net/Config.in.mangled
make[1]: *** [_patches2.4] Error 1
make: *** [patches] Error 2

I am working with SuSE 8.0 and a Linux 2.4.18 kernel.

What am I doing wrong? Do I have to apply

  snapshot.k2.4.patch

somewhere to make klips compile with the 2.4 kernel? Actually
I haven't understood what these kernel patches are good for.

I append my Config.in file. Might be that SuSE has tampered with it.

Sorry for my stupidity!

Andreas

======================================================================
Andreas Steffen e-mail: andreas.steffen_at_strongsec.com
strongSec GmbH phone: +41 76 340 25 56
Alter Zürichweg 20 home: http://www.strongsec.com
CH-8952 Schlieren (Switzerland)
==========================================[strong internet security]==


#
# Network configuration
#
mainmenu_option next_comment
comment 'Networking options'
tristate 'Packet socket' CONFIG_PACKET
if [ "$CONFIG_PACKET" != "n" ]; then
   bool ' Packet socket: mmapped IO' CONFIG_PACKET_MMAP
fi

tristate 'Netlink device emulation' CONFIG_NETLINK_DEV

bool 'Network packet filtering (replaces ipchains)' CONFIG_NETFILTER
if [ "$CONFIG_NETFILTER" = "y" ]; then
   bool ' Network packet filtering debugging' CONFIG_NETFILTER_DEBUG
fi
bool 'Socket Filtering' CONFIG_FILTER
tristate 'Unix domain sockets' CONFIG_UNIX
bool 'TCP/IP networking' CONFIG_INET
if [ "$CONFIG_INET" = "y" ]; then
   source net/tux/Config.in
   source net/ipv4/Config.in
   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
# IPv6 as module will cause a CRASH if you try to unload it
      tristate ' The IPv6 protocol (EXPERIMENTAL)' CONFIG_IPV6
      if [ "$CONFIG_IPV6" != "n" ]; then
         source net/ipv6/Config.in
      fi
   fi
   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
      source net/khttpd/Config.in
   fi
fi
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
   bool 'Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)' CONFIG_ATM
   if [ "$CONFIG_ATM" = "y" ]; then
      if [ "$CONFIG_INET" = "y" ]; then
         bool ' Classical IP over ATM' CONFIG_ATM_CLIP
         if [ "$CONFIG_ATM_CLIP" = "y" ]; then
            bool ' Do NOT send ICMP if no neighbour' CONFIG_ATM_CLIP_NO_ICMP
         fi
      fi
      tristate ' LAN Emulation (LANE) support' CONFIG_ATM_LANE
      if [ "$CONFIG_INET" = "y" -a "$CONFIG_ATM_LANE" != "n" ]; then
         tristate ' Multi-Protocol Over ATM (MPOA) support' CONFIG_ATM_MPOA
      fi
   fi
fi
tristate '802.1Q VLAN Support' CONFIG_VLAN_8021Q

comment ' '
tristate 'The IPX protocol' CONFIG_IPX
if [ "$CONFIG_IPX" != "n" ]; then
   source net/ipx/Config.in
fi
tristate 'Appletalk protocol support' CONFIG_ATALK
tristate 'DECnet Support' CONFIG_DECNET
if [ "$CONFIG_DECNET" != "n" ]; then
   source net/decnet/Config.in
fi
dep_tristate '802.1d Ethernet Bridging' CONFIG_BRIDGE $CONFIG_INET
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
   tristate 'CCITT X.25 Packet Layer (EXPERIMENTAL)' CONFIG_X25
   tristate 'LAPB Data Link Driver (EXPERIMENTAL)' CONFIG_LAPB
   bool '802.2 LLC (EXPERIMENTAL)' CONFIG_LLC
   bool 'Frame Diverter (EXPERIMENTAL)' CONFIG_NET_DIVERT
# if [ "$CONFIG_LLC" = "y" ]; then
# bool ' Netbeui (EXPERIMENTAL)' CONFIG_NETBEUI
# fi
   if [ "$CONFIG_INET" = "y" ]; then
      tristate 'Acorn Econet/AUN protocols (EXPERIMENTAL)' CONFIG_ECONET
   fi
   if [ "$CONFIG_ECONET" != "n" ]; then
      bool ' AUN over UDP' CONFIG_ECONET_AUNUDP
      bool ' Native Econet' CONFIG_ECONET_NATIVE
   fi
   tristate 'WAN router' CONFIG_WAN_ROUTER
   bool 'Fast switching (read help!)' CONFIG_NET_FASTROUTE
   bool 'Forwarding between high speed interfaces' CONFIG_NET_HW_FLOWCONTROL
fi

mainmenu_option next_comment
comment 'QoS and/or fair queueing'
bool 'QoS and/or fair queueing' CONFIG_NET_SCHED
if [ "$CONFIG_NET_SCHED" = "y" ]; then
   source net/sched/Config.in
fi
#bool 'Network code profiler' CONFIG_NET_PROFILE
endmenu

mainmenu_option next_comment
comment 'Network testing'
tristate 'Packet Generator (USE WITH CAUTION)' CONFIG_NET_PKTGEN
endmenu

endmenu

_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.4 : Fri Aug 09 2002 - 21:19:31 CEST