Page 1 of 1

Undefined symbol - can't compile vlc

Posted: 11 Nov 2005 12:08
by Guest
Hi!
I am trying to compile vlc for Solaris 10 x86 with the following commands:
./compile --enable-vcdx --disable-ffmpeg --disable-wxwindows --disable-skins2

gmake

After a lot of time I have noticed that make stopped compiling vlc because of the following error:

gmake[2]: Entering directory `/Documents/vlc/vlc-0.8.2'
srcdir=. ./toolbox --update-includes
srcdir=. ./toolbox --update-includes
srcdir=. ./toolbox --update-includes
gcc -Wsign-compare -Wall -D_POSIX_PTHREAD_SEMANTICS -pipe -L/opt/csw/lib -R/opt/csw/lib -o vlc src/vlc-vlc.o lib/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a -L/usr/local/lib -lrt -lrt -lpthread -lm -lresolv -lnsl -lsocket /opt/csw/lib/libiconv.so -R/opt/csw/lib -L/opt/csw/lib -R/opt/csw/lib
Undefined first referenced
symbol in file
libintl_textdomain lib/libvlc.a(lib_libvlc_a-libvlc.o)
libintl_bindtextdomain lib/libvlc.a(lib_libvlc_a-libvlc.o)
libintl_dgettext lib/libvlc.a(lib_libvlc_a-libc.o)

ld: fatal: Symbol referencing errors. No output written to vlc
collect2: ld returned 1 exit status
gmake[2]: *** [vlc] Error 1
gmake[2]: Leaving directory `/Documents/vlc/vlc-0.8.2'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/Documents/vlc/vlc-0.8.2'
gmake: *** [all] Error 2

Please help!

Posted: 11 Nov 2005 19:25
by dionoea
do you have gettext installed ? if not try rerunning ./bootstrap.

Posted: 13 Nov 2005 10:49
by Guest
Yes. I nstalled ggettext from Blastwave. I have used ./bootstrap

# ./bootstrap
AUTOMAKESUCKS=no
INSTALLSUCKS=no
ACLOCAL_ARGS=-I m4
+ test -d extras/contrib/bin
amvers=none
+ automake-1.8 --version
amvers=-1.8
+ automake-1.6 --version
./bootstrap: automake-1.6: not found
+ test -1.8 = none
+ gettextize --version
+ gettextize --version
+ sed -e 1s/[^0-9]*// -e q
+ expr 0.10.35 >= 0.11.5
#

I still have the same error.
:cry:

Posted: 13 Nov 2005 11:51
by fkuehne
As you can see by "./bootstrap: automake-1.6: not found ", you'll probably need Automake 1.6 or higher.