Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005094 [Resin] minor always 05-29-12 08:06 06-05-12 18:35
Reporter cowan View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 4.0.27
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


Additional Information This may be related to bug 0005090, which leaves SSL enabled even when it's disabeld
Attached Files

- Relationships

- Notes
(0005787)
cowan
05-29-12 08:24

Rep by R. Aughenbaugh
 

- Issue History
Date Modified Username Field Change
05-29-12 08:06 cowan New Issue
05-29-12 08:06 cowan version  => 4.0.27
05-29-12 08:24 cowan Note Added: 0005787
06-05-12 18:35 cowan Status new => closed
06-05-12 18:35 cowan Resolution open => fixed
06-05-12 18:35 cowan Fixed in Version  => 4.0.28


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker