Comments (5)
I was wondering if anybody had any thoughts about what the problem is. I'd be grateful for any suggestion of things to try.
I do find this puzzling, as I'm sure that the demos have all been tested before.
from ada_drivers_library.
Note that ubuntu is not part of the supported linux targets.
Now, what is the output of: ldd /libexec/gcc/arm-eabi/4.9.4/liblto_plugin.so ?
from ada_drivers_library.
Thank you for letting me know - I thought that linux was supported, I'd not known Ubuntu wasn't.
gprbuild doesn't work on the Raspberry Pi, and it doesn't work on the Mac, so Ubuntu seemed the next best bet.
There isn't a libexec directory, but:
ldd ./Ada_Drivers_Library/examples/liblto_plugin.so
linux-gate.so.1 => (0xb7740000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb755b000)
/lib/ld-linux.so.2 (0x800a7000)
ldd /media/sf_Ada/Ada_Drivers_Library/examples/balls/liblto_plugin.so
linux-gate.so.1 => (0xb772d000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7548000)
/lib/ld-linux.so.2 (0x80061000)
This looks wrong to me - this should be an arm-eabi library, shouldn't it?
So there's a problem with the build. Is that correct?
Actually, looking at the install readme, I see ( in arm-elf-linux/adagpl-2016/gnatgpl )
"
GNAT GPL 2016 - GNAT compilation system
This version of GNAT GPL is officially supported on the
following hosts. Please see the "Special Notes" section
immediately following the targets section for special
instructions relevant to specific platforms.
PC/x86 and x86_64
- Windows Vista Business, 7, 8, 8.1, and 10
- Windows Server 2003, 2008, 2008R2 and 2012
- Red Hat Enterprise Linux 5, 6 and 7
- SuSE Linux Enterprise Server 11 and 12
- Ubuntu 14.04 LTS, 16.04 LTS
- Mac OS X Mavericks, Yosemite, El Capitan
"
from ada_drivers_library.
Ah, fine, that's new indeed.
Concerning your issue, it has nothing to do with the Ada Drivers library, but has to do with your gnat installation: liblto_plugin.so is a gcc plugin, so is a host library.
I really don't know where your liblto_plugin file present in your example directory comes from, but after a proper gnat installation it should be present in (gnat install dir)/libexec/gcc/arm-eabi/4.9.4/liblto_plugin.so
from ada_drivers_library.
@Fustbariclation I can confirm that GNAT GPL 2016 is working on Ubuntu (version below), so this must be a installation/setup issue.
liblto_plugin.so is an x86 library used by the compiler, you should not try to put it in your ARM project files. There must be a reason why the compiler can't find it.
I will close this issue because it's outside the scope of this project.
chouteau@: ~/ -> lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise chouteau@: ~/ -> uname -a Linux [...] 3.5.0-43-generic #66~precise1-Ubuntu SMP Thu Oct 24 14:52:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux chouteau@ ~/
from ada_drivers_library.
Related Issues (20)
- Access to FE310-specific performance counters HOT 10
- FE310-specific performance counters HOT 1
- install_dependencies.py appears to be broken HOT 2
- Some examples do not build HOT 6
- Support LSM303AGR for newer micro:bit hardware revisions HOT 1
- Target not found for Micro:Bit with Debian Linux HOT 3
- Project Wizard doesn't generate startup files HOT 3
- Include directions in examples/README.md to have compatible versions of bb-runtimes and compiler
- Support for Adafruit Feather M0 board HOT 3
- mma8653 initialization fails on MicroBit HOT 21
- EXAMPLES: Installing run-time dependencies fails with both Python 2 and Python 3 on Linux HOT 2
- Make HAL packages preelaborable HOT 1
- I2C HAL ideas HOT 15
- Many warnings with GCC 12 HOT 2
- RISC-V requires "zicsr" ISA extension to build with FSF GNAT 12.1.1 HOT 11
- IO expander MCP23x08 reports GPIO mode always as Output HOT 1
- Support for STM32F411CEU6 board HOT 1
- Extension zicsr required in HiFive1_rev_B board
- Microbit.Time resets the board
- How to get the toolchain up and running? HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ada_drivers_library.