lilypond-devel
[Top][All Lists]
Advanced

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

Re: strange error during make of lily on cygwin


From: Gerrit P. Haase
Subject: Re: strange error during make of lily on cygwin
Date: Sun, 16 Sep 2001 20:14:11 +0200

Jan Nieuwenhuizen schrieb am 2001-09-16, 19:24:

>Jan Nieuwenhuizen <address@hidden> writes:
>
>> "Gerrit P. Haase" <address@hidden> writes:
>> 
>> > g++ -s -o out/Gerrit   -s  -L/usr/local/lib -lguile -s -lm
>> > /usr/lib/libm.a(libcmain.o): In function `main':
>> > /cygnus/netrel/src/cygwin-1.3.3-2/winsup/cygwin/lib/libcmain.c:31: 
>> > undefined reference to address@hidden'
>> 
>> You have an environment variable set as NAME, see
>> 
>>     http://mail.gnu.org/pipermail/lilypond-devel/2001-August/000035.html
>
>I've looked into this, and it seems that your make is broken.
>
>From the info pages:
>
>     (If the `-e' flag is specified, then values
>    from the environment override assignments in the makefile.  *Note
>    Summary of Options: Options Summary.  But this is not recommended
>    practice.)
>
>so, an environment variable (eg NAME) should NOT override the variable
>used in the makefile.
>
>Could you try what happens if you make this makefile:
>
>#env.make:
>HELLO=hello
>default:
> @echo $(HELLO)
>
>
>and then do:
>
>
>    $ unset HELLO
>    $ make -f env.make
>    $ export HELLO=bug
>    $ make -f env.make
>
>Both make runs should say `hello'.   If they do not, file a bug report
>against your make maintainer (Cygwin for Gerrit; Paul, what platform
>are you running?).

$ unset HELLO

$ make
hello

$ export HELLO=bug

$ make
hello

$ cat Makefile
HELLO=hello
default:
        @echo $(HELLO)

$ set | grep HELLO=
HELLO=bug

Nope, seems to be o.k.

Gerrit


-- 
=^..^=



reply via email to

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