[vlc] Compile Problems

CJ Keist cj.keist at colostate.edu
Tue Feb 28 16:22:13 CET 2006


Hi,
    New to VLC.  Wanting to compile VLC of Solaris 10 Sparc platform.  I 
have compiled all the required libs:

a52dec-0.7.4         goom2k4-0            libid3tag-0.15.1b 
openslp-1.0.11
faac-1.24            lame-3.96.1          libmad-0.15.1b       speex-1.1.10
faad2-20040923       libcdio-0.72         libmodplug-0.7       twolame-0.3.3
ffmpeg               libdvbpsi4-0.1.5     libogg-1.1.2 
vcdimager-0.7.21
ffmpeg-20051126      libdvdcss-1.2.8      libpng-1.2.5 
wxWidgets-2.6.2
flac-1.1.2           libdvdnav-20050211   libvorbis-1.1.1      x264-20051126
fribidi-0.10.4       libdvdread-20041028  libxml2-2.6.20


I have version 0.8.4a of VLC trying to compile with gcc 3.4.5. 
Everything in VLC is compiling but it is failing on linking with the 
following error:

gcc -Wsign-compare -Wall -D_POSIX_PTHREAD_SEMANTICS -pipe -o vlc 
src/vlc-vlc.o lib/libvlc.a ./modules/access/libdvdread.a 
./modules/mux/mpeg/libmux_ts.a ./modules/codec/ffmpeg/libffmpeg.a 
./modules/stream_out/libstream_out_switcher.a ./modules/codec/libfaad.a 
./modules/codec/libtwolame.a 
./modules/audio_filter/converter/liba52tofloat32.a 
./modules/visualization/libgoom.a -L/usr/local/lib -lrt -lrt -lpthread 
-lm -lresolv -lnsl -lsocket -liconv 
-L/root/install/VLC/libs/libdvdread-20041028/dvdread/.libs -ldvdread 
-ldvbpsi /root/install/VLC/libs/ffmpeg/libavcodec/libavcodec.a 
/root/install/VLC/libs/ffmpeg/libavutil/libavutil.a 
/root/install/VLC/libs/ffmpeg/libavformat/libavformat.a -lm -lsocket 
-lnsl -lz -lm 
/root/install/VLC/libs/faad2-20040923/libfaad/.libs/libfaad.a -lm 
/root/install/VLC/libs/twolame-0.3.3/src/libtwolame/.libs/libtwolame.a 
-lm -la52 -L/root/install/VLC/libs/a52dec-0.7.4/liba52/.libs -lm 
-L/root/install/VLC/libs/goom2k4-0/src/.libs -lgoom2 -lm
Undefined                       first referenced
  symbol                             in file
pp_get_context 
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)
pp_postprocess 
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)
libintl_bind_textdomain_codeset     lib/libvlc.a(lib_libvlc_a-libvlc.o)
libintl_textdomain                  lib/libvlc.a(lib_libvlc_a-libvlc.o)
pp_get_mode_by_name_and_quality 
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)
libintl_bindtextdomain              lib/libvlc.a(lib_libvlc_a-libvlc.o)
pp_free_mode 
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)
libintl_dgettext                    lib/libvlc.a(lib_libvlc_a-libc.o)
pp_free_context 
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)
ld: fatal: Symbol referencing errors. No output written to vlc
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/root/install/VLC/vlc-0.8.4a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/install/VLC/vlc-0.8.4a'
make: *** [all] Error 2


The pp_get_context looks to deal with ffmpeg with post processing, which 
I did compile in.  The configure line for ffmpeg looked like:

  ./configure  --enable-pp --enable-gpl --disable-ffserver --disable-vhook

Has anyone been successful in compiling VLC for Solaris 10?


-- 
C. J. Keist                     Email: cj.keist at engr.colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list