[vlc] Re: compiling vlc on solaris
Ollie Eisman
ollie at predict.com
Wed Sep 1 00:31:30 CEST 2004
I forgot to mention that the two files that needed to be modified were:
/usr/local/src/videolan/vlc-0.7.2/modules/audio_filter/Makefile
and
/usr/local/src/videolan/vlc-0.7.2/modules/gui/Makefile
Ollie Eisman wrote:
> I just compiled VLC on solaris and had to modify two Makefiles to get it
> to work.
>
> I am using gcc 3.0.3
>
> I unpacked the source to:
> /usr/local/src/videolan/vlc-0.7.2
>
> I noticed, during gmake at the all-modules part, that both audio_filter
> and gui modules would fail with an error that "`;' was unexpected."
>
> The Makefile for each contains:
>
> all-modules:
> @set fnord $$MAKEFLAGS; amf=$$2; targets=`\
> if test "$(plugin)" != "no"; then z=$$($(VLC_CONFIG) --target
> plugin); for mod in ; do case "$$z" in */lib$${mod}_plugin*) echo
> lib$${mod}_plugin$(LIBEXT);; esac; done; fi; \
> if test "$(builtin)" != "no"; then z=$$($(VLC_CONFIG) --target
> builtin); for mod in ; do case "$$z" in */lib$${mod}.a*) echo
> lib$${mod}.a;; esac; done; fi; \
> if test "$(pic)" != "no"; then z=$$($(VLC_CONFIG) --target
> builtin pic); for mod in ; do case "$$z" in */lib$${mod}_pic.a*) echo
> lib$${mod}_pic.a;; esac; done; fi; \
>
>
> To get it to work, I touched a file called dummy.c in each directory and
> modified the code so that each of the above lines now contains the word
> "dummy":
>
> ...for mod in dummy ; do case...
>
> That seemed to fix it.
>
> Perhaps there is a better way to deal with this.
>
> Thanks,
> Ollie
>
>
--
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