[vlc] Re: compiling vlc on solaris
Mats Rojestal
mats.rojestal at bredband.net
Wed Sep 1 10:33:13 CEST 2004
Hi,
VLC compiles and runs just fine without any modifications on my
solaris9_x86 system. The only thing is that you need to update your gnu
tools and on x86 platform you need build a version of gcc that uses gnu
assembler to produce correct code.
Hope that helps,
Mats Röjestål
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