OpenWrt Forum Archive

Topic: upgrade vpnc package to 0.5.1

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Same question here. I need something more reliable than a ping every 15 minutes to make sure the connection is up. I think I have the rekeying issue. It dies at about 8 hours or so.

I tried, but I don't seem to be having too much luck. I haven't found any perfect documentation so I'm a little clueless as to what I'm doing wrong. I tried following steps from this page: http://people.bu.edu/ebishop/openwrt-programming.html but he is writing the program from scratch, so it is a little difficult for me to tell if certain things apply or not. I tried using this guide: http://wiki.openwrt.org/BuildingPackagesHowTo but it is for WhiteRussian, so again, it is hard to tell what applies and what doesn't. The two guides appear extremely different. Apparenlty 64 bit Linux is required, and I've had no luck getting it to run on VMware. The only box I had that seems to meet the requirments is my corporate web server. It is 64 bit Centos 5. I got the SDK downloaded and compiled. I think I put the vpnc source in the right place. When I run make V=99 the first time, I get this:

[root@www OpenWrt-SDK-brcm-2.4-for-Linux-x86_64]# make V=99
make package/compile
make[1]: Entering directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
make[2]: Entering directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
Collecting package info...make[3]: Entering directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
Collecting package info: merging...cat: tmp/info/.packageinfo-vpnc-0.5.1: No such file or directory
make[3]: *** [tmp/.packageinfo] Error 1
make[3]: Leaving directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
make[2]: *** [tmp/.packageinfo] Error 2
make[2]: Leaving directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
make: *** [world] Error 2
[root@www OpenWrt-SDK-brcm-2.4-for-Linux-x86_64]# make V=99
make package/compile
make[1]: Entering directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
make -C package compile SDK=1
make[2]: Entering directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64/package'
/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64/include/host.mk:8: /openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64/tmp/.host.mk: No such file or directory
Makefile:15: /openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64/tmp/.packagedeps: No such file or directory
make[2]: Leaving directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64/package'
make[2]: Entering directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64/package'
make[2]: `compile' is up to date.
make[2]: Leaving directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64/package'
make[1]: Leaving directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
( \
                cd package; \
                for configfile in `find . -maxdepth 2 -name Config.in` ; do \
                        make compile -C `dirname $configfile` ; \
                done \
        )

If I run it another time, I get this

[root@www OpenWrt-SDK-brcm-2.4-for-Linux-x86_64]# make V=99
make package/compile
make[1]: Entering directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
make -C package compile SDK=1
make[2]: Entering directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64/package'
make[2]: `compile' is up to date.
make[2]: Leaving directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64/package'
make[1]: Leaving directory `/openwrt/kamikaze_7.09/bin/OpenWrt-SDK-brcm-2.4-for-Linux-x86_64'
( \
                cd package; \
                for configfile in `find . -maxdepth 2 -name Config.in` ; do \
                        make compile -C `dirname $configfile` ; \
                done \
        )
[root@www OpenWrt-SDK-brcm-2.4-for-Linux-x86_64]#

Is there a start to end guide for compiling an existing package for Kamikaze?

The discussion might have continued from here.