delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/23/13:56:04

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Message-ID: <17442.61235.778033.593603@ccs.covici.com>
Date: Thu, 23 Mar 2006 13:55:47 -0500
From: John covici <covici AT ccs DOT covici DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: problems running mmv on cygwin
In-Reply-To: <Pine.GSO.4.63.0603231344410.16535@access1.cims.nyu.edu>
References: <m3y7z1m2kx DOT fsf AT ccs DOT covici DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0603231344410 DOT 16535 AT access1 DOT cims DOT nyu DOT edu>
Reply-To: covici AT ccs DOT covici DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Well, the problem is that no dll's are produced at all -- after all
this is just C code.  Here is the Makefile if that is any help.

Thanks.


# Possible defines in CONF:
#	IS_MSDOS IS_SYSV IS_V7 IS_BSD HAS_DIRENT HAS_RENAME MV_DIR

CC		=gcc
LD		=$(CC)
CONF		=-DIS_SYSV -DHAS_DIRENT -DHAS_RENAME
CFLAGS		=-O2 $(CONF)
LDFLAGS		=-s -N

#IBIN		=$(LOCAL)$(ARCH)/bin
#IMAN		=$(LOCAL)$(ANY)/man
IBIN=$(DESTDIR)/usr/bin/
IMAN=$(DESTDIR)/usr/man/

mmv:		mmv.o

clean:
	rm -f mmv mmv.o

install:	$(DEST)$(IBIN)/mmv
install:	$(DEST)$(IMAN)/man1/mmv.1

$(DEST)$(IBIN)/mmv:		mmv;	cp $? $@
$(DEST)$(IMAN)/man1/mmv.1:	mmv.1;	cp $? $@

on Thursday 03/23/2006 Igor Peshansky(pechtcha AT cs DOT nyu DOT edu) wrote
 > On Thu, 23 Mar 2006, John Covici wrote:
 > 
 > > Hi.  I just installed cygwin and I wanted to compile and run mmv.  I
 > > got the source and ran the Makefile -- there was no configure script.
 > > When I try to start the program I get the Microsoft dialog about
 > > sending an error report.  Looks like the offset was 10000 and the
 > > error was0xc0000005.
 > >
 > > I can send a cygcheck if desired.
 > >
 > > Any assistance would be appreciated.
 > 
 > You should really be asking the suppliers of mmv, but error 0xc0000005
 > ("the application could not be initialized properly") is usually
 > indicative of the missing execute permission on some DLL.  Make sure you
 > "chmod a+x" all the DLLs that are produced by the build.
 > FWIW, "gcc -shared" marks DLLs as executable, so there must be some other
 > piece of code (e.g., "install -m 0644" in the Makefile) that changes the
 > permissions.
 > 	Igor
 > -- 
 > 				http://cs.nyu.edu/~pechtcha/
 >       |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
 > ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
 >      |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
 >     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
 > 
 > "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
 > "But no -- you are no fool; you call yourself a fool, there's proof enough in
 > that!" -- Rostand, "Cyrano de Bergerac"

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici AT ccs DOT covici DOT com

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019