Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mihini-dev] Mihini Cross Compilation

Hello Guilhem,

I already had a clone of your repository (I did a git clone https://github.com/nim65s/mihini-repo.git before) and a "git pull" now tells me: "Already up-to-date.".

And then I did a: ./bin/build.sh -t raspberrypi-linaro

But I did not notice anything different:

~/mihini-repo/build.raspberrypi-linaro$ make gpio
make: *** No rule to make target `gpio'.  Stop.

A "make package" still builds the .deb:
CPack: - package: /home/marcelo/mihini-repo/build.raspberrypi-linaro/mihini-0.8.0-armhf.deb generated.

But I do not think this .deb includes the gpio or agent_treemgr_gpio, so I have not tried to install and test it.

Do you have any other suggestion?

Thanks,
Marcelo Nery dos Santos
Research Software Engineer
Phone: 55-21-2132-3663
E-mail: mnerys@xxxxxxxxxx
Av. Pasteur 146 & 138
Rio de Janeiro, RJ
22290-240 - Brazil




From:        Guilhem Saurel <gsaurel@xxxxxxxxxxxxxxxxxx>
To:        mihini-dev@xxxxxxxxxxx
Date:        08/07/2013 06:30 AM
Subject:        Re: [mihini-dev] Mihini Cross Compilation
Sent by:        mihini-dev-bounces@xxxxxxxxxxx





Le 06/08/2013 19:28, mnerys@xxxxxxxxxx a écrit :
> Hello All,

Hello Marcello,

>
> I'm doing some more debugging and I had some issues with my Mihini cross-compilation. I saw that the "Run As" approach in LDT, the runtime was looking for some packages under the directory /opt/[...]. Instead of instructing the "Run As" approach to look for the .so in a different location than "/opt/[...]", which I am not really sure how to do, I decided to give a try to the Cross Compilation, so that I could use my own .deb with dpkg to place the files at the default locations.
>
> After some time, I figured out that we're supposed to use a 32 bit OS with the Linaro toolchain,

Oops, I didn't saw that

> so I edited the page:
>
>
http://wiki.eclipse.org/Mihini/Cross_Compilation
>
> to include this:
>
> Please, note that these steps have been validated on a 32 bit OS. Trying to run it on a 64 bit OS may give you errors when trying the build.sh .

Thanks !

>
> However, since I wanted to give a try to the devicetree GPIO approach, I tried to do:
>
> make gpio
> make make agent_treemgr_gpio
>
> but these did not succeed. Doing the
>
> make package
>
> didn't seem to be building gpio ou agent_treemgr_gpio modules.

Yes, a few optionnal targets were not included in the packages ; now I
think everything is shipped in the armhf & 32bit packages, and I will
make the 64bit tomorrow.

>
> I do not know much about building these libraries, so if you can fix this issue or give me good pointers/background on how to investigate/fix it, I'd really appreciate.

You can pull the changes from my repository
(
https://gitub.com/nim65s/mihini-repo), and you should be able to get
all you want.

> Thanks,
> Marcelo
>

Guilhem Saurel.
_______________________________________________
mihini-dev mailing list
mihini-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mihini-dev



Back to the top