delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/05/14:51:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <45820.65.200.9.2.1018036312.squirrel@portal.embedded-guru.com>
Date: Fri, 5 Apr 2002 11:51:52 -0800 (PST)
Subject: Problem with dlopen
From: "Frank Motta" <fmotta AT embedded-guru DOT com>
To: <cygwin AT cygwin DOT com>
X-Priority: 3
Importance: Normal
X-MSMail-Priority: Normal
Reply-To: fmotta AT embedded-guru DOT com
MIME-Version: 1.0

The following code returns Win32 error 126 - this is the same error
I get if I try a file which does not exist.

What is going wrong (operator malfunction - I'm sure!)
please help
            strncat(mod_file_name, LIB_EXT, LIB_EXT_LEN + 1);
            // FJM handle = dlopen(mod_file_name, (RTLD_NOW | RTLD_GLOBAL));
            handle = dlopen(mod_file_name, (DLOPEN_MODE));
            if ((err = dlerror()) == NULL) { break; }


-- 
Frank Motta
fmotta AT embedded-guru DOT com

If you cannot recognize divinity in your fellow man, then you will not
realize the devine within yourself...





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

- Raw text -


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