<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>ngx_http_upstream_keepalive error ?</title>
        <description> Hi first time trying to compile Nginx with ngx_http_upstream_keepalive
module support and seems I am getting an error at make stage while
compiling with Nginx v1.1.19 ?

configure line:

../configure --sbin-path=/usr/local/sbin
--conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module
--with-http_gzip_static_module --with-http_stub_status_module
--with-http_sub_module --with-http_addition_module
--with-http_secure_link_module --with-http_flv_module
--with-http_realip_module --add-module=../ngx-fancyindex-ngx-fancyindex
--add-module=../ngx_cache_purge-1.4
--add-module=../nginx-accesskey-2.0.3
--add-module=../agentzh-memc-nginx-module-4007350
--add-module=../agentzh-srcache-nginx-module-fa2da58
--add-module=../ngx_http_upstream_keepalive-d9ac9ad67f45
--with-openssl=../openssl-1.0.0e --with-openssl-opt=&amp;quot;enable-tlsext&amp;quot;

the error at make stage

       
objs/addon/ngx-fancyindex-ngx-fancyindex/ngx_http_fancyindex_module.o \
        objs/addon/ngx_cache_purge-1.4/ngx_cache_purge_module.o \
        objs/addon/nginx-accesskey-2.0.3/ngx_http_accesskey_module.o \
        objs/addon/src/ngx_http_memc_module.o \
        objs/addon/src/ngx_http_memc_request.o \
        objs/addon/src/ngx_http_memc_response.o \
        objs/addon/src/ngx_http_memc_util.o \
        objs/addon/src/ngx_http_memc_handler.o \
        objs/addon/src/ngx_http_srcache_filter_module.o \
        objs/addon/src/ngx_http_srcache_util.o \
        objs/addon/src/ngx_http_srcache_var.o \
        objs/addon/src/ngx_http_srcache_store.o \
        objs/addon/src/ngx_http_srcache_fetch.o \
        objs/addon/src/ngx_http_srcache_headers.o \
       
objs/addon/ngx_http_upstream_keepalive-d9ac9ad67f45/ngx_http_upstream_keepalive_module.o
\
        objs/ngx_modules.o \
        -lpthread -lcrypt -lpcre ../openssl-1.0.0e/.openssl/lib/libssl.a
.../openssl-1.0.0e/.openssl/lib/libcrypto.a -ldl -lz
objs/addon/ngx_http_upstream_keepalive-d9ac9ad67f45/ngx_http_upstream_keepalive_module.o:(.data+0x0):
multiple definition of `ngx_http_upstream_keepalive_module'
objs/src/http/modules/ngx_http_upstream_keepalive_module.o:(.data+0x0):
first defined here
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/setup/nginx-1.1.19'
make: *** [build] Error 2

any ideas ?

thanks

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,225641,225641#msg-225641

_______________________________________________
nginx mailing list
&amp;#110;&amp;#103;&amp;#105;&amp;#110;&amp;#120;&amp;#64;&amp;#110;&amp;#103;&amp;#105;&amp;#110;&amp;#120;&amp;#46;&amp;#111;&amp;#114;&amp;#103;
http://mailman.nginx.org/mailman/listinfo/nginx</description>
        <link>http://www.serverphorums.com/read.php?5,484051,484051#msg-484051</link>
        <lastBuildDate>Wed, 19 Jun 2013 16:56:57 +0200</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,484051,484085#msg-484085</guid>
            <title>Re: ngx_http_upstream_keepalive error ?</title>
            <link>http://www.serverphorums.com/read.php?5,484051,484085#msg-484085</link>
            <description><![CDATA[ doh ... no wonder why it complained of multiple definitions lol<br />
<br />
thanks :)<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,225641,225645#msg-225645" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,225641,225645#msg-225645</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>George</dc:creator>
            <category>Nginx</category>
            <pubDate>Mon, 23 Apr 2012 10:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,484051,484065#msg-484065</guid>
            <title>Re: ngx_http_upstream_keepalive error ?</title>
            <link>http://www.serverphorums.com/read.php?5,484051,484065#msg-484065</link>
            <description><![CDATA[ Hello!<br />
<br />
On Mon, Apr 23, 2012 at 03:04:43AM -0400, George wrote:<br />
<br />
&gt; Hi first time trying to compile Nginx with ngx_http_upstream_keepalive<br />
&gt; module support and seems I am getting an error at make stage while<br />
&gt; compiling with Nginx v1.1.19 ?<br />
&gt; <br />
&gt; configure line:<br />
&gt; <br />
&gt; ./configure --sbin-path=/usr/local/sbin<br />
&gt; --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module<br />
&gt; --with-http_gzip_static_module --with-http_stub_status_module<br />
&gt; --with-http_sub_module --with-http_addition_module<br />
&gt; --with-http_secure_link_module --with-http_flv_module<br />
&gt; --with-http_realip_module --add-module=../ngx-fancyindex-ngx-fancyindex<br />
&gt; --add-module=../ngx_cache_purge-1.4<br />
&gt; --add-module=../nginx-accesskey-2.0.3<br />
&gt; --add-module=../agentzh-memc-nginx-module-4007350<br />
&gt; --add-module=../agentzh-srcache-nginx-module-fa2da58<br />
&gt; --add-module=../ngx_http_upstream_keepalive-d9ac9ad67f45<br />
<br />
You don't need separate upstream keepalive module, it's already <br />
included into nginx since 1.1.4 and compiled in by default.<br />
<br />
Maxim Dounin<br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>Maxim Dounin</dc:creator>
            <category>Nginx</category>
            <pubDate>Mon, 23 Apr 2012 09:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,484051,484051#msg-484051</guid>
            <title>ngx_http_upstream_keepalive error ?</title>
            <link>http://www.serverphorums.com/read.php?5,484051,484051#msg-484051</link>
            <description><![CDATA[ Hi first time trying to compile Nginx with ngx_http_upstream_keepalive<br />
module support and seems I am getting an error at make stage while<br />
compiling with Nginx v1.1.19 ?<br />
<br />
configure line:<br />
<br />
../configure --sbin-path=/usr/local/sbin<br />
--conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module<br />
--with-http_gzip_static_module --with-http_stub_status_module<br />
--with-http_sub_module --with-http_addition_module<br />
--with-http_secure_link_module --with-http_flv_module<br />
--with-http_realip_module --add-module=../ngx-fancyindex-ngx-fancyindex<br />
--add-module=../ngx_cache_purge-1.4<br />
--add-module=../nginx-accesskey-2.0.3<br />
--add-module=../agentzh-memc-nginx-module-4007350<br />
--add-module=../agentzh-srcache-nginx-module-fa2da58<br />
--add-module=../ngx_http_upstream_keepalive-d9ac9ad67f45<br />
--with-openssl=../openssl-1.0.0e --with-openssl-opt=&quot;enable-tlsext&quot;<br />
<br />
the error at make stage<br />
<br />
       <br />
objs/addon/ngx-fancyindex-ngx-fancyindex/ngx_http_fancyindex_module.o \<br />
        objs/addon/ngx_cache_purge-1.4/ngx_cache_purge_module.o \<br />
        objs/addon/nginx-accesskey-2.0.3/ngx_http_accesskey_module.o \<br />
        objs/addon/src/ngx_http_memc_module.o \<br />
        objs/addon/src/ngx_http_memc_request.o \<br />
        objs/addon/src/ngx_http_memc_response.o \<br />
        objs/addon/src/ngx_http_memc_util.o \<br />
        objs/addon/src/ngx_http_memc_handler.o \<br />
        objs/addon/src/ngx_http_srcache_filter_module.o \<br />
        objs/addon/src/ngx_http_srcache_util.o \<br />
        objs/addon/src/ngx_http_srcache_var.o \<br />
        objs/addon/src/ngx_http_srcache_store.o \<br />
        objs/addon/src/ngx_http_srcache_fetch.o \<br />
        objs/addon/src/ngx_http_srcache_headers.o \<br />
       <br />
objs/addon/ngx_http_upstream_keepalive-d9ac9ad67f45/ngx_http_upstream_keepalive_module.o<br />
\<br />
        objs/ngx_modules.o \<br />
        -lpthread -lcrypt -lpcre ../openssl-1.0.0e/.openssl/lib/libssl.a<br />
.../openssl-1.0.0e/.openssl/lib/libcrypto.a -ldl -lz<br />
objs/addon/ngx_http_upstream_keepalive-d9ac9ad67f45/ngx_http_upstream_keepalive_module.o:(.data+0x0):<br />
multiple definition of `ngx_http_upstream_keepalive_module'<br />
objs/src/http/modules/ngx_http_upstream_keepalive_module.o:(.data+0x0):<br />
first defined here<br />
collect2: ld returned 1 exit status<br />
make[1]: *** [objs/nginx] Error 1<br />
make[1]: Leaving directory `/setup/nginx-1.1.19'<br />
make: *** [build] Error 2<br />
<br />
any ideas ?<br />
<br />
thanks<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,225641,225641#msg-225641" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,225641,225641#msg-225641</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>George</dc:creator>
            <category>Nginx</category>
            <pubDate>Mon, 23 Apr 2012 09:10:02 +0200</pubDate>
        </item>
    </channel>
</rss>
