Thread: Help me to compile curl-loader
Status: Alpha
Brought to you by:
coroberti
From: mehdi k. <meh...@ya...> - 2007-10-09 10:12:45
|
Hi dear, We get your tools (curl-loader 0.43) from the web, but we have problem in installing it. please help us. >>>system specification<<< CPU: Pentium 4 3.0 GHz RAM: 1GB OS: Linux EL 5 Kernel version: 2.6.18-8.el5 gcc version: 4.1.1 20070105 (Red Hat 4.1.1-52) >>>error detail<<< [root@localhost curl-loader-0.43]# make gcc -g -o curl-loader obj/batch.o obj/cl_alloc.o obj/client.o obj/conf.o obj/environment.o obj/heap.o obj/ip_secondary.o obj/loader.o obj/loader_fsm.o obj/loader_hyper.o obj/loader_smooth.o obj/mpool.o obj/parse_conf.o obj/screen.o obj/ssl_thr_lock.o obj/statistics.o obj/timer_queue.o obj/url.o -L./lib -L/usr//lib -ldl -lpthread -lrt -lcurl -levent -lz -lssl -lcrypto ./lib/libcurl.a(ldap.o): In function `Curl_ldap': ldap.c:(.text+0x97): undefined reference to `ldap_url_parse' ldap.c:(.text+0xb0): undefined reference to `ldap_err2string' ldap.c:(.text+0xe8): undefined reference to `ldap_msgfree' ldap.c:(.text+0x103): undefined reference to `ldap_free_urldesc' ldap.c:(.text+0x117): undefined reference to `ldap_unbind_s' ldap.c:(.text+0x1f5): undefined reference to `ldap_set_option' ldap.c:(.text+0x215): undefined reference to `ldap_set_option' ldap.c:(.text+0x22e): undefined reference to `ldap_init' ldap.c:(.text+0x2b3): undefined reference to `ldap_set_option' ldap.c:(.text+0x2d3): undefined reference to `ldap_set_option' ldap.c:(.text+0x309): undefined reference to `ldap_simple_bind_s' ldap.c:(.text+0x339): undefined reference to `ldap_set_option' ldap.c:(.text+0x367): undefined reference to `ldap_simple_bind_s' ldap.c:(.text+0x37f): undefined reference to `ldap_err2string' ldap.c:(.text+0x3e5): undefined reference to `ldap_search_s' ldap.c:(.text+0x3ff): undefined reference to `ldap_err2string' ldap.c:(.text+0x43a): undefined reference to `ldap_first_entry' ldap.c:(.text+0x46e): undefined reference to `ldap_get_dn' ldap.c:(.text+0x4ff): undefined reference to `ldap_first_attribute' ldap.c:(.text+0x524): undefined reference to `ldap_get_values_len' ldap.c:(.text+0x6b8): undefined reference to `ldap_value_free_len' ldap.c:(.text+0x6e7): undefined reference to `ldap_memfree' ldap.c:(.text+0x703): undefined reference to `ldap_next_attribute' ldap.c:(.text+0x719): undefined reference to `ldap_memfree' ldap.c:(.text+0x731): undefined reference to `ber_free' ldap.c:(.text+0x745): undefined reference to `ldap_next_entry' collect2: ld returned 1 exit status make: *** [curl-loader] Error 1 Thanks a lot. |
From: Robert I. <cor...@gm...> - 2007-10-09 10:39:46
|
Hi Mehdi, On 10/9/07, mehdi khalilzadeh <meh...@ya...> wrote: > > > We get your tools (curl-loader 0.43) from the web, but we have problem in > installing it. please help us. > >>>system specification<<< > > CPU: Pentium 4 3.0 GHz > RAM: 1GB > OS: Linux EL 5 > Kernel version: 2.6.18-8.el5 > gcc version: 4.1.1 20070105 (Red Hat 4.1.1-52) > > >>>error detail<<< > > [root@localhost curl-loader-0.43]# make > gcc -g -o curl-loader obj/batch.o obj/cl_alloc.o obj/client.o > obj/conf.o obj/environment.o obj/heap.o obj/ip_secondary.o obj/loader.o > obj/loader_fsm.o obj/loader_hyper.o obj/loader_smooth.o obj/mpool.o > obj/parse_conf.o obj/screen.o obj/ssl_thr_lock.o obj/statistics.o > obj/timer_queue.o obj/url.o -L./lib -L/usr//lib -ldl -lpthread -lrt -lcurl > -levent -lz -lssl -lcrypto > ./lib/libcurl.a(ldap.o): In function `Curl_ldap': > ldap.c:(.text+0x97): undefined reference to `ldap_url_parse' > Please, edit the Makefile and instead of Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |
From: Robert I. <cor...@gm...> - 2007-10-09 10:42:46
|
Hi Mehdi, On 10/9/07, mehdi khalilzadeh <meh...@ya...> wrote: > > > We get your tools (curl-loader 0.43) from the web, but we have problem in > installing it. please help us. > > >>>system specification<<< > > CPU: Pentium 4 3.0 GHz > RAM: 1GB > OS: Linux EL 5 > Kernel version: 2.6.18-8.el5 > gcc version: 4.1.1 20070105 (Red Hat 4.1.1-52) > > >>>error detail<<< > > [root@localhost curl-loader-0.43]# make > gcc -g -o curl-loader obj/batch.o obj/cl_alloc.o obj/client.o > obj/conf.o obj/environment.o obj/heap.o obj/ip_secondary.o obj/loader.o > obj/loader_fsm.o obj/loader_hyper.o obj/loader_smooth.o obj/mpool.o > obj/parse_conf.o obj/screen.o obj/ssl_thr_lock.o obj/statistics.o > obj/timer_queue.o obj/url.o -L./lib -L/usr//lib -ldl -lpthread -lrt -lcurl > -levent -lz -lssl -lcrypto > ./lib/libcurl.a(ldap.o): In function `Curl_ldap': > ldap.c:(.text+0x97): undefined reference to `ldap_url_parse' > l Please, edit the Makefile, and where it is --without-libidn \ make it to appear --without-libidn --without-ldap \ In a simplier words add --without-ldap between --without-libidn and \ Please, report, if it is helpful. Thanks. Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |
From: mehdi k. <meh...@ya...> - 2007-10-09 16:37:38
|
Hi Robert Thanks a lot for your kindnes; I do your guidance, but it's error didn't solve. can you help me more? - how I can remove ldap option from making? - can you send a version of curl-loader that hasn't ldap? - or can you edit Makefile and send it to me? Sincerely M.Khalilzadeh Robert Iakobashvili <cor...@gm...> wrote: Hi Mehdi, On 10/9/07, mehdi khalilzadeh <meh...@ya...> wrote: We get your tools (curl-loader 0.43) from the web, but we have problem in installing it. please help us. >>>system specification<<< CPU: Pentium 4 3.0 GHz RAM: 1GB OS: Linux EL 5 Kernel version: 2.6.18-8.el5 gcc version: 4.1.1 20070105 (Red Hat 4.1.1-52) >>>error detail<<< [root@localhost curl-loader-0.43]# make gcc -g -o curl-loader obj/batch.o obj/cl_alloc.o obj/client.o obj/conf.o obj/environment.o obj/heap.o obj/ip_secondary.o obj/loader.o obj/loader_fsm.o obj/loader_hyper.o obj/loader_smooth.o obj/mpool.o obj/parse_conf.o obj/screen.o obj/ssl_thr_lock.o obj/statistics.o obj/timer_queue.o obj/url.o -L./lib -L/usr//lib -ldl -lpthread -lrt -lcurl -levent -lz -lssl -lcrypto ./lib/libcurl.a(ldap.o): In function `Curl_ldap': ldap.c:(.text+0x97): undefined reference to `ldap_url_parse' l Please, edit the Makefile, and where it is --without-libidn \ make it to appear --without-libidn --without-ldap \ In a simplier words add --without-ldap between --without-libidn and \ Please, report, if it is helpful. Thanks. Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________ curl-loader-devel mailing list cur...@li... https://lists.sourceforge.net/lists/listinfo/curl-loader-devel --------------------------------- Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. |
From: Robert I. <cor...@gm...> - 2007-10-09 21:18:27
|
Mehdi, On 10/9/07, mehdi khalilzadeh <meh...@ya...> wrote: > I do your guidance, but it's error didn't solve. can you help me more? My guess, that you are doing it well. Sure, we will work together till the problem gets resolved. This is a problem of libcurl, and I will report it to them, but in meanwhile let's work-around it. Y have added to the makefile --without-ldap. After this correction, you were supposed to run $make cleanall $make If it is still has the same linking problems with ldap functions, please, find in the Makefile the linking line: # Link Libraries. In some cases, plese add -lidn LIBS= -ldl -lpthread -lrt -lcurl -levent -lz -lssl -lcrypto Please, add at the end -lldap The result will look like: LIBS= -ldl -lpthread -lrt -lcurl -levent -lz -lssl -lcrypto -lldap please, run just $make > - how I can remove ldap option from making? I will report the bug it to curl project. Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |