Mail Archives: cygwin/2006/03/23/13:56:04
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 -