Hello, when I apply your patch and build rtmpdump with this make statement:
Code:
make SYS=darwin CRYPTO=GNUTLS SHARED= XCFLAGS="-I${TARGET}/include" XLDFLAGS="-L/${TARGET}/lib -liconv"
I got the following error:
Code:
gcc -Wall -L//Users/roushi/Desktop/RTMPDump_Test/lib -liconv -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz
Undefined symbols for architecture x86_64:
"_AVcopy", referenced from:
_main in rtmpdump.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [rtmpdump] Error 1
How can I solve it?