-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I can complie It on apache 2.4.39 #1
Comments
Hi!
I will check it later today and send you a fix.
;)
…On Sun, Apr 14, 2019, 05:40 jhzao82 ***@***.***> wrote:
Here is the error, How can fix that?
apxs -i -a -c mod_bw.c
/usr/lib64/apr15u-1/build/libtool --silent --mode=compile gcc -std=gnu99
-prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread
-I/usr/include/httpd -I/usr/include/apr15u-1 -I/usr/include/apr15u-1 -c -o
mod_bw.lo mod_bw.c && touch mod_bw.slo
mod_bw.c: In function 'get_bw_rate':
mod_bw.c:567:59: error: 'conn_rec' has no member named 'remote_addr'
if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
^
mod_bw.c: In function 'get_maxconn':
mod_bw.c:658:59: error: 'conn_rec' has no member named 'remote_addr'
if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
^
mod_bw.c: In function 'get_sid':
mod_bw.c:709:59: error: 'conn_rec' has no member named 'remote_addr'
if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
^
apxs:Error: Command failed with rc=65536
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARVaEK5BfvrWLvDM0rHnlLUM7nb_0ayrks5vgvefgaJpZM4cuhLF>
.
|
Im attaching the modified source for it to compile correctly with apache >=
2.4
Let me know if it is working for you. And any other comments you might have.
I hope to release a new version soon. Its been abandoned for way too long.
Regards
…On Sun, Apr 14, 2019 at 2:45 PM Bruce ***@***.***> wrote:
Hi!
I will check it later today and send you a fix.
;)
On Sun, Apr 14, 2019, 05:40 jhzao82 ***@***.***> wrote:
> Here is the error, How can fix that?
>
> apxs -i -a -c mod_bw.c
> /usr/lib64/apr15u-1/build/libtool --silent --mode=compile gcc -std=gnu99
> -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread
> -I/usr/include/httpd -I/usr/include/apr15u-1 -I/usr/include/apr15u-1 -c -o
> mod_bw.lo mod_bw.c && touch mod_bw.slo
> mod_bw.c: In function 'get_bw_rate':
> mod_bw.c:567:59: error: 'conn_rec' has no member named 'remote_addr'
> if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
> ^
> mod_bw.c: In function 'get_maxconn':
> mod_bw.c:658:59: error: 'conn_rec' has no member named 'remote_addr'
> if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
> ^
> mod_bw.c: In function 'get_sid':
> mod_bw.c:709:59: error: 'conn_rec' has no member named 'remote_addr'
> if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
> ^
> apxs:Error: Command failed with rc=65536
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#1>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ARVaEK5BfvrWLvDM0rHnlLUM7nb_0ayrks5vgvefgaJpZM4cuhLF>
> .
>
|
well done! but new patch looks not commited? |
Not yet.
Will commit in a couple of days (im out of the office) ;)
…On Tue, Apr 16, 2019 at 1:44 AM jhzao82 ***@***.***> wrote:
well done! but new patch looks not commited?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hola Ivan! One question, did you ever commit this change? I am facing the same problem as @jhzao82 was having with the latest Thanks in advance! Jorge |
A bit late for this reply but you can replace 'remove_addr' with 'client_addr' in the code and it should compile. |
Sorry guys for dissapearing. |
@IvnSoft Any luck getting the new version out? |
Bump. Still looking forward to the next version (maybe with some of my Windows enhancements included). |
Here is the error, How can fix that?
apxs -i -a -c mod_bw.c
/usr/lib64/apr15u-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr15u-1 -I/usr/include/apr15u-1 -c -o mod_bw.lo mod_bw.c && touch mod_bw.slo
mod_bw.c: In function 'get_bw_rate':
mod_bw.c:567:59: error: 'conn_rec' has no member named 'remote_addr'
if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
^
mod_bw.c: In function 'get_maxconn':
mod_bw.c:658:59: error: 'conn_rec' has no member named 'remote_addr'
if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
^
mod_bw.c: In function 'get_sid':
mod_bw.c:709:59: error: 'conn_rec' has no member named 'remote_addr'
if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) {
^
apxs:Error: Command failed with rc=65536
The text was updated successfully, but these errors were encountered: