[Lunar-bugs] [bug] iproute2 and the "ip" utility

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Wed Feb 9 21:19:25 UTC 2005


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    moonbase (modules)
 Category:     bug reports
 Priority:     normal
 Assigned to:  nestu
 Reported by:  ben
 Updated by:   nestu
-Status:       active
+Status:       fixed

I have just commited a fix that should not only fix the ip utility bug,
but also the annoying ouput it had, as well as the errors that came
from trying to strip bash scripts at install time.


nestu



Previous comments:
------------------------------------------------------------------------

Sun, 01/30/2005 - 18:07 : ben

The iproute2 package (2.6.10-ss050112) fails to link the "ip" utility
(essential to be able to run shorewal). Note, however, that the lunar
module doesn't fail.

Here is the proposed modified BUILD:


(

  ./configure &&

  chmod u+w ip/iptunnel.c &&

  mv ip/iptunnel.c ip/iptunnel.c.old &&

  echo "#include "       >  ip/iptunnel.c &&
  echo "#include " >> ip/iptunnel.c &&
  echo "#include " >> ip/iptunnel.c &&

  cat ip/iptunnel.c.old >> ip/iptunnel.c &&

  KERNEL_INCLUDE=/usr/include/ make SBINDIR=/sbin &&
  prepare_install &&
  make SBINDIR=/sbin install

) > $C_FIFO 2>&1


It adds some dependancies to ip/iptunnel.c, from a suggestion of Guido
Trentalancia in
http://lunar-linux.org/pipermail/lunar-bugs/2004-May/002350.html


Also note that there is a new version of the package:
iproute2-2.6.10-ss050124.tar.gz
Be aware that for some reason the source directory has to be changed
from ${MODULE}-${VERSION} to ${MODULE}-050124

Thank you !




------------------------------------------------------------------------

Sun, 01/30/2005 - 20:41 : nestu

I have tested that fix with 2.4 headers, and it fails. I will find
another fix hopefully :)

-- 
View: http://lunar-linux.org/?q=node/view/705
Edit: http://lunar-linux.org/?q=project/comments/add/705




More information about the Lunar-bugs mailing list