[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange error during make of lily on cygwin
From: |
Jan Nieuwenhuizen |
Subject: |
Re: strange error during make of lily on cygwin |
Date: |
16 Sep 2001 19:24:33 +0200 |
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?).
Greetings,
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org