eli-zh / bootchart-lite Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/bootchart-lite
License: GNU General Public License v2.0
Automatically exported from code.google.com/p/bootchart-lite
License: GNU General Public License v2.0
Both cross-compilation and native compilation on ARMv7 fails :
root@master:~/bootchart-lite# make
Making all in src
make[1]: Entering directory `/root/bootchart-lite/src'
gcc -std=gnu99 -DPACKAGE_NAME=\"bootchart-lite\"
-DPACKAGE_TARNAME=\"bootchart-lite\" -DPACKAGE_VERSION=\"0.0.1\"
-DPACKAGE_STRING=\"bootchart-lite\ 0.0.1\" -DPc
bootchart-lite.c: In function 'fetch_data_with_uptime':
bootchart-lite.c:118:2: warning: implicit declaration of function 'fetch_data'
[-Wimplicit-function-declaration]
bootchart-lite.c: In function 'fetch_data_ps':
bootchart-lite.c:162:3: warning: implicit declaration of function 'exit'
[-Wimplicit-function-declaration]
bootchart-lite.c:162:3: warning: incompatible implicit declaration of built-in
function 'exit' [enabled by default]
bootchart-lite.c:185:4: warning: passing argument 1 of 'check_exitproc' from
incompatible pointer type [enabled by default]
bootchart-lite.c:60:1: note: expected 'const char *' but argument is of type
'char (*)[1024]'
bootchart-lite.c: In function 'main':
bootchart-lite.c:229:3: warning: incompatible implicit declaration of built-in
function 'exit' [enabled by default]
bootchart-lite.c:234:3: warning: incompatible implicit declaration of built-in
function 'exit' [enabled by default]
bootchart-lite.c:239:3: warning: incompatible implicit declaration of built-in
function 'exit' [enabled by default]
bootchart-lite.c:262:3: warning: incompatible implicit declaration of built-in
function 'exit' [enabled by default]
bootchart-lite.c:265:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:266:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:267:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:269:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:270:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:271:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c: In function 'fetch_data_ps':
bootchart-lite.c:157:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:158:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:168:8: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:187:9: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:193:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c: In function 'fetch_data':
bootchart-lite.c:141:8: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c: In function 'fetch_data_with_uptime':
bootchart-lite.c:116:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:117:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c:119:7: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
bootchart-lite.c: In function 'get_uptime':
bootchart-lite.c:94:6: warning: ignoring return value of 'read', declared with
attribute warn_unused_result [-Wunused-result]
In file included from /usr/include/fcntl.h:252:0,
from bootchart-lite.c:21:
In function 'open',
inlined from 'main' at bootchart-lite.c:260:21:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:51:24: error: call to
'__open_missing_mode' declared with attribute error: open with O_CREAT in
second argument ns
make[1]: *** [bootchart-lite.o] Error 1
make[1]: Leaving directory `/root/bootchart-lite/src'
make: *** [all-recursive] Error 1
root@master:~/bootchart-lite#
Compiler used (when compiled natively) :
root@master:~# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languagesf
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
root@master:~#
Original issue reported on code.google.com by [email protected]
on 18 Jul 2013 at 3:47
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.