delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/11/09:56:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,TW_YG,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <31125708.post@talk.nabble.com>
Date: Fri, 11 Mar 2011 06:56:04 -0800 (PST)
From: Mengsk <tmp1 AT rcmd DOT org>
To: cygwin AT cygwin DOT com
Subject: Compiled program does nothing when executing it under Cygwin
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hello list,

I've been using Cygwin for a few weeks to develop C programs under Windows
XP. Since yesterday evening, various programs don't do anything anymore
under Cygwin when I execute them though. This includes a program that I
wrote and compiled myself but also Cygwin's psql binary. (When I compile my
program under Linux they work fine and the compilation doesn't give any
errors on Cygwin neither, of course.) The last thing I remember doing was
installing rsync into Cygwin, other packages were upgraded as well during
that operation I think.

When I run my program it just does nothing and I'm still at the shell like
this:

am AT dev ~/svn/ptgl
$ psql
am AT dev ~/svn/ptgl
$ ./my_prg
am AT dev ~/svn/ptgl

When I run cygcheck on my_prg, this is shown:
C:\Dokumente und Einstellungen\spirit\Eigene
Dateien\develop\svn\molbi\ptgl\topo_neo\topo_neo_lig.exe
  C:\cygwin\bin\cygwin1.dll
    C:\WINDOWS\system32\ADVAPI32.DLL
      C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\RPCRT4.dll
        C:\WINDOWS\system32\Secur32.dll
  C:\cygwin\bin\cyggcc_s-1.dll
  C:\cygwin\bin\cygpq.dll
    C:\cygwin\bin\cygcrypt-0.dll
    C:\cygwin\bin\cygcrypto-0.9.8.dll
      C:\cygwin\bin\cygz.dll
    C:\cygwin\bin\cygintl-8.dll
      C:\cygwin\bin\cygiconv-2.dll
    C:\cygwin\bin\cygldap-2-3-0.dll
      C:\cygwin\bin\cyglber-2-3-0.dll
      C:\cygwin\bin\cygminires.dll
      C:\cygwin\bin\cygssl-0.9.8.dll
      C:\cygwin\bin\cygsasl2-2.dll

When I try to run the program from Windows (by double-clicking it in the
Explorer), this error message shows up: "Der Procedureinstiegspunkt
_feinitialise wurde in der DLL cygwin1.dll nicht gefunden." This means
"Cannot find entry point _feinitialise in dynamic link library cygwin1.dll"
in english, but I'm not even sure if this error message is related to my
problem. The cygwin1.dll file exists in the path listed above and that
directory is in my PATH system variable.

Running the app in gdb says "error 193" but this seems to be some
cygwin/windows path issue accoriding to google -- and may also not be
related to the problem.

What should I do? If you need the output of other programs or more info
please ask. I don't really know how to even try to diagnose the error.

Thanks for any help,

am
-- 
View this message in context: http://old.nabble.com/Compiled-program-does-nothing-when-executing-it-under-Cygwin-tp31125708p31125708.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

- Raw text -


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