Re: Compiling v6tun from KAME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Thu, Sep 4, 2008 at 8:15 AM, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:
I need vtun working over IPv6.  The version from rpmforge does not seem to support IPv6 (binds to 0.0.0.0:5000 if I specify binding to the interface, and won't let me put in an IPv6 address for address binding).

So I was pointed to the KAME (which does not provide any FC/RHEL support.  The person who sent me there provided a makefile that he said works on Linux, but did not work for me:

Makefile from KAME:

install_dir = /usr/local/v6/bin

v6tun: v6tun.o
       cc -o $@ $>

install: v6tun
       -rm -f $(install_dir)/v6tun
       install -c -o root -g wheel -m 04710 v6tun $(install_dir)

clean:


       -rm -f *.o v6tun


Makefile from contact:

v6tun: v6tun.o

      gcc v6tun.c v6tun.h -o v6tun

install: v6tun

      -rm -f $(install_dir)/v6tun

      install -c -o root -g wheel -m 04710 v6tun $(install_dir)

clean: 6tun: v6tun.o    -rm -f *.o v6tun

      gcc v6tun.c v6tun.h -o v6tun install: v6tun
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Looks like part of the file is repeated.  ^^^^^^ and further down


      -rm -f $(install_dir)/v6tun

      install -c -o root -g wheel -m 04710 v6tun $(install_dir) clean:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
needs a line break


      -rm -f *.o v6tun

I changed the install_dir to /usr/local/bin

I had put the makefile, v6tun.c, & v6tun.h in /root/v6tun and as root issued make install.  I got the following error:

Makefile:10: *** target pattern contains no '%'. Stop.


What is missing to get this compiled?




_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux