![]() |
Compiling ohNet on a Raspberry Pi - Printable Version +- OpenHome Forum (http://forum.openhome.org) +-- Forum: OpenHome (/forumdisplay.php?fid=1) +--- Forum: Net (/forumdisplay.php?fid=5) +--- Thread: Compiling ohNet on a Raspberry Pi (/showthread.php?tid=1143) |
Compiling ohNet on a Raspberry Pi - PeteManchester - 25-09-2013 10:13 AM Hi, Just something that I have noticed when I compile ohNet on a Raspberry Pi, I have to edit the Makefile to change the line: libjvm_dir ?= $(JAVA_HOME)/jre/lib/i386/server To: libjvm_dir ?= $(JAVA_HOME)/jre/lib/arm/server Am I missing something before running the Makefile that would mean not having to edit it? Thanks, Pete. RE: Compiling ohNet on a Raspberry Pi - simonc - 25-09-2013 02:49 PM Sounds like we're missing an extra platform test in our makefile. Can you run gcc -dumpmachine on your RPi and let us know the results please? We could use this to hack up something like Code: ifneq (,$(findstring your-machine-name-here,$(gcc_machine))) ![]() RE: Compiling ohNet on a Raspberry Pi - PeteManchester - 25-09-2013 03:47 PM (25-09-2013 02:49 PM)simonc Wrote: Sounds like we're missing an extra platform test in our makefile. Can you run Hi Simon, Just to confuse things : On a raspi running Softfloat Wheezy OS I get arm-linux-gnueabi On a raspi running Hardfloat Wheezy OS I get arm-linux-gnueabihf Thanks, Pete. RE: Compiling ohNet on a Raspberry Pi - simonc - 25-09-2013 03:54 PM (25-09-2013 03:47 PM)PeteManchester Wrote: Just to confuse things : Thanks for the quick reply Pete. I've committed a change I think should work for you. It should be on github this evening; could you give it a go when you have a chance and let me know whether it works? RE: Compiling ohNet on a Raspberry Pi - PeteManchester - 27-09-2013 10:23 AM (25-09-2013 03:54 PM)simonc Wrote:(25-09-2013 03:47 PM)PeteManchester Wrote: Just to confuse things : Hi Simon, Just to confirm that the fix worked for both the Soft Float and Hard Float versions. Thanks for your help, Pete. RE: Compiling ohNet on a Raspberry Pi - simonc - 27-09-2013 10:24 AM (27-09-2013 10:23 AM)PeteManchester Wrote: Hi Simon, Great! Thanks for letting us know. |