PINE64
gcc-multilib on ayufan's builds - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: gcc-multilib on ayufan's builds (/showthread.php?tid=6019)



gcc-multilib on ayufan's builds - Malmgren - 04-30-2018

Hi.
I'm trying to compile some 32 bit binaries on my Rock64, running ayufan's stretch-minimal 0.6.32. I'm stuck on the following:


Quote:Package gcc-multilib is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-multilib' has no installation candidate

Anyone knows what to do?

The reason I'm doing this is because openhab only works well on 32 bit Java on arm, so I have to run openhab and all it's dependencies in 32 bits. Java is up and running, what I need to do now is build telldus-core.

I've found threads with Raspberry users having the same problem, so I guess this is in some way arm related?

edit: Ok, looks like I'm completely stuck. Maybe it isn't possible compiling armhf binaries on arm64 anyway? Found this: https://stackoverflow.com/questions/44976837/having-trouble-compiling-32-bit-binary-on-64-bit-linux-armv8-machine


RE: gcc-multilib on ayufan's builds - kai - 05-03-2018

Hi,
I am not familiar with the Tellbus/Tellstick binding myself - what isĀ telldus-core that you are trying to compile?
As far as I can see from the sources, the binding does not require any native parts, it merely uses JNA (which should be readily available for all platforms).
Wrt how to compile armhf on a 64-bit OS, I do not have an answer either - the simplest way might be to simply do this job on an 32-bit OS and copy the result over :-).
Regards,
Kai


RE: gcc-multilib on ayufan's builds - Malmgren - 05-04-2018

(05-03-2018, 11:46 PM)kai Wrote: Hi,
I am not familiar with the Tellbus/Tellstick binding myself - what isĀ telldus-core that you are trying to compile?
As far as I can see from the sources, the binding does not require any native parts, it merely uses JNA (which should be readily available for all platforms).
Wrt how to compile armhf on a 64-bit OS, I do not have an answer either - the simplest way might be to simply do this job on an 32-bit OS and copy the result over :-).
Regards,
Kai

Oh, what a nice surprise seeing you here, kai Tongue

Telldus-core are some libraries and executables from Telldus that the binding needs installed and running on the server to work, and it needs to be in the correct bitness. See this thread for more info on that subject. I actually tried compiling them on my old 32-bit server and copying the executables over, but they turned out not to be working anyway since the old server is Debian 8 and the new one is Debian 9 so the executables are linked to wrong version of stuff like libconfuse.

The best thing from my perspective would be to run everything in 64 bits, but I read through this thread and came to the conclusion that it doesn't, though I don't understand the details. Tried to revive the thread, you're welcome to comment on that Wink


RE: gcc-multilib on ayufan's builds - kai - 05-04-2018

I am everywhere :-D

Ok, thanks for the background infos. Will try to follow up on the openHAB forum then.