Lenin T
|
Re: How to build IOZONE tool on QNX SDP7.1
|
Lenin T
05/16/2023 11:39 PM
post122268
|
Re: How to build IOZONE tool on QNX SDP7.1
I have made changes in the make file for some qnx related defines .
Still i am facing errors as below :
11:35:28 **** Incremental Build of configuration Debug for project current ****
Info: Internal Builder is used for build
qcc -o libasync.o "..\\libasync.c" -V8.3.0,gcc_ntoaarch64le -c -O0 -g
..\libasync.c: In function 'async_init':
..\libasync.c:283:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
exit(174);
^~~~
..\libasync.c:283:3: warning: incompatible implicit declaration of built-in function 'exit'
..\libasync.c:283:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
..\libasync.c:116:1:
+#include <stdlib.h>
#endif
..\libasync.c:283:3:
exit(174);
^~~~
..\libasync.c:285:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
bzero(*gc,sizeof(struct cache));
^~~~~
..\libasync.c:285:2: warning: incompatible implicit declaration of built-in function 'bzero'
..\libasync.c: In function 'end_async':
..\libasync.c:306:2: warning: implicit declaration of function 'del_cache'; did you mean 'incache'? [-Wimplicit-function
-declaration]
del_cache(mygc);
^~~~~~~~~
incache
..\libasync.c: In function 'async_read':
..\libasync.c:436:3: warning: implicit declaration of function 'takeoff_cache'; did you mean 'alloc_cache'? [-Wimplicit-
function-declaration]
takeoff_cache(gc,ce);
^~~~~~~~~~~~~
alloc_cache
..\libasync.c: In function 'alloc_cache':
..\libasync.c:545:3: warning: incompatible implicit declaration of built-in function 'exit'
exit(175);
^~~~
..\libasync.c:545:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
..\libasync.c:547:2: warning: incompatible implicit declaration of built-in function 'bzero'
bzero(ce,sizeof(struct cache_ent));
^~~~~
..\libasync.c:554:3: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^~~~
..\libasync.c:554:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
..\libasync.c:563:3: warning: incompatible implicit declaration of built-in function 'exit'
exit(176);
^~~~
..\libasync.c:563:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
..\libasync.c: At top level:
..\libasync.c:622:1: warning: conflicting types for 'takeoff_cache'
takeoff_cache(struct cache *gc, struct cache_ent *ce)
^~~~~~~~~~~~~
..\libasync.c:436:3: note: previous implicit declaration of 'takeoff_cache' was here
takeoff_cache(gc,ce);
^~~~~~~~~~~~~
..\libasync.c:696:1: warning: conflicting types for 'del_cache'
del_cache(gc)
^~~~~~~~~
..\libasync.c:306:2: note: previous implicit declaration of 'del_cache' was here
del_cache(mygc);
^~~~~~~~~
..\libasync.c: In function 'async_read_no_copy':
..\libasync.c:799:4: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^~~~
..\libasync.c:799:4: note: include '<stdlib.h>' or provide a declaration of 'exit'
..\libasync.c:819:3: warning: implicit declaration of function 'putoninuse' [-Wimplicit-function-declaration]
putoninuse(gc,ce);
^~~~~~~~~~
..\libasync.c:960:4: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^~~~
..\libasync.c:960:4: note: include '<stdlib.h>' or provide a declaration of 'exit'
..\libasync.c: In function 'async_release':
..\libasync.c:986:2: warning: implicit declaration of function 'takeoffinuse'; did you mean 'takeoff_cache'? [-Wimplicit
-function-declaration]
takeoffinuse(gc);
^~~~~~~~~~~~
takeoff_cache
..\libasync.c: At top level:
..\libasync.c:1000:1: warning: conflicting types for 'putoninuse'
putoninuse(gc,entry)
^~~~~~~~~~
..\libasync.c:819:3: note: previous implicit declaration of 'putoninuse' was here
putoninuse(gc,ce);
^~~~~~~~~~
..\libasync.c:1021:1: warning: conflicting types for 'takeoffinuse'
takeoffinuse(gc)
...
View Full Message
|
|
|