bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lilypond 2.1.0 compile error on Solaris 8


From: Mbannister75
Subject: Re: Lilypond 2.1.0 compile error on Solaris 8
Date: Tue, 16 Dec 2003 14:47:44 EST


Regarding the below, putting extern "C" around the typedef SCM as suggested didn't make a difference.  Any more suggestions ...?

Thanks,
Mark.


address@hidden writes:
>
> Hi,
>
> I've been working with Lilypond 1.4.8 for a couple of years without many
> problems, but decided that I finally needed to upgrade.  So now I'm trying to
> compile Lilypond 2.1.0 on Solaris 8 with the following software versions ...
>
> gcc 3.3.2
> perl 5.005_03
> python 2.1.1
> guile 1.6.4
> teTeX 1.0.7
> GNU make 3.79.1
> flex 2.5.4a
> bison 1.28
> mftrace 1.0.20
>
> ...but the compile fails a few minutes into the build:
>
> rm -f ./out/apply-context-iterator.dep;
> DEPENDENCIES_OUTPUT="./out/apply-context-iterator.dep ./out/apply-context-iterator.o" g++ -c   -DHAVE_CONFIG_H 
> -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out
> -I../flower/include -O2 -finline-functions -g
> -I/data/src/lilypond-2.1.0/lily/out  -I/usr/local/include/python2.1 -I/usr/local/include     -O2
> -finline-functions -g -I/data/src/lilypond-2.1.0/lily/out  -I/usr/local/include/python2.1
> -I/usr/local/include -Wall  -W -Wmissing-prototypes -Wconversion  -o
> out/apply-context-iterator.o apply-context-iterator.cc
> apply-context-iterator.cc: In function `void
>    Apply_context_iteratorconstructorinit()':
> apply-context-iterator.cc:28: error: invalid conversion from `
>    scm_unused_struct*(*)()' to `scm_unused_struct*(*)(...)'
> make: *** [out/apply-context-iterator.o] Error 1
>
>
> I've tried compiling 2.0.1 and get the same error.
>
> Any ideas what I'm doing wrong?

Nothing, curiously I don't get that error with the same tools on
Linux.  Can you see what happens if you surround

  typedef SCM (*Scheme_function_unknown) ();

in lily/include/lily-guile.hh with

  extern "C" {

and

  }

--

Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]