RTMP Compile failed
Posted: 06 Mar 2008 17:46
Hi!
Actually I update the SVN trunk version of VLC to GIT version
When I compile it I received the following message
d.nieto@dnieto /home/d.nieto/vlc/vlc-trunk/modules/access/rtmp
$ make
make[1]: Entering directory `/home/d.nieto/vlc/vlc-trunk/modules/access/rtmp'
/bin/sh ../../../libtool --tag=CC --mode=link gcc -mno-cygwin -std=gnu99 `top_builddir="../../.." ../../../vlc-config --cflags plugin access_rtmp` -I/home/d.nieto/vlc/vlc-trunk/./extras/contrib/include -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -rpath '/usr/local/lib/vlc/access' -avoid-version -module
-no-undefined -shrext .dll -export-dynamic `top_builddir="../../.." ../../../vlc-config --ldflags plugin access_rtmp` -L/home/d.nieto/vlc/vlc-trunk/extras/contrib/lib -L/home/d.nieto/vlc/vlc-trunk/./extras/contrib/lib -o libaccess_rtmp_plugin.la libaccess_rtmp_plugin_la-access.lo libaccess_rtmp_plugin_la-rtmp_amf_flv.lo ../../../src/libvlc.la `top_builddir="../../.." ../../../vlc-config -libs plugin access_rtmp` -lmingw32
rm -fr .libs/libaccess_rtmp_plugin.dll.a
gcc -mno-cygwin -std=gnu99 -shared .libs/libaccess_rtmp_plugin_la-access.o .libs/libaccess_rtmp_plugin_la-rtmp_amf_flv.o -L/home/d.nieto/vlc/vlc-trunk/extras/contrib/lib -L/home/d.nieto/vlc/vlc-trunk/./extras/contrib/lib ../../../src/.libs/libvlc.dll.a -lmingw32 -mno-cygwin -mms-bitfields -o .libs/libaccess_rtmp_plugin.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libaccess_rtmp_plugin.dll.a
.libs/libaccess_rtmp_plugin_la-access.o: In function `Open':
/home/d.nieto/vlc/vlc-trunk/modules/access/rtmp/access.c:324: undefined reference to `_closesocket@4'
.libs/libaccess_rtmp_plugin_la-access.o: In function `Close':
/home/d.nieto/vlc/vlc-trunk/modules/access/rtmp/access.c:370: undefined reference to `_closesocket@4'
Creating library file: .libs/libaccess_rtmp_plugin.dll.a
collect2: ld returned 1 exit status
make[1]: *** [libaccess_rtmp_plugin.la] Error 1
make[1]: Leaving directory `/home/d.nieto/vlc/vlc-trunk/modules/access/rtmp'
make: *** [all-modules] Error 1
Please help me!!
Actually I update the SVN trunk version of VLC to GIT version
When I compile it I received the following message
d.nieto@dnieto /home/d.nieto/vlc/vlc-trunk/modules/access/rtmp
$ make
make[1]: Entering directory `/home/d.nieto/vlc/vlc-trunk/modules/access/rtmp'
/bin/sh ../../../libtool --tag=CC --mode=link gcc -mno-cygwin -std=gnu99 `top_builddir="../../.." ../../../vlc-config --cflags plugin access_rtmp` -I/home/d.nieto/vlc/vlc-trunk/./extras/contrib/include -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -rpath '/usr/local/lib/vlc/access' -avoid-version -module
-no-undefined -shrext .dll -export-dynamic `top_builddir="../../.." ../../../vlc-config --ldflags plugin access_rtmp` -L/home/d.nieto/vlc/vlc-trunk/extras/contrib/lib -L/home/d.nieto/vlc/vlc-trunk/./extras/contrib/lib -o libaccess_rtmp_plugin.la libaccess_rtmp_plugin_la-access.lo libaccess_rtmp_plugin_la-rtmp_amf_flv.lo ../../../src/libvlc.la `top_builddir="../../.." ../../../vlc-config -libs plugin access_rtmp` -lmingw32
rm -fr .libs/libaccess_rtmp_plugin.dll.a
gcc -mno-cygwin -std=gnu99 -shared .libs/libaccess_rtmp_plugin_la-access.o .libs/libaccess_rtmp_plugin_la-rtmp_amf_flv.o -L/home/d.nieto/vlc/vlc-trunk/extras/contrib/lib -L/home/d.nieto/vlc/vlc-trunk/./extras/contrib/lib ../../../src/.libs/libvlc.dll.a -lmingw32 -mno-cygwin -mms-bitfields -o .libs/libaccess_rtmp_plugin.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libaccess_rtmp_plugin.dll.a
.libs/libaccess_rtmp_plugin_la-access.o: In function `Open':
/home/d.nieto/vlc/vlc-trunk/modules/access/rtmp/access.c:324: undefined reference to `_closesocket@4'
.libs/libaccess_rtmp_plugin_la-access.o: In function `Close':
/home/d.nieto/vlc/vlc-trunk/modules/access/rtmp/access.c:370: undefined reference to `_closesocket@4'
Creating library file: .libs/libaccess_rtmp_plugin.dll.a
collect2: ld returned 1 exit status
make[1]: *** [libaccess_rtmp_plugin.la] Error 1
make[1]: Leaving directory `/home/d.nieto/vlc/vlc-trunk/modules/access/rtmp'
make: *** [all-modules] Error 1
Please help me!!