Open ghost opened 10 years ago
Getting same error here on a DS211. Did you find a solution yet?
DS211> make
g++ -c httpdata.cpp -o httpdata.o
g++ -c channel.cpp -o channel.o
g++ -c channels.cpp -o channels.o
g++ -c config.cpp -o config.o
g++ -c program.cpp -o program.o
g++ -c programs.cpp -o programs.o
g++ -c scanconfig.cpp -o scanconfig.o
g++ -c tvgids_nl.cpp -o tvgids_nl.o
g++ -c upc_nl.cpp -o upc_nl.o
g++ -c functions.cpp -o functions.o
g++ -o fast_tv_grab_nl main.cpp httpdata.o channel.o channels.o config.o program.o programs.o scanconfig.o tvgids_nl.o upc_nl.o functions.o curl-config --libs
-L/opt/lib -lboost_program_options -lboost_regex -lboost_system -lboost_filesystem -lboost_serialization -lboost_date_time -lboost_thread
/opt/arm-none-linux-gnueabi/lib/libpthread.so.0: undefined reference to __default_sa_restorer@GLIBC_PRIVATE' /opt/arm-none-linux-gnueabi/lib/libdl.so.2: undefined reference to
_dl_tls_get_addr_soft@GLIBC_PRIVATE'
/opt/arm-none-linux-gnueabi/lib/libpthread.so.0: undefined reference to `__default_rt_sa_restorer@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make: *\ [fast_tv_grab_nl] Error 1
I'm having problems building this on my disk station as well. Mainly because there is no good bootstrap currently with the right libraries. I'll build it for DS214play and DS211 and post the links here.
Hi, I've put the version for DS211 here: http://syno.dierkse.nl/packages/fast_tv_grab_nl.88f6281-5.1.tgz Just unpack, and set LD_LIBRARY_PATH to the lib directory before running fast_tv_grab_nl. I'm still working on the evansport build.
Awesome, thanks. Going to have a play with it directly ;)
I have the same/similar problem on my DS710+:
make g++ -o fast_tv_grab_nl main.cpp httpdata.o channel.o channels.o config.o program.o programs.o scanconfig.o tvgids_nl.o upc_nl.o functions.o
curl-config --libs
-L/opt/lib -lboost_program_options -lboost_regex -lboost_system -lboost_filesystem -lboost_serialization -lboost_date_time -lboost_thread /opt/i686-linux-gnu/lib/librt.so.1: undefined reference to__librt_enable_asynccancel@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libdl.so.2: undefined reference to
_dl_close@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libpthread.so.0: undefined reference to_h_errno@GLIBC_2.0' /opt/i686-linux-gnu/lib/librt.so.1: undefined reference to
librt_disable_asynccancel@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libdl.so.2: undefined reference to_dl_open@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libpthread.so.0: undefined reference to
libc_sigaction@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libpthread.so.0: undefined reference to__on_exit@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/librt.so.1: undefined reference to
__librt_multiple_threads@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libpthread.so.0: undefined reference to `_errno@GLIBC_2.0' collect2: ld returned 1 exit status make: *\ [fast_tv_grab_nl] Error 1
Thank you very much!
I am still considering what to do with the library but for now, "exporting" an alternative LD_LIBRARY_PATH before calling the binary does the trick perfectly.
By the way, the usage information mentions "tvgids", but actually, you have to give "tvgids.nl" as provider option :).
Hi Dierkse
i'm having problems with compiling fast_tv_grab_nl on a DS214play. I installed all dependencies as mentioned in the readme.
I get the following output.
DiskStation> make g++ -o fast_tv_grab_nl main.cpp httpdata.o channel.o channels.o config.o program.o programs.o scanconfig.o tvgids_nl.o upc_nl.o functions.o
curl-config --libs
-L/opt/lib -lboost_program_options -lboost_regex -lboost_system -lboost_filesystem -lboost_serialization -lboost_date_time -lboost_thread -lcrypto /opt/i686-linux-gnu/lib/librt.so.1: undefined reference to__librt_enable_asynccancel@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libdl.so.2: undefined reference to
_dl_close@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libpthread.so.0: undefined reference to_h_errno@GLIBC_2.0' /opt/i686-linux-gnu/lib/librt.so.1: undefined reference to
librt_disable_asynccancel@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libdl.so.2: undefined reference to_dl_open@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libpthread.so.0: undefined reference to
libc_sigaction@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libpthread.so.0: undefined reference to__on_exit@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/librt.so.1: undefined reference to
__librt_multiple_threads@GLIBC_PRIVATE' /opt/i686-linux-gnu/lib/libpthread.so.0: undefined reference to `_errno@GLIBC_2.0' collect2: ld returned 1 exit status make: *\ [fast_tv_grab_nl] Error 1 DiskStation>Do i need to edit the makefile to compile for Evansport and if what do i need to change?
Thanks