Thread: error compiling on Ubuntu 13.04
Status: Alpha
Brought to you by:
coroberti
From: Florin A. <fl...@an...> - 2013-12-03 20:18:57
|
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/ |
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 ............................................... |
From: Robert I. <cor...@gm...> - 2013-12-03 20:55:35
|
Alternatively, locate and install the library (.so) with all these RTMP functions. It was called in the past rtmpdump.so On Tue, Dec 3, 2013 at 10:49 PM, Robert Iakobashvili <cor...@gm...>wrote: > 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 > ............................................... > -- Regards, Robert Iakobashvili, Ph.D. Home: http://www.ghotit.com .............................................. Ghotit Dyslexia Das Ist Real Writer & Reader ............................................... |
From: Florin A. <fl...@an...> - 2013-12-03 22:32:22
|
This is the situation in my /usr: $ find /usr | grep -i rtmp /usr/lib/x86_64-linux-gnu/pkgconfig/librtmp.pc /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstrtmp.so /usr/lib/x86_64-linux-gnu/librtmp.so.0 /usr/lib/x86_64-linux-gnu/librtmp.so /usr/lib/x86_64-linux-gnu/librtmp.a /usr/lib/i386-linux-gnu/librtmp.so.0 /usr/include/librtmp /usr/include/librtmp/http.h /usr/include/librtmp/log.h /usr/include/librtmp/rtmp.h /usr/include/librtmp/amf.h /usr/share/virtualbox/src/vboxhost/vboxdrv/generic/RTMpGetArraySize-generic.c /usr/share/doc/librtmp-dev /usr/share/doc/librtmp-dev/changelog.Debian.gz /usr/share/doc/librtmp-dev/copyright find: `/usr/share/doc/google-chrome-stable': Permission denied /usr/share/doc/librtmp0 /usr/share/doc/librtmp0/changelog.Debian.gz /usr/share/doc/librtmp0/copyright I tried to do --with-librtmp=/usr/lib/x86_64-linux-gnu but that didn't work either. So I disabled it with --without-librtmp and it compiled just fine. Thanks! -- Florin Andrei http://florin.myip.org/ |