Compiling/Installing Corkscrew on 22.03 (ipq806x/generic)

Hi, i want to install corkscrew,
any one know how to compile or install it for my Architecture: arm_cortex-a15_neon-vfpv4
Target Platform: ipq806x/generi

I personally find quick and dirty little compilations like that are best done right on your device. I just did it on my BPI-R2 (same architecture as your device) and it worked.

You do need a fair amount of storage, though. For all the devel packages and whatnot. I don't know how much you have, but you'd likely need an extroot or similar setup. If you're good, then this is what to do:

  1. You need the development tool packages:
    opkg install pkg-config make gcc diffutils autoconf automake check git git-http patch libtool-bin
  1. You need to correct long-standing bugs in OpenWrt's autoconf, automake, and libtool packages where their default scripts don't have execute permissions:
    chmod +x /usr/share/automake-1.16;chmod -x /usr/share/automake-1.16/COPYING /usr/share/automake-1.16/INSTALL
    chmod +x /usr/share/autoconf/Autom4te/*
    chmod +x /usr/share/libtool/build-aux/*

  2. Switch to a devel folder and get the source:
    git clone https://github.com/bryanpkc/corkscrew.git

  3. Switch to the corkscrew folder and configure...
    cd corkscrew
    autoreconf
    automake --add-missing
    ./configure --prefix=/usr

  4. Build
    make

You should end up with a binary there you can use.
If you don't have the storage space, I can simply make a binary available for you if you care to trust it.

1 Like

thanks for this brother. if you has same architecture binary, then why not send me please,..

https://excelcia.ca/~kfitzner/openwrt/corkscrew_arm32.tgz

1 Like

root@OpenWrt:~# corkscrew --help
Error loading shared library libatomic.so.1: No such file or directory (needed by /usr/bin/corkscrew)

opkg install libatomic1

1 Like

working fine, thanks alot.... :heart_eyes: :heartpulse:

1 Like

@VA1DER brother kindly can you compile

badvpn-udpgw and tun2socks.

Honestly, I want to say it's better if you sort it out yourself. "Teach a person to fish..." and all that. The problem is that certain decisions by the devs make it painfully difficult for me to even help you through the process. That's pointed at any devs who may read this, btw, and not you. You don't need to go through those threads.

Do note that the project you asked for is archived and no longer actively developed. I had to actually port it to MUSL libc for it to compile. It may or may not work for you.

To build it it I had to install libopenssl1.1, libnss, and nspr - you may need some or all of these for this to work: https://va1der.ca/~public/openwrt/badvpn_arm32.tgz

@VA1DER thanks alot dear, its working fine. :heart::heart::heart:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.