Anonymous | Login | Signup for a new account | 11-21-2024 16:20 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0006450 | [Resin] | minor | always | 11-23-21 15:42 | 10-30-23 02:27 | |||||||
Reporter | nam | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 4.0.65 | |||||||||
Summary | 0006450: unable to compile on M1 Mac with missing jni_md.h include | |||||||||||
Description |
(rep by L. Vivono) The version that I’mm trying to compile is: 4.0.61 And this is the error: make[1]: Entering directory '/resin-4.0.61/modules/c/src' for dir in common resin_os ; do (cd $dir; make); done make[2]: Entering directory '/resin-4.0.61/modules/c/src/common' gcc -c -I/usr/include -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DPOLL -DHAS_JVMTI -fpic stream.c stream.c: In function ‘select_host’: stream.c:1595:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1595 | srand(65521 * time(0) + getpid() + (int) cluster); | ^ gcc -c -I/usr/include -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DPOLL -DHAS_JVMTI -fpic config.c gcc -c -I/usr/include -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DPOLL -DHAS_JVMTI -fpic memory.c memory.c: In function ‘cse_free_pool’: memory.c:126:5: warning: implicit declaration of function ‘cse_free’; did you mean ‘cse_write’? [-Wimplicit-function-declaration] 126 | cse_free(ptr->buffer); | ^~~~~~~~ | cse_write /resin-4.0.61/libtool --silent --mode=compile gcc -o stream.lo -c -I/usr/include -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DPOLL -DHAS_JVMTI -fpic stream.c stream.c: In function ‘select_host’: stream.c:1595:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1595 | srand(65521 * time(0) + getpid() + (int) cluster); | ^ /resin-4.0.61/libtool --silent --mode=compile gcc -o config.lo -c -I/usr/include -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DPOLL -DHAS_JVMTI -fpic config.c /resin-4.0.61/libtool --silent --mode=compile gcc -o memory.lo -c -I/usr/include -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DPOLL -DHAS_JVMTI -fpic memory.c memory.c: In function ‘cse_free_pool’: memory.c:126:5: warning: implicit declaration of function ‘cse_free’; did you mean ‘cse_write’? [-Wimplicit-function-declaration] 126 | cse_free(ptr->buffer); | ^~~~~~~~ | cse_write make[2]: Leaving directory '/resin-4.0.61/modules/c/src/common' make[2]: Entering directory '/resin-4.0.61/modules/c/src/resin_os' gcc -g -O2 -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DPOLL -DHAS_JVMTI -DRESIN_HOME=\"/usr/local/share/resin\" -I/usr/include -I/usr/local/openjdk-11/include -I../common -DCPU=\"arm\" -DOS= -c -o boot.o boot.c In file included from boot.c:32: /usr/local/openjdk-11/include/jni.h:45:10: fatal error: jni_md.h: No such file or directory 45 | #include "jni_md.h" | ^~~~~~~~~~ compilation terminated. make[2]: *** [<builtin>: boot.o] Error 1 make[2]: Leaving directory '/resin-4.0.61/modules/c/src/resin_os' make[1]: *** [Makefile:9: plugins] Error 2 make[1]: Leaving directory '/resin-4.0.61/modules/c/src' make: *** [Makefile:716: all] Error 2 |
|||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
60 total queries executed. 36 unique queries executed. |