Problems while compiling 1.0.2

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
abhijitayarekar
Blank Cone
Blank Cone
Posts: 16
Joined: 06 Oct 2009 01:50

Problems while compiling 1.0.2

Postby abhijitayarekar » 07 Oct 2009 00:43

I downloaded latest 1.0.2 files from http://download.videolan.org/pub/vlc/latest/
vlc-1.0.2.tar.bz2
contribs-1.0.2-gcc-4.2.1-sjlj-runtime-3.15.2-only.tar.bz2

After configuring and running make i get the following error.

libtool: link: gcc -std=gnu99 -shared .libs/libfluidsynth_plugin_la-fluidsynth.
o -Wl,--whole-archive ../../compat/.libs/libcompat.a -Wl,--no-whole-archive -L
/usr/win32/lib -LD:/msys/1.0/win32/lib /usr/win32/lib/libfluidsynth.a -ldsound .
./../src/.libs/libvlccore.dll.a -L/usr/local/lib /usr/win32/lib/libgpg-error.a -
lkernel32 -lws2_32 -lnetapi32 -lwinmm -lmingw32 -mtune=pentium2 -mms-bitfields
-o .libs/libfluidsynth_plugin.dll -Wl,--enable-auto-image-base -Xlinker --out-
implib -Xlinker .libs/libfluidsynth_plugin.dll.a
Creating library file: .libs/libfluidsynth_plugin.dll.a
.libs/libfluidsynth_plugin_la-fluidsynth.o: In function `Close':
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:120: undefined reference to `__
imp__fluid_synth_sfunload'
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:121: undefined reference to `__
imp__delete_fluid_synth'
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:122: undefined reference to `__
imp__delete_fluid_settings'
.libs/libfluidsynth_plugin_la-fluidsynth.o: In function `Open':
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:96: undefined reference to `__i
mp__new_fluid_settings'
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:97: undefined reference to `__i
mp__new_fluid_synth'
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:99: undefined reference to `__i
mp__fluid_synth_sfload'
.libs/libfluidsynth_plugin_la-fluidsynth.o: In function `DecodeBlock':
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:186: undefined reference to `__
imp__fluid_synth_write_float'
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:171: undefined reference to `__
imp__fluid_synth_pitch_bend'
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:165: undefined reference to `__
imp__fluid_synth_cc'
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:159: undefined reference to `__
imp__fluid_synth_noteoff'
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:168: undefined reference to `__
imp__fluid_synth_program_change'
f:/Ubnt/vlc/vlc-1.0.2/modules/codec/fluidsynth.c:162: undefined reference to `__
imp__fluid_synth_noteon'
collect2: ld returned 1 exit status
make[5]: *** [libfluidsynth_plugin.la] Error 1
make[5]: Leaving directory `/vlc/vlc-1.0.2/modules/codec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/vlc/vlc-1.0.2/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/vlc/vlc-1.0.2/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/vlc/vlc-1.0.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vlc/vlc-1.0.2'
make: *** [all] Error 2

I am running msys/mingw.
Can anyone tell me what is going wrong?

regards
Abhijit

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problems while compiling 1.0.2

Postby VLC_help » 07 Oct 2009 13:38

--disable-fluidsynth should get around that. I don't why that happens.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problems while compiling 1.0.2

Postby Jean-Baptiste Kempf » 14 Oct 2009 13:48

Because older contribs used fluidsynth as a shared lib.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 48 guests