-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error on ARM platform #36
Comments
Hi @nikall, could you please try the following:
|
It worked. Thank you! |
Hi, I was going to open almost the same issue for a compilation error on a Raspberry Pi: the proposed fix works here too. Thanks |
tpetazzoni
added a commit
to buildroot/buildroot
that referenced
this issue
Apr 5, 2015
The open-plc-utils source code has a condition for uClibc toolchains when calling vfprintf(). But the non-uClibc case simply doesn't build. And the recommended solution at qca/open-plc-utils#36 is to pass -D__UCLIBC__ unconditionally. Fixes: http://autobuild.buildroot.org/results/4fd/4fdc56f5dec6c8773086a4661eff1e4ce6ef660e/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got the following error while trying to compile on an ARM based platform (BCM2708, Raspberry Pi).
../mme/ARPCPrint.c:122:2: error: incompatible type for argument 3 of ‘vfprintf’
In file included from ../mme/ARPCPrint.c:68:0:
/usr/include/stdio.h:368:12: note: expected ‘__gnuc_va_list’ but argument is of type ‘void *’
I tried both gcc 4.6 and 4.7
I am not a programmer. Any help would be appreciated.
Thank you
The text was updated successfully, but these errors were encountered: