Problems while compiling 1.0.2
Posted: 07 Oct 2009 00:39
I downloaded following source code files from http://download.videolan.org/pub/vlc/latest/
contribs-1.0.2-gcc-4.2.1-sjlj-runtime-3.15.2-only.tar.bz2
vlc-1.0.2.tar.bz2
After configuring and running make i get 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
fluidsynth.a and fluidsynth.la are present in /usr/win32/lib.
Can anyone tell me whats wrong?
regards
Abhijit
contribs-1.0.2-gcc-4.2.1-sjlj-runtime-3.15.2-only.tar.bz2
vlc-1.0.2.tar.bz2
After configuring and running make i get 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
fluidsynth.a and fluidsynth.la are present in /usr/win32/lib.
Can anyone tell me whats wrong?
regards
Abhijit