Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000040 [Resin] minor always 03-21-05 00:00 01-17-06 10:54
Reporter neville View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.18 Product Version
  Product Build 3.0.12
Summary 0000040: ./make on RHEL 4.0
Description RSN-31
(rep by R Morimoto)

(cd src/c; make)

make[1]: Entering directory `/usr/local/resin-pro-3.0.12/src/c'
for dir in common apache1 resin resinssl resin_os; do (cd $dir; make); done
make[2]: Entering directory `/usr/local/resin-pro-3.0.12/src/c/common'
gcc -c -I/usr/include -g -O2 -DPOLL stream.c
gcc -c -I/usr/include -g -O2 -DPOLL config.c
gcc -c -I/usr/include -g -O2 -DPOLL memory.c
/usr/bin/ld -r -o common.o stream.o config.o memory.o
/usr/local/resin/libtool --silent --mode=compile gcc -o stream.lo -c
-I/usr/include -g -O2 -DPOLL stream.c
/usr/local/resin/libtool --silent --mode=compile gcc -o config.lo -c
-I/usr/include -g -O2 -DPOLL config.c
/usr/local/resin/libtool --silent --mode=compile gcc -o memory.lo -c
-I/usr/include -g -O2 -DPOLL memory.c
make[2]: Leaving directory `/usr/local/resin-pro-3.0.12/src/c/common'
make[2]: Entering directory `/usr/local/resin-pro-3.0.12/src/c/apache1'
/usr/local/resin/libtool --silent --mode=compile gcc -o mod_caucho.lo -c
-I/usr/include/httpd -I/usr/include/apr-0
-DRESIN_HOME=\"/usr/local/resin\" -I../common -g -O2 -DPOLL -O2 -g -pipe
-m32 -march=i386 -mtune=pentium4 mod_caucho.c
mod_caucho.c:54: error: syntax error before "caucho_module"
mod_caucho.c:54: warning: data definition has no type or storage class
mod_caucho.c:60: error: syntax error before '*' token
mod_caucho.c:60: warning: data definition has no type or storage class
mod_caucho.c:165: warning: "struct pool" declared inside parameter list
mod_caucho.c:165: warning: its scope is only this definition or
declaration, which is probably not what you want
mod_caucho.c: In function `cse_module_init':
mod_caucho.c:167: warning: passing arg 1 of `ap_add_version_component'
from incompatible pointer type
mod_caucho.c:167: error: too few arguments to function
`ap_add_version_component'
mod_caucho.c: At top level:
mod_caucho.c:171: error: syntax error before '*' token
mod_caucho.c: In function `cse_create_server_config':
mod_caucho.c:176: error: `p' undeclared (first use in this function)
mod_caucho.c:176: error: (Each undeclared identifier is reported only once
mod_caucho.c:176: error: for each function it appears in.)
mod_caucho.c:176: warning: assignment makes pointer from integer without
a cast
mod_caucho.c: At top level:
mod_caucho.c:190: error: syntax error before '*' token
mod_caucho.c: In function `cse_create_dir_config':
mod_caucho.c:195: error: `p' undeclared (first use in this function)
mod_caucho.c:195: warning: assignment makes pointer from integer without
a cast
mod_caucho.c: In function `cse_get_module_config':
mod_caucho.c:218: error: request for member `module_index' in something
not a structure or union
mod_caucho.c:223: error: request for member `module_index' in something
not a structure or union
mod_caucho.c: In function `cse_get_cmd_config':
mod_caucho.c:235: error: request for member `module_index' in something
not a structure or union
mod_caucho.c:240: error: request for member `module_index' in something
not a structure or union
mod_caucho.c: In function `cse_clean_jsessionid':
mod_caucho.c:415: error: request for member `module_index' in something
not a structure or union
mod_caucho.c:429: error: structure has no member named `st_mode'
mod_caucho.c:438: error: request for member `module_index' in something
not a structure or union
mod_caucho.c:452: error: structure has no member named `st_mode'
mod_caucho.c: In function `get_session_index':
mod_caucho.c:512: error: `array_header' undeclared (first use in this
function)
mod_caucho.c:512: error: `hdrs_arr' undeclared (first use in this function)
mod_caucho.c:513: error: `table_entry' undeclared (first use in this
function)
mod_caucho.c:513: error: `hdrs' undeclared (first use in this function)
mod_caucho.c:513: error: syntax error before ')' token
mod_caucho.c:533: error: request for member `module_index' in something
not a structure or union
mod_caucho.c: In function `write_env':
mod_caucho.c:576: error: request for member `module_index' in something
not a structure or union
mod_caucho.c:591: warning: passing arg 3 of `cse_write_string' makes
pointer from integer without a cast
mod_caucho.c:593: error: too few arguments to function `ap_get_remote_host'
mod_caucho.c:601: error: request for member `sin_port' in something not
a structure or union
mod_caucho.c:601: warning: passing arg 3 of `cse_write_string' makes
pointer from integer without a cast
mod_caucho.c:603: error: structure has no member named `user'
mod_caucho.c:604: error: structure has no member named `user'
mod_caucho.c:605: error: structure has no member named `ap_auth_type'
mod_caucho.c:606: error: structure has no member named `ap_auth_type'
mod_caucho.c:652: error: `array_header' undeclared (first use in this
function)
mod_caucho.c:652: error: `hdrs_arr' undeclared (first use in this function)
mod_caucho.c:653: error: `table_entry' undeclared (first use in this
function)
mod_caucho.c:653: error: `hdrs' undeclared (first use in this function)
mod_caucho.c:653: error: syntax error before ')' token
mod_caucho.c: In function `write_added_headers':
mod_caucho.c:681: error: `array_header' undeclared (first use in this
function)
mod_caucho.c:681: error: `hdrs_arr' undeclared (first use in this function)
mod_caucho.c:682: error: `table_entry' undeclared (first use in this
function)
mod_caucho.c:682: error: `hdrs' undeclared (first use in this function)
mod_caucho.c:682: error: syntax error before ')' token
mod_caucho.c:702: error: structure has no member named `user'
mod_caucho.c: In function `send_data':
mod_caucho.c:819: warning: assignment makes pointer from integer without
a cast
mod_caucho.c:827: warning: assignment makes pointer from integer without
a cast
mod_caucho.c: In function `caucho_request':
mod_caucho.c:965: error: request for member `module_index' in something
not a structure or union
mod_caucho.c:967: error: request for member `module_index' in something
not a structure or union
mod_caucho.c: At top level:
mod_caucho.c:1194: error: syntax error before "pool"
mod_caucho.c:1208: error: syntax error before "pool"
mod_caucho.c:1249: error: syntax error before "caucho_handlers"
mod_caucho.c:1251: warning: braces around scalar initializer
mod_caucho.c:1251: warning: (near initialization for `caucho_handlers[0]')
mod_caucho.c:1251: warning: initialization makes integer from pointer
without a cast
mod_caucho.c:1251: warning: excess elements in scalar initializer
mod_caucho.c:1251: warning: (near initialization for `caucho_handlers[0]')
mod_caucho.c:1252: warning: braces around scalar initializer
mod_caucho.c:1252: warning: (near initialization for `caucho_handlers[1]')
mod_caucho.c:1252: warning: initialization makes integer from pointer
without a cast
mod_caucho.c:1252: warning: excess elements in scalar initializer
mod_caucho.c:1252: warning: (near initialization for `caucho_handlers[1]')
mod_caucho.c:1253: warning: braces around scalar initializer
mod_caucho.c:1253: warning: (near initialization for `caucho_handlers[2]')
mod_caucho.c:1253: warning: initialization makes integer from pointer
without a cast
mod_caucho.c:1254: warning: data definition has no type or storage class
mod_caucho.c:1265: error: conflicting types for 'caucho_module'
mod_caucho.c:54: error: previous declaration of 'caucho_module' was here
mod_caucho.c:1267: error: `this_module_needs_to_be_ported_to_apache_2_0'
undeclared here (not in a function)
mod_caucho.c:1267: error: initializer element is not constant
mod_caucho.c:1267: error: (near initialization for `caucho_module.version')
mod_caucho.c:1268: warning: initialization makes integer from pointer
without a cast
mod_caucho.c:1269: warning: initialization makes integer from pointer
without a cast
mod_caucho.c:1273: warning: initialization makes integer from pointer
without a cast
mod_caucho.c:1274: warning: initialization from incompatible pointer type
mod_caucho.c:1275: warning: initialization from incompatible pointer type
mod_caucho.c:1279: warning: initialization from incompatible pointer type
mod_caucho.c:1281: warning: excess elements in struct initializer
mod_caucho.c:1281: warning: (near initialization for `caucho_module')
mod_caucho.c:1282: warning: excess elements in struct initializer
mod_caucho.c:1282: warning: (near initialization for `caucho_module')
mod_caucho.c:1283: warning: excess elements in struct initializer
mod_caucho.c:1283: warning: (near initialization for `caucho_module')
mod_caucho.c:1284: warning: excess elements in struct initializer
mod_caucho.c:1284: warning: (near initialization for `caucho_module')
mod_caucho.c:1285: warning: excess elements in struct initializer
mod_caucho.c:1285: warning: (near initialization for `caucho_module')
make[2]: *** [mod_caucho.lo] Error 1
make[2]: Leaving directory `/usr/local/resin-pro-3.0.12/src/c/apache1'
make[2]: Entering directory `/usr/local/resin-pro-3.0.12/src/c/resin'
gcc -g -O2 -DPOLL -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/include -I../common -DCPU=\"i386\"
-DOS= -c -o std.o std.c
gcc -g -O2 -DPOLL -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/include -I../common -DCPU=\"i386\"
-DOS= -c -o memory.o memory.c
gcc -g -O2 -DPOLL -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/include -I../common -DCPU=\"i386\"
-DOS= -c -o jni_vfs.o jni_vfs.c


[root@foo resin-3.0.12]# rpm -qa | grep http
httpd-2.0.52-9.ent
httpd-manual-2.0.52-9.ent
httpd-devel-2.0.52-9.ent
httpd-suexec-2.0.52-9.ent


Steps To Reproduce
Additional Information RHEL 4.0
Attached Files

- Relationships

- Notes
(0000046)
user100
03-21-05 00:00

I found that the apache2 plugins were not being used/installed.
Here's a workaround. Perhaps the configure script needs to be modified?

cd /usr/local/resin-pro-3.0.12
./configure --with-apache --with-apxs=/usr/sbin/apxs
vi ./src/c/Makefile
   change "plugins='common apache1 resin resinssl'
   to
   change "plugins='common apache2 resin resinssl'
make
make install

the Makefile is generated automatically so the order is important
now /etc/httpd/modules/mod_caucho.so gets created, unlike before.

This applies to RHEL 4.0, Apache 2.0.52, and Resin-Pro-3.0.12

I hope this helps many of you!


 
(0000047)
user202
03-21-05 00:00

In Resin-3.0.14 the Makefile is now at ./modules/c/src/Makefile
 

- Issue History
Date Modified Username Field Change
03-21-05 00:00 neville New Issue
01-17-06 10:54 ferg Assigned To  => ferg
01-17-06 10:54 ferg Status acknowledged => closed
01-17-06 10:54 ferg Resolution open => fixed
01-17-06 10:54 ferg version 3.0.12 =>
01-17-06 10:54 ferg Fixed in Version  => 3.0.18


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