Comments (13)
I've just merged the fix into master.
from pigfx.
I confirm the problem. For a strange reason the uspi commit I was linking is no more present in their history.
I'll fix this asap. In the meanwhile you should be able to solve by doing the following:
git submodule update --init
cd uspi
git fetch
git pull
./make all
optionally, you may need to change arm-linux-gnueabihf-
with arm-none-aeabi-
in uspi/Rules.mk
from pigfx.
Thanks!
Set PREFIX ?= arm-none-eabi-
in uspi/Rules.mk
and ./makeall
was effect. uspi builded successfully.
But make a build of pigfx was not so succefully:
from pigfx.
Can you please list me the output of the following command?
$ arm-none-eabi-gcc -print-libgcc-file-name
it looks like the gnu c library is not linked properly
from pigfx.
/usr/local/gcc-arm-none-eabi-5_4-2016q2/bin/../lib/gcc/arm-none-eabi/5.4.1/libgcc.a
from pigfx.
Your error looks quite strange to me. I can't understand from your listing if it's at compile or link stage. But I can tell you that all those undefined references are from the lib gcc that should be provided by libgcc.a
I've tested my code both on Mac OS X El Capitan (your version!) and Linux Ubuntu xenial with no issues, so I'm wondering how to replicate the problem on my setup.
Tomorrow I'll do some more experiments on that. In the meanwhile, in the bin directory you can find a pre-compiled binary ready to be copied on a raspi sd card.
from pigfx.
Hmmm... compiled successfully with monkey patching:
src/gfx.c
:
inline void __swap__( int* a, int* b )
inline int __abs__( int a )
// replaced with
void __swap__( int* a, int* b )
int __abs__( int a )
src/console.c
char buffer[32] = {0};
// replaced with
char buffer[32];
May be I have wrong versions of toolchain's utilities? For example:
$ ctags --help
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ctags: illegal option -- -
Sorry, I'm not so skilled in c-magic and toolchains. I'm use hombrew and xcode for installing tools for web-developing (lib-some-thing and etc). May be some conflicts with it?
from pigfx.
from pigfx.
If you use the same version as the author it builds fine .
https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q2-update
ken
from pigfx.
Ok it depends on your toolchain. I'll check if your changes are also compatible with mine and patch the code
from pigfx.
I've patched the code in the issue_1_fix branch. Can you please test it if it's working on your setup before I merge on the master branch?
Thank you
from pigfx.
Ok, @fbergama your patch is fixed bug.
from pigfx.
My version:
gcc version 5.4.1 20160609 (release) [ARM/embedded-5-branch revision 237715] (GNU Tools for ARM Embedded Processors)
from pigfx.
Related Issues (20)
- replaceLFwithCR + sendCRLF don't do anything HOT 21
- Compiling Error HOT 5
- Command for filled/empty shapes resulting in the same filled shape?
- How to load custom fonts? HOT 2
- [Feature request?] Change baudrate interactively HOT 4
- Feature request: Screen saver/blanker
- Bypass PIGFX card without removing it? HOT 1
- Compile fail. HOT 2
- unable to correctly set baudrate. HOT 14
- USB keyboard feature not working. HOT 11
- Pi/KBD freezes after several hours. HOT 8
- Having troubles with Pi Zero W HOT 1
- Composite output HOT 4
- Something not right, with apps that request number input and do not recognize enter key. HOT 3
- New Line/Enter not working in certian situations. HOT 5
- Resolution 800x480
- Pi pico ? HOT 5
- Hotswap USB keyboard...is this possible? HOT 2
- Qemu instructions and scripts out of date HOT 2
- Screen resolution of 1920*1080 possible
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 pigfx.