On Donnerstag, 27. Mai 2010, Johan Förberg wrote:
> On my computer, Debian Linux (squeeze), the make command fails for your
> most recent version of Cinelerra (Thu, 10 Dec 2009 21:10:54 +0000) at
> http://git.cinelerra.org/.
>
> The ./configure script generates a cinelerra/Makefile which echoes to
> cinelerra/versioninfo.h using the following command:
>
> versioninfo.h:
>         echo '#define BUILDDATE "$(BUILDDATE)"' > versioninfo.h
> ...
> #       echo '#define REPOMAINTXT      " SVN $(SVNVERSION)
> $(BUILDINFO_NONRC_S) (C) 2006 Heroine Virtual Ltd.\nInternal
> ffmpeg\nCompiled on $(BUILDDATE)"' >> versioninfo.h
> ...
> The \n escape sequence in the #define REPOMAINTEXT is interpreted as a
> literal newline, breaking the string literal over several lines and
> causing gcc to think that "Compiled on ..." is a variable declaration
> with invalid type "Compiled". This causes make to exit with error 1.

Thanks for the report. It is a problem with your shell, which has an 'echo' 
that interprets \n (even though it should not). I think it should be possible 
to work around the problem using

    make SHELL=/bin/bash

-- Hannes

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to