Re: problem with make

2001-12-05 Thread Earnie Boyd

Ralf Habacker wrote:
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Christopher Faylor
> > Sent: Tuesday, December 04, 2001 4:57 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: problem with make
> >
> >
> > On Tue, Dec 04, 2001 at 08:14:04PM +1100, Robert Collins wrote:
> > >- Original Message -
> > >From: "Ralf Habacker" <[EMAIL PROTECTED]>
> > >>
> > >> Does anyone have an idea for fixing this ? I have no problem to fix
> > >this, if somebody could
> > >> give me a direction where I have to look on.
> > >
> > >Use linux or get the KDE team to fix their makefiles. You _could_ try
> > >the cygwin=case_insensitive (spelling?) flag. The core problem though is
> > >that that use they are making of the filesystem is invalid for case
> > >insensitive filesystems - and windows isn't the only one around.
> >
> > Also, please use [EMAIL PROTECTED] for this type of bug reporting.  This
> > is not an applicable topic for cygwin-apps.
> >
> >From the mailing list page: cygwin-apps: a by-approval developers list for 
>discussing issues
> regarding applications that are distributed with the Cygwin DLL.
> 
> Is "make" an application distributed with cygwin ? :-)
> 

Again, wrong list.  This isn't discussing the applications that are
being developed or ported by or to Cygwin.  To ask this question tells
me you are not a developer or maintainer of Cygwin applications so posts
to this list are off limits.  General questions about Cygwin or
applications distributed via the Cygwin setup are to be posted to
[EMAIL PROTECTED]  I'm sure Chris would be more than happy to block
anyone with repeated offenses.

Earnie.

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Problem with make

2013-06-05 Thread Corinna Vinschen
On Jun  5 09:00, Lange, Jan-Erik wrote:
> Hello all,
> 
> I tried to make a binary of a softcore processor called J1: 
> http://excamera.com/sphinx/fpga-j1.html
> 
> I installed the latest cygwin version available and all the devel packages. 
> 
> Doing "make j1.bin" I get:
> 
> 3 [main] gforth 4824 dtable::stdio_init: couldn't make stderr distinct from 
> stdout
^
There should have been more text, along the lines of ", Windows error X"
What's X?  This message occurs if the stdout and stderr handle are the
same, and a DuplicateHandle on the stderr handle failed for reason X.
Apart from that, the message itself is not dangerous and the gforth
binary should run normally, except that stdout == stderr handle under
the hood.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: problem with make-3.81

2009-02-27 Thread Dave Korn
ycollet wrote:

> I was trying to compile project from coin-or (http://www.coin-or.org) using
> the cygwin tools and I found a problem: 
> .deps/ClpCholeskyBase.Plo:1: *** multiple target patterns. (and several
> other error messages from this kind) 
> 
> So I searched in google some hints and found that this is a "well know"
> problem. It seems that make 3.81 has some difficulties to handle "automatic
> header file dependencies". 

  No, not exactly.  Make handles automatic header file dependencies absolutely
fine, but the one thing it doesn't understand is DOS-style paths that begin
with a drive letter and colon.  So if you're using a non-cygwin compiler that
outputs the wrong kind of file paths, make won't understand them.

> PS: I added the comment made on the coin-or website related to this problem
> with reference to the bug description (see the 2006 year ...).

  That's not helpful, because you misunderstood and your comment is incorrect
and misleading.  The real problem (I can tell without even looking at the site
or anything else) is that you are using the cygwin compiler's "-mno-cygwin"
option, which in fact turns it into a MinGW compiler, using DOS-based file
paths.  If you want make to understand MinGW paths generated by a MinGW
compiler, you should use a MinGW make, not a Cygwin make.

cheers,
  DaveK

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with make-3.81

2009-02-27 Thread ycollet
>> I was trying to compile project from coin-or (http://www.coin-or.org)
using
>> the cygwin tools and I found a problem: 
>> .deps/ClpCholeskyBase.Plo:1: *** multiple target patterns. (and several
>> other error messages from this kind) 
>> 
>> So I searched in google some hints and found that this is a "well know"
>> problem. It seems that make 3.81 has some difficulties to handle
"automatic
>> header file dependencies". 

>  No, not exactly.  Make handles automatic header file dependencies
absolutely
>fine, but the one thing it doesn't understand is DOS-style paths that
begin
>with a drive letter and colon.  So if you're using a non-cygwin compiler
that
>outputs the wrong kind of file paths, make won't understand them.

You're totally right. I use -mno-cygwin with gcc. My misunderstanding comes
from the fact that when you search for a solution to this problem on
google, it's always make fault.


>> PS: I added the comment made on the coin-or website related to this
problem
>> with reference to the bug description (see the 2006 year ...).

>  That's not helpful, because you misunderstood and your comment is
incorrect
>and misleading.  The real problem (I can tell without even looking at the
site
>or anything else) is that you are using the cygwin compiler's
"-mno-cygwin"
>option, which in fact turns it into a MinGW compiler, using DOS-based file
>paths.  If you want make to understand MinGW paths generated by a MinGW
>compiler, you should use a MinGW make, not a Cygwin make.

Is there any mingw make shipped with cygwin ? I can't find one in my
current installation ...

Thanks a lot,

YC

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with make-3.81

2009-02-27 Thread Ralph Hempel

ycol...@freesurf.fr wrote:

 If you want make to understand MinGW paths generated by a MinGW

compiler, you should use a MinGW make, not a Cygwin make.


Is there any mingw make shipped with cygwin ? I can't find one in my
current installation ...


I think Dave wants you to get the mingw-make from the mingw project
site :-)

Pssst. Don't tell anyone else here but when I want to compile
programs for Windows systems that have no Cygwin dependencies, I
just use the MinGW toolchain from the MinGW site.

If the current plans for gcc4 are still in place -mno-cygwin
will soon disappear. Maybe not soon enough.

Ralph

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with make-3.81

2009-02-27 Thread Ralph Hempel

y???...@f??f.fr wrote:

Apologies for not mangling the email address in my other
response to that note.

Turns out that if you make your email address the display
name, then it forces the person sending a reply to do
extra work so that your email address isn't visible
everywhere.

Ralph


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with make-3.81

2009-02-27 Thread ycollet
> I think Dave wants you to get the mingw-make from the mingw project site
:-)

Yes, I fill that. But that's a little bit complicated: to benefit from a
"pure" windows binary, you can compile a mingw binary using cygwin tools.
But you still need to download the make tool from the mingw website.

> Pssst. Don't tell anyone else here but when I want to compile
> programs for Windows systems that have no Cygwin dependencies, I
> just use the MinGW toolchain from the MinGW site.

I installed last week mingw. I am still fighting some cygwin habit while
using mingw :-)

> If the current plans for gcc4 are still in place -mno-cygwin
> will soon disappear. Maybe not soon enough.

Certainly a good thing. Do mingw things with mingw and cygwin things with
cygwin :-)

YC


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with make-3.81

2009-02-27 Thread Charles Wilson
ycol...@freesurf.fr wrote:
>> I think Dave wants you to get the mingw-make from the mingw project site
> :-)
> 
> Yes, I fill that. But that's a little bit complicated: to benefit from a
> "pure" windows binary, you can compile a mingw binary using cygwin tools.
> But you still need to download the make tool from the mingw website.

In *certain* cases -- if you're lucky -- you can use the cygwin make,
but you have to turn off automatic dependency tracking in your project.
For projects that use automake, you can do this using
--disable-dependency-tracking. But there are significant drawbacks to
doing this. And if it breaks your project, you get to keep all the
pieces (e.g. doing this is not supported by us, or anyone else).

--
Chuck

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with make-3.81

2009-02-27 Thread Dave Korn
Charles Wilson wrote:
> ycollet@ wrote:
>>> I think Dave wants you to get the mingw-make from the mingw project site
>> :-)
>>
>> Yes, I fill that. But that's a little bit complicated: to benefit from a
>> "pure" windows binary, you can compile a mingw binary using cygwin tools.
>> But you still need to download the make tool from the mingw website.
> 
> In *certain* cases -- if you're lucky -- you can use the cygwin make,
> but you have to turn off automatic dependency tracking in your project.
> For projects that use automake, you can do this using
> --disable-dependency-tracking. But there are significant drawbacks to
> doing this. And if it breaks your project, you get to keep all the
> pieces (e.g. doing this is not supported by us, or anyone else).

  Or, you can hack the makefile or put wrapper scripts around the compiler to
post-process the generated dependencies using cygpath (details left as
exercise for reader).

cheers,
  DaveK

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with make-3.81

2009-02-27 Thread Rob Walker
Or, you could unpack a patched up version of Cygwin's GNU make-3.81, 
available here:


http://sites.rwalker.com/cygwin

-Rob

Dave Korn wrote:

Charles Wilson wrote:
  

ycollet@ wrote:


I think Dave wants you to get the mingw-make from the mingw project site


:-)

Yes, I fill that. But that's a little bit complicated: to benefit from a
"pure" windows binary, you can compile a mingw binary using cygwin tools.
But you still need to download the make tool from the mingw website.
  

In *certain* cases -- if you're lucky -- you can use the cygwin make,
but you have to turn off automatic dependency tracking in your project.
For projects that use automake, you can do this using
--disable-dependency-tracking. But there are significant drawbacks to
doing this. And if it breaks your project, you get to keep all the
pieces (e.g. doing this is not supported by us, or anyone else).



  Or, you can hack the makefile or put wrapper scripts around the compiler to
post-process the generated dependencies using cygpath (details left as
exercise for reader).

cheers,
  DaveK

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

  



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with make under cygwin

2004-06-01 Thread Christopher Faylor
On Tue, Jun 01, 2004 at 10:00:21AM +0200, bertrand marquis wrote:
>Hello
>
>   i'm having a strange problem with the make command and shell.
>
>i try to run a makefile with this :
>HAVE_DEVFS := $(shell grep 'CONFIG_DEVFS_FS=y' ../../linux/.config &> 
>/dev/null && echo "yes" || echo "no")
>
>the shell command is working out of a makefile but in the makefile the 
>HAVE_DEVFS variable only contain the output of the grep command. Does 
>anyone know why it doesn't work ?

make uses /bin/sh.  /bin/sh doesn't understand the >& construct.  It
is not portable.

Use

HAVE_DEVFS := $(shell grep 'CONFIG_DEVFS_FS=y' ../../linux/.config >/dev/null 2>&1 && 
echo "yes" || echo "no")

instead.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with make under cygwin

2004-06-01 Thread bertrand marquis
thanks
i found also that passing -n to echo solve the problem  :
HAVE_DEVFS := $(shell grep 'CONFIG_DEVFS_FS=y' ../../linux/.config &> 
/dev/null && echo -n "yes" || echo -n "no")

but thank you, your solution is so much better

Christopher Faylor a écrit:
On Tue, Jun 01, 2004 at 10:00:21AM +0200, bertrand marquis wrote:
 

Hello
 i'm having a strange problem with the make command and shell.
i try to run a makefile with this :
HAVE_DEVFS := $(shell grep 'CONFIG_DEVFS_FS=y' ../../linux/.config &> 
/dev/null && echo "yes" || echo "no")

the shell command is working out of a makefile but in the makefile the 
HAVE_DEVFS variable only contain the output of the grep command. Does 
anyone know why it doesn't work ?
   

make uses /bin/sh.  /bin/sh doesn't understand the >& construct.  It
is not portable.
Use
HAVE_DEVFS := $(shell grep 'CONFIG_DEVFS_FS=y' ../../linux/.config >/dev/null 2>&1 && echo "yes" 
|| echo "no")
instead.
cgf
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Problem with make 'undef missing'

2003-09-06 Thread Igor Pechtchanski
On Sat, 6 Sep 2003, Philippe Bastiani wrote:

> Hi,
>
> I use a generic makefile on several systems... In the past, this makefile
> worked fine under Cygwin !
> Now, I obtain the following error: 'makefile.def:3: ***  missing...
>
> See, the following stupid makefile:
> *** Begin of file ***
> ifneq ($(strip $(SUBDIRS)),)
> else
> define MAKE_SUBDIRS
> $(MAKE_NOTHING)
> endef
> endif
>
> .PHONY  : all
> all  :  depend
>
> .PHONY : depend
> depend depends: $(CCLIST) $(CLIST)
> $(MAKE_DEPENDS)
> $(MAKE_SUBDIRS)
> *** end of file ***
>
> Please note: if I replace the  character (line 5, before the endef) by
> blank characters.. make works with no error !
>
> a+

Philippe,

This was reported before (quite recently, maybe in the past couple of
months).  I don't recall the exact details or whether there was a
resolution, but you should be able to find it in the archives.  Sorry I
couldn't me more helpful.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: problem with make (from cygwin-apps)

2001-12-05 Thread Ralf Habacker

> -Original Message-
> From: Robert Collins [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 05, 2001 2:03 PM
> To: Ralf Habacker; [EMAIL PROTECTED]
> Subject: Re: problem with make
>
>
> - Original Message -
> From: "Ralf Habacker" <[EMAIL PROTECTED]>
> ...
> > > >> Does anyone have an idea for fixing this ? I have no problem to
> fix
> > > >this, if somebody could
> > > >> give me a direction where I have to look on.
> ...
> > > Also, please use [EMAIL PROTECTED] for this type of bug reporting.
> This
> > > is not an applicable topic for cygwin-apps.
> > >
> > >From the mailing list page: cygwin-apps: a by-approval developers
> list for discussing issues
> > regarding applications that are distributed with the Cygwin DLL.
> >
> > Is "make" an application distributed with cygwin ? :-)
>
> Yes, but you missed the REST of the paragraph:  " This list is intended
> for discussing solutions. It is not for "it would be nice" type of
> musings. Use the main cygwin mailing list for that. "
>
> Copmare that with
>
> cygwin: a high volume list for discussion of just about all things
> Cygwin-related. If you have questions about how to use Cygwin, or any of
> its tools (bash, gcc, make, etc.), this is the list for you. There is
> one exception to the "all things cygwin" nature of this list: questions
> about the Cygwin XFree86 project should go to the cygwin-xfree mailing
> list (see below).
>
>
> Are you saying that the text about cygwin-apps is confusing?

The only problem may be to identify the category. Somebody think this is a bug (as I 
have
done), and others say this is a feature. Perhaps it is both.

Now after I have recognized the true reason for this, I'm thinking this is a feature, 
because
this isn't a bug of make and your right. So please, would you move this thread to 
cygwin.

Regards
Ralf


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: problem with make 4.4.1-2 or gcc-fortran 11.4.0-1

2024-04-19 Thread René Berber via Cygwin

On 4/19/2024 2:59 PM, Arnab Paul via Cygwin wrote:


Hello,
I am trying to install a software which requires the libraries gcc-fortran,
make, libarpack-devel, liblapack-devel, libnetcdf-fortran-devel, git.
As I did and ran the commands given below,

git clone https://github.com/Aida-Alvera/DINEOF
cd DINEOF/
cp config.mk.template config.mk
make

The make command is showing the problem as
Makefile:30: Compilers/Windows_NT-gfortran.mk: No such file or directory
make: *** No rule to make target 'Compilers/Windows_NT-gfortran.mk'.  Stop.

I am keeping Linux as my default OS but it is asking for the
Windows_NT-gfortran.mk


Looking at the Makefile, lines 13 to 15, and 30:

The problem is that Makefile optionally sets OS to Linux (line 13) but 
in Cygwin OS is set to Windows_NT.  i.e.

$ echo $OS
Windows_NT

The solution is to change that environment variable.

There are several ways try correct that, try: make OS=Linux

--
R.B.

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: problem with make 4.4.1-2 or gcc-fortran 11.4.0-1

2024-04-19 Thread Brian Inglis via Cygwin

On 2024-04-19 15:39, René Berber via Cygwin wrote:

On 4/19/2024 2:59 PM, Arnab Paul via Cygwin wrote:


Hello,
I am trying to install a software which requires the libraries gcc-fortran,
make, libarpack-devel, liblapack-devel, libnetcdf-fortran-devel, git.
As I did and ran the commands given below,

git clone https://github.com/Aida-Alvera/DINEOF
cd DINEOF/
cp config.mk.template config.mk
make

The make command is showing the problem as
Makefile:30: Compilers/Windows_NT-gfortran.mk: No such file or directory
make: *** No rule to make target 'Compilers/Windows_NT-gfortran.mk'.  Stop.

I am keeping Linux as my default OS but it is asking for the
Windows_NT-gfortran.mk


Looking at the Makefile, lines 13 to 15, and 30:

The problem is that Makefile optionally sets OS to Linux (line 13) but in Cygwin 
OS is set to Windows_NT.  i.e.

$ echo $OS
Windows_NT

The solution is to change that environment variable.

There are several ways try correct that, try: make OS=Linux


Better - first try:

$ uname -o
Cygwin

but Linux shows *GNU/Linux*, so then try e.g.:

$ uname -s
Linux

and only then see if $OS is defined and use it.

--
Take care. Thanks, Brian Inglis  Calgary, Alberta, Canada

La perfection est atteinte   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple