Page 1 of 1

cross compile ERROR: hamcorebuilder: not found

Posted: Fri Aug 31, 2018 2:52 pm
by robert.berger
Hi,

I'm trying to compile the latest and greatest SoftEtherVPN[1] for some ARM 32 with Yocto.

It looks like it can not compile/run the hamcorebuilder. I guess the hamcorebuilder should be built for the host machine and not the ARM.

Is this correct?

softethervpn-native (which means compiled for the host/x86-64) seems to work.

Do I need hamcorebuilder compiled for x86 to cross-compile for ARM?

There is a similar post here[2]

[1] https://github.com/SoftEtherVPN/SoftEtherVPN

[2] http://forum.vpngate.net/viewtopic.php?f=7&t=61031&p=80370&hilit=hamcorebuilder%3A+not+found#p80370

Re: cross compile ERROR: hamcorebuilder: not found

Posted: Thu Sep 13, 2018 7:08 am
by thisjun
> I guess the hamcorebuilder should be built for the host machine and not the ARM.

Yes, you are right.

Re: cross compile ERROR: hamcorebuilder: not found

Posted: Fri Sep 14, 2018 12:57 pm
by robert.berger
OK. Thanks!

If your new cmake approach[1] ready for cross compilation?

[1] https://github.com/SoftEtherVPN/SoftEtherVPN

Re: cross compile ERROR: hamcorebuilder: not found

Posted: Wed Jul 17, 2019 6:51 pm
by robert.berger
I just gave it a shot and tried to make softether cross compile with the yocto project.
The recipe is here[1].
Please give it a try and let me know how it goes - it compiles today's version.
[1] https://gitlab.com/meta-layers/meta-res ... /softether