Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5094 | minor | always | 05-29-12 08:06 | 06-05-12 18:35 | |
|
|||||
Reporter: | cowan | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.27 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.28 | ||
|
|||||
Summary: | 0005094: --disable-jni causes make to fail | ||||
Description: |
Even with --disable-jni, make still attempts to build native libraries, resulting in a failure in finding "jni.h". Resin Configuration summary: RESIN_HOME : /Users/paul/resin-4.0.s120529 root : /Users/paul/resin-4.0.s120529 conf : /Users/paul/resin-4.0.s120529/conf log : /Users/paul/resin-4.0.s120529/log plugins : common resinssl *** JNI disabled by --disable-jni molson:resin-4.0.s120529 paul$ make Makefile:288: warning: overriding commands for target `modules/c/src/Makefile' Makefile:274: warning: ignoring old commands for target `modules/c/src/Makefile' Makefile:292: warning: overriding commands for target `modules/c/src/resinssl/Makefile' Makefile:282: warning: ignoring old commands for target `modules/c/src/resinssl/Makefile' (cd modules/c/src; make) for dir in common resinssl; do (cd $dir; make); done gcc -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT stream.c stream.c: In function ?select_host?: stream.c:1394: warning: cast from pointer to integer of different size gcc -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT config.c config.c:44:1: warning: "_POSIX_PTHREAD_SEMANTICS" redefined <command-line>: warning: this is the location of the previous definition gcc -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT memory.c /Users/paul/resin-4.0.s120529/libtool --silent --mode=compile gcc -o stream.lo -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT stream.c stream.c: In function ?select_host?: stream.c:1394: warning: cast from pointer to integer of different size /Users/paul/resin-4.0.s120529/libtool --silent --mode=compile gcc -o config.lo -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT config.c config.c:44:1: warning: "_POSIX_PTHREAD_SEMANTICS" redefined <command-line>: warning: this is the location of the previous definition /Users/paul/resin-4.0.s120529/libtool --silent --mode=compile gcc -o memory.lo -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT memory.c gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DRESIN_HOME=\"/Users/paul/resin-4.0.s120529\" -I/usr/include -I../common -I../resin_os -DCPU=\"i386\" -DOS= -m64 -DSHARED_MODULE -DSSL_ENGINE -c -o ../resin_os/memory.o ../resin_os/memory.c ../resin_os/memory.c:26:17: error: jni.h: No such file or directory In file included from ../resin_os/memory.c:29: ../resin_os/resin_os.h:69: error: expected specifier-qualifier-list before ?JNIEnv? ../resin_os/resin_os.h:112: error: expected specifier-qualifier-list before ?JNIEnv? ../resin_os/resin_os.h:167: error: expected specifier-qualifier-list before ?jfieldID? ../resin_os/resin_os.h:206: error: expected ?)? before ?*? token ../resin_os/resin_os.h:207: error: expected ?)? before ?*? token ../resin_os/resin_os.h:255: error: expected ?)? before ?*? token ../resin_os/resin_os.h:262: error: expected ?)? before ?*? token make[2]: *** [../resin_os/memory.o] Error 1 make[1]: *** [plugins] Error 2 make: *** [all] Error 2 |
||||
Steps To Reproduce: | |||||
Additional Information: | This may be related to bug 0005090, which leaves SSL enabled even when it's disabeld | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|