delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/16/04:10:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Frans Rossouw" <fer AT ucs DOT co DOT za>
To: "Cygwin" <cygwin AT cygwin DOT com>
Subject: Win32 error 127 with dlsym & dlopen
Date: Fri, 16 Mar 2001 11:10:31 +0200
Message-ID: <003f01c0adf8$f3643820$db011fac@fer.ucs.co.za>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

Hey all

OK, you are probably all sick of me by now but here goes anyways :)

a) i) Does anyone know if dlopen has been modified to cater for:

      handle = dlopen (NULL, RTLD_LAZY);
                        ^^
      at this stage, the only way to stop the dlopen 
      from generating a error 127 is to give an absolute path to the .exe??

   ii)When I try to use a dlsym after the dlopen I also get the error 127? 
	Does anyone know how I can get by this?
	fPtr = (int (*)(int)) dlsym (handle, buf);

b) Does anyone have a patched version somewhere?
c) Can you guys help me patch it myself?


Thanx in advance ;)
Frans Rossouw
(+2711) 712-1404
Icq# 103978846


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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