0.8.4-test1 from svn-trunk uncompillable on FreeBSD5.4

*nix specific usage questions
Guest

0.8.4-test1 from svn-trunk uncompillable on FreeBSD5.4

Postby Guest » 24 Oct 2005 13:04

Hi,

anyone tried to compile 0.8.4-test1 from svn-trunk on FreeBSD5.4?
Seems there's serious problem in the Makefiles, all targets fail immediately:

Making all in access
gmake[3]: Entering directory `/usr/home/jozp/vlc-trunk/modules/access'
test: unexpected operator
gmake[4]: Entering directory `/usr/home/jozp/vlc-trunk/modules/access'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_FREEBSD5_4 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_file` -Wsign-compare -Wall -pthread -pipe -MT libaccess_file_plugin_a-file.o -MD -MP -MF ".deps/libaccess_file_plugin_a-file.Tpo" -c -o libaccess_file_plugin_a-file.o `test -f 'file.c' || echo './'`file.c; \
then mv -f ".deps/libaccess_file_plugin_a-file.Tpo" ".deps/libaccess_file_plugin_a-file.Po"; else rm -f ".deps/libaccess_file_plugin_a-file.Tpo"; exit 1; fi
rm -f libaccess_file_plugin.a
ar cru libaccess_file_plugin.a libaccess_file_plugin_a-file.o
ranlib libaccess_file_plugin.a
Syntax error: Bad substitution
gmake[4]: *** [libaccess_file_plugin.so] Error 2
gmake[4]: Leaving directory `/usr/home/jozp/vlc-trunk/modules/access'
gmake[3]: *** [all-modules] Error 1
gmake[3]: Leaving directory `/usr/home/jozp/vlc-trunk/modules/access'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/jozp/vlc-trunk/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/jozp/vlc-trunk'
gmake: *** [all] Error 2



Is FreeBSD no longer a supported OS :?:

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 30 Oct 2005 01:04

some makefile/autotools errors were fixed several days ago. Could you try with current svn ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Guest

Postby Guest » 31 Oct 2005 11:41

Thanks, it's much better now, all modules compile fine.
But it still doesn't link:

lib/libvlc.a(lib_libvlc_a-libvlc.o)(.text+0x8280): In function `SetLanguage':
: undefined reference to `libintl_bindtextdomain'
lib/libvlc.a(lib_libvlc_a-libvlc.o)(.text+0x8290): In function `SetLanguage':
: undefined reference to `libintl_textdomain'
lib/libvlc.a(lib_libvlc_a-libvlc.o)(.text+0x82a5): In function `SetLanguage':
: undefined reference to `libintl_bind_textdomain_codeset'
lib/libvlc.a(lib_libvlc_a-libvlc.o)(.text+0x8302): In function `SetLanguage':
: undefined reference to `libintl_textdomain'
lib/libvlc.a(lib_libvlc_a-libvlc.o)(.text+0x8317): In function `SetLanguage':
: undefined reference to `libintl_bind_textdomain_codeset'
lib/libvlc.a(lib_libvlc_a-libc.o)(.text+0xe1): In function `vlc_dgettext':
: undefined reference to `libintl_dgettext'
gmake[2]: *** [vlc] Error 1

Strange, since libintl was found and Makefile know about it:
LIBINTL = /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib
LTLIBINTL = -L/usr/local/lib -lintl -R/usr/local/lib

Guest

Postby Guest » 31 Oct 2005 12:09

Got it, FreeBSD needs:

CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib

before configure is run.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 01 Nov 2005 16:43

great :)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 72 guests