Changes between Version 9 and Version 10 of TipAndDoc/Linux/OpenWRT/CrossCompile


Ignore:
Timestamp:
Jun 21, 2012 11:36:31 PM (12 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/Linux/OpenWRT/CrossCompile

    v9 v10  
    450450  * [http://wiki.livedoor.jp/taiki_kondo/d/UT-VPN/Debian UT-VPN/Debian - 判ってるよねWiki - livedoor Wiki(ウィキ)] 
    451451  * [http://blog.falconsrv.net/2012/05/ut-vpnubuntu-1204.html Falcon’s Diary: UT-VPNのビルド方法(Ubuntu 12.04)] 
     452 
     453 === update openssl headers === 
     454 * mitty@precise:~/openwrt/trunk/package/utvpn$ export PATH=$PATH:~/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/ 
     455 * mitty@precise:~/openwrt/trunk/package/utvpn$ export STAGING_DIR=~/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/ 
     456 * mitty@precise:~/openwrt/trunk/package/utvpn$ cp ../../staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include/openssl/* src/Mayaqua/openssl/ 
     457 * mitty@precise:~/openwrt/trunk/package/utvpn$ make CC=mips-openwrt-linux-gcc LD=mips-openwrt-linux-ld 
     458 
     459 
     460 * mitty@precise:~/openwrt/trunk/package/utvpn$ make install PREFIX=~/utvpn-unix-v101-7101-public.mips 
     461 
     462 === it works ! === 
     463 * mitty@starseed:~$ ./utvpn-unix-v101-7101-public.mips/usr/utvpnclient/utvpnclient 
     464{{{ 
     465SoftEther UT-VPN Client Service Program 
     466Copyright (C) 2004-2010 SoftEther Corporation. 
     467Copyright (C) 2004-2010 University of Tsukuba, Japan. 
     468Copyright (C) 2003-2010 Daiyuu Nobori. 
     469All Rights Reserved. 
     470 
     471utvpnclient Command Usage: 
     472 utvpnclient start  - Start SoftEther UT-VPN Client Service. 
     473 utvpnclient stop   - Stop SoftEther UT-VPN Client Service if the service is already started. 
     474}}} 
     475 * mitty@starseed:~$ ./utvpn-unix-v101-7101-public.mips/usr/utvpnclient/utvpnclient start 
     476{{{ 
     477SoftEther UT-VPN Client Service Started. 
     478}}} 
     479 
     480* mitty@starseed:~$ ps w | tail 
     481{{{ 
     48229986 root         0 SW   [flush-mtd-unmap] 
     48329987 mitty     2100 S    -bash 
     48429992 mitty     1548 S    /usr/sbin/screen -d -RR -U 
     48529993 mitty     4344 S    {screen} /usr/sbin/SCREEN -d -RR -U 
     48629994 mitty     2648 S    /bin/bash 
     48730026 root         0 SW   [kworker/0:0] 
     48830033 mitty     4164 S    /home/mitty/utvpn-unix-v101-7101-public.mips/usr/utvpnclient/utvpnclient execsvc 
     48930034 mitty    11948 S    /home/mitty/utvpn-unix-v101-7101-public.mips/usr/utvpnclient/utvpnclient execsvc 
     49030043 mitty     1492 R    ps w 
     49130044 mitty     1492 S    tail 
     492}}} 
     493 * mitty@starseed:~$ netstat -nap --inet | grep utvpn 
     494{{{ 
     495(Not all processes could be identified, non-owned process info 
     496 will not be shown, you would have to be root to see it all.) 
     497tcp        0      0 0.0.0.0:9930            0.0.0.0:*               LISTEN      30034/utvpnclient 
     498}}} 
    452499 == zlib == 
    453500 * [http://www.crosscompile.org/static/pages/ZLib.html How to Cross Compile Zlib Compression Library - Step by Step Guide (crosscompile.org)]