[vlc] libvlc snapshot doesn't build on FreeBSD [Was: Programming with libvlc]

Ed Schouten e.schouten at student.fontys.nl
Tue Dec 5 14:57:26 CET 2006


Hello,

Because the playlist issues I'm having could be related to the snapshot
I'm using, I decided to try the latest snapshot. For some reason, the
snapshot doesn't compile on FreeBSD:

| ===>  Building for vlc-devel-0.9.0.20061203
| export MACOSX_DEPLOYMENT_TARGET=
| gmake  all-recursive
| gmake[1]: Entering directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn'
| Making all in intl
| gmake[2]: Entering directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/intl'
| gmake[2]: Nothing to be done for `all'.
| gmake[2]: Leaving directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/intl'
| Making all in loader
| gmake[2]: Entering directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/loader'
| gmake[2]: Nothing to be done for `all'.
| gmake[2]: Leaving directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/loader'
| Making all in src
| gmake[2]: Entering directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/src'
| gmake  all-recursive
| gmake[3]: Entering directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/src'
| gmake[4]: Entering directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/src'
| gmake[4]: Nothing to be done for `all-am'.
| gmake[4]: Leaving directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/src'
| gmake[3]: Leaving directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/src'
| gmake[2]: Leaving directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/src'
| Making all in modules
| gmake[2]: Entering directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/modules'
| Making all in access
| gmake[3]: Entering directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/modules/access'
| gmake[4]: Entering directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/modules/access'
| /bin/sh ../../libtool --tag=CC --mode=link cc -std=gnu99  -O2 -fno-strict-aliasing -pipe  -O2 -ffast-math -fomit-frame-pointer -pthread -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes  -L/usr/ports/multimedia/vlc-ed/work/fake//usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -pthread -L/usr/local/lib -o libaccess_file_plugin.la  `top_builddir="../.." ../../vlc-config --libs plugin access_file` -rpath '/usr/local/lib/vlc/access' -avoid-version -module -shrext .so -export-symbol-regex ^vlc_entry__0_9_0b$ -no-undefined libaccess_file_plugin_la-file.lo ../../src/libvlc.la 
| cc -std=gnu99 -shared  .libs/libaccess_file_plugin_la-file.o  -Wl,--rpath -Wl,/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/src/.libs -Wl,--rpath -Wl,/usr/local/lib -L/usr/ports/multimedia/vlc-ed/work/fake//usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib ../../src/.libs/libvlc.so  -pthread -pthread -Wl,-z -Wl,defs -pthread -Wl,-soname -Wl,libaccess_file_plugin.so -o .libs/libaccess_file_plugin.so
| .libs/libaccess_file_plugin_la-file.o(.text+0xb2): In function `vlc_entry__0_9_0b':
| : undefined reference to `libintl_dgettext'
| .libs/libaccess_file_plugin_la-file.o(.text+0xc7): In function `vlc_entry__0_9_0b':
| : undefined reference to `libintl_dgettext'
| .libs/libaccess_file_plugin_la-file.o(.text+0xdf): In function `vlc_entry__0_9_0b':
| : undefined reference to `realloc'
| .libs/libaccess_file_plugin_la-file.o(.text+0xf8): In function `vlc_entry__0_9_0b':
| : undefined reference to `memset'
| .libs/libaccess_file_plugin_la-file.o(.text+0x120): In function `vlc_entry__0_9_0b':
| : undefined reference to `memset'
| .libs/libaccess_file_plugin_la-file.o(.text+0x149): In function `vlc_entry__0_9_0b':
| : undefined reference to `memset'
| .libs/libaccess_file_plugin_la-file.o(.text+0x1b3): In function `vlc_entry__0_9_0b':
| : undefined reference to `memset'
| .libs/libaccess_file_plugin_la-file.o(.text+0x293): In function `vlc_entry__0_9_0b':
| : undefined reference to `free'
| .libs/libaccess_file_plugin_la-file.o(.text+0x29f): In function `vlc_entry__0_9_0b':
| : undefined reference to `free'
| .libs/libaccess_file_plugin_la-file.o(.text+0x2a7): In function `vlc_entry__0_9_0b':
| : undefined reference to `free'
| .libs/libaccess_file_plugin_la-file.o(.text+0x2bf): In function `vlc_entry__0_9_0b':
| : undefined reference to `free'
| .libs/libaccess_file_plugin_la-file.o(.text+0x2cd): In function `vlc_entry__0_9_0b':
| : undefined reference to `free'
| .libs/libaccess_file_plugin_la-file.o(.text+0x2dd): more undefined references to `free' follow
| .libs/libaccess_file_plugin_la-file.o(.text+0x337): In function `Close':
| : undefined reference to `close'
| .libs/libaccess_file_plugin_la-file.o(.text+0x33f): In function `Close':
| : undefined reference to `free'
| .libs/libaccess_file_plugin_la-file.o(.text+0x3dd): In function `Read':
| : undefined reference to `poll'
| .libs/libaccess_file_plugin_la-file.o(.text+0x437): In function `Read':
| : undefined reference to `read'
| .libs/libaccess_file_plugin_la-file.o(.text+0x45a): In function `Read':
| : undefined reference to `read'
| .libs/libaccess_file_plugin_la-file.o(.text+0x4f9): In function `Read':
| : undefined reference to `fstat'
| .libs/libaccess_file_plugin_la-file.o(.text+0x54a): In function `Read':
| : undefined reference to `__error'
| .libs/libaccess_file_plugin_la-file.o(.text+0x563): In function `Read':
| : undefined reference to `__error'
| .libs/libaccess_file_plugin_la-file.o(.text+0x573): In function `Read':
| : undefined reference to `strerror'
| .libs/libaccess_file_plugin_la-file.o(.text+0x5ae): In function `Read':
| : undefined reference to `__error'
| .libs/libaccess_file_plugin_la-file.o(.text+0x5b8): In function `Read':
| : undefined reference to `strerror'
| .libs/libaccess_file_plugin_la-file.o(.text+0x5ce): In function `Read':
| : undefined reference to `libintl_dgettext'
| .libs/libaccess_file_plugin_la-file.o(.text+0x5e2): In function `Read':
| : undefined reference to `libintl_dgettext'
| .libs/libaccess_file_plugin_la-file.o(.text+0x6a7): In function `Seek':
| : undefined reference to `lseek'
| .libs/libaccess_file_plugin_la-file.o(.text+0x917): In function `Open':
| : undefined reference to `malloc'
| .libs/libaccess_file_plugin_la-file.o(.text+0x970): In function `Open':
| : undefined reference to `strcasecmp'
| .libs/libaccess_file_plugin_la-file.o(.text+0x994): In function `Open':
| : undefined reference to `strcasecmp'
| .libs/libaccess_file_plugin_la-file.o(.text+0xa57): In function `Open':
| : undefined reference to `asprintf'
| .libs/libaccess_file_plugin_la-file.o(.text+0xaa7): In function `Open':
| : undefined reference to `fstat'
| .libs/libaccess_file_plugin_la-file.o(.text+0xb63): In function `Open':
| : undefined reference to `strdup'
| .libs/libaccess_file_plugin_la-file.o(.text+0xb88): In function `Open':
| : undefined reference to `__error'
| .libs/libaccess_file_plugin_la-file.o(.text+0xb98): In function `Open':
| : undefined reference to `strerror'
| .libs/libaccess_file_plugin_la-file.o(.text+0xbd9): In function `Open':
| : undefined reference to `__error'
| .libs/libaccess_file_plugin_la-file.o(.text+0xbe3): In function `Open':
| : undefined reference to `strerror'
| .libs/libaccess_file_plugin_la-file.o(.text+0xbf9): In function `Open':
| : undefined reference to `libintl_dgettext'
| .libs/libaccess_file_plugin_la-file.o(.text+0xc0d): In function `Open':
| : undefined reference to `libintl_dgettext'
| .libs/libaccess_file_plugin_la-file.o(.text+0xc50): In function `Open':
| : undefined reference to `dup'
| .libs/libaccess_file_plugin_la-file.o(.text+0xc74): In function `Open':
| : undefined reference to `__error'
| .libs/libaccess_file_plugin_la-file.o(.text+0xc7e): In function `Open':
| : undefined reference to `strerror'
| .libs/libaccess_file_plugin_la-file.o(.text+0xcbe): In function `Open':
| : undefined reference to `close'
| .libs/libaccess_file_plugin_la-file.o(.text+0xcc6): In function `Open':
| : undefined reference to `free'
| gmake[4]: *** [libaccess_file_plugin.la] Error 1
| gmake[4]: Leaving directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/modules/access'
| gmake[3]: *** [all-modules] Error 1
| gmake[3]: Leaving directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/modules/access'
| gmake[2]: *** [all-recursive] Error 1
| gmake[2]: Leaving directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn/modules'
| gmake[1]: *** [all-recursive] Error 1
| gmake[1]: Leaving directory `/usr/ports/multimedia/vlc-ed/work/vlc-0.9.0-svn'
| gmake: *** [all] Error 2
| *** Error code 2
| 
| Stop in /usr/ports/multimedia/vlc-ed.

Which is quite strange, because all tokens should be present in libc and
libintl. The snapshot from exactly one month ago (20061103) also has
this regression, meaning that it showed up between 20061020 and
20061103.

Yours,
-- 
 Ed Schouten <e.schouten at student.fontys.nl>
 ProSD groep 3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20061205/e02ef23b/attachment.sig>


More information about the vlc mailing list