Re: error compiling on Ubuntu 13.04
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2013-12-03 20:49:33
|
In Makefile there is configuration for curl. Try to add as a one more option for ./configure *--without-librtmp* *RGDS* On Tue, Dec 3, 2013 at 10:05 PM, Florin Andrei <fl...@an...>wrote: > Using v0.56 > > I did a simple make and this is how it ended: > > gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 > -D_FILE_OFFSET_BITS=64 -O3 -ffast-math -finline-functions > -funroll-all-loops -finline-limit=1000 -mmmx -msse > -foptimize-sibling-calls -g -I. -I./inc -I/usr//include -c -o > obj/mpool.o mpool.c > gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 > -D_FILE_OFFSET_BITS=64 -O3 -ffast-math -finline-functions > -funroll-all-loops -finline-limit=1000 -mmmx -msse > -foptimize-sibling-calls -g -I. -I./inc -I/usr//include -c -o > obj/parse_conf.o parse_conf.c > gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 > -D_FILE_OFFSET_BITS=64 -O3 -ffast-math -finline-functions > -funroll-all-loops -finline-limit=1000 -mmmx -msse > -foptimize-sibling-calls -g -I. -I./inc -I/usr//include -c -o > obj/screen.o screen.c > gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 > -D_FILE_OFFSET_BITS=64 -O3 -ffast-math -finline-functions > -funroll-all-loops -finline-limit=1000 -mmmx -msse > -foptimize-sibling-calls -g -I. -I./inc -I/usr//include -c -o > obj/ssl_thr_lock.o ssl_thr_lock.c > gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 > -D_FILE_OFFSET_BITS=64 -O3 -ffast-math -finline-functions > -funroll-all-loops -finline-limit=1000 -mmmx -msse > -foptimize-sibling-calls -g -I. -I./inc -I/usr//include -c -o > obj/statistics.o statistics.c > gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 > -D_FILE_OFFSET_BITS=64 -O3 -ffast-math -finline-functions > -funroll-all-loops -finline-limit=1000 -mmmx -msse > -foptimize-sibling-calls -g -I. -I./inc -I/usr//include -c -o > obj/timer_queue.o timer_queue.c > gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 > -D_FILE_OFFSET_BITS=64 -O3 -ffast-math -finline-functions > -funroll-all-loops -finline-limit=1000 -mmmx -msse > -foptimize-sibling-calls -g -I. -I./inc -I/usr//include -c -o obj/url.o > url.c > gcc -g -O3 -ffast-math -finline-functions -funroll-all-loops > -finline-limit=1000 -mmmx -msse -foptimize-sibling-calls -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 -lcurl -levent -lz -lssl -lcrypto -lcares > -ldl -lpthread -lnsl -lrt -lresolv > ./lib/libcurl.a(curl_rtmp.o): In function `rtmp_disconnect': > curl_rtmp.c:(.text+0x2c): undefined reference to `RTMP_Close' > curl_rtmp.c:(.text+0x34): undefined reference to `RTMP_Free' > ./lib/libcurl.a(curl_rtmp.o): In function `rtmp_connect': > curl_rtmp.c:(.text+0xcf): undefined reference to `RTMP_Connect1' > ./lib/libcurl.a(curl_rtmp.o): In function `rtmp_send': > curl_rtmp.c:(.text+0x151): undefined reference to `RTMP_Write' > ./lib/libcurl.a(curl_rtmp.o): In function `rtmp_recv': > curl_rtmp.c:(.text+0x199): undefined reference to `RTMP_Read' > ./lib/libcurl.a(curl_rtmp.o): In function `rtmp_setup': > curl_rtmp.c:(.text+0x202): undefined reference to `RTMP_Alloc' > curl_rtmp.c:(.text+0x217): undefined reference to `RTMP_Init' > curl_rtmp.c:(.text+0x224): undefined reference to `RTMP_SetBufferMS' > curl_rtmp.c:(.text+0x237): undefined reference to `RTMP_SetupURL' > curl_rtmp.c:(.text+0x264): undefined reference to `RTMP_Free' > ./lib/libcurl.a(curl_rtmp.o): In function `rtmp_do': > curl_rtmp.c:(.text+0x29e): undefined reference to `RTMP_ConnectStream' > collect2: error: ld returned 1 exit status > make: *** [curl-loader] Error 1 > > florin@scout:~/work/curl-loader-0.56$ > > -- > Florin Andrei > http://florin.myip.org/ > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > -- Regards, Robert Iakobashvili, Ph.D. Home: http://www.ghotit.com .............................................. Ghotit Dyslexia Das Ist Real Writer & Reader ............................................... |