Re: [Fwd: Re: Problems building opensc-0.10.0-beta2-rc1 on Windows with new llibltdl]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Fwd: Re: Problems building opensc-0.10.0-beta2-rc1 on Windows with new llibltdl]

Douglas E. Engert


Stef Hoeben wrote:

> As promsed: here's the attached lib and include file I'm using
> (and DLL as well but renamed into LDD as to circumvent possible virus
> scanners)

Well, I can not reproduce the problem. All the files look identical,
but have some different times, (accept the ltld.h  you sent that has DOS CR/LF
but is the same otherwise.)

Sorry for all the confusion.


But I did notice while looking for versions these files on my machine, that
the source for cvsnt includes the ltdl source. But the production versions
don't appear to need the DLL. So they may know how to build it into
their own DLLs thus avoiding possible DLL conflicts in the future.

>
> (PS: are you sue the ltdl.h file is found -- does the compiler complain
> if you remove the file?)

Yes it complains.

>
> Thx,
> Stef
>
> -------- Original Message --------
> Subject:     Re: [opensc-devel] Problems building
> opensc-0.10.0-beta2-rc1 on Windows with new llibltdl
> Date:     Thu, 13 Oct 2005 09:10:02 +0200
> From:     Stef Hoeben <[hidden email]>
> To:     Douglas E. Engert <[hidden email]>
> CC:     [hidden email]
> References:     <[hidden email]>
> <[hidden email]>
> <[hidden email]> <[hidden email]>
>
>
>
> Hi Douglas,
>
> the things I put in Make.rules.mak works fine for me, strange...
>
> I'll send you the lib I use (from
> http://GnuWin32.sourceforge.net/packages/libtool.htm),
> could you try if that one works, just to avoid the possibility of a
> different lib?
>
> Cheers,
> Stef
>
> Douglas E. Engert wrote:
>
>> More on this problem.
>>
>>  I read the Make.rules.mak which say to go off to
>> http://GnuWin32.sourceforge.net/packages/libtool.htm
>> and get the libtool-1.5.8 package. So I did and the prebuilt
>> version which has a libltld.lib which does not link.
>>
>> But if I use the http://www.opensc.org/scb/browser/trunk/GnuWin32.zip
>> which has a libltld.lib it  links and and appears to run.
>>
>> So for now, I can use your version.
>>
>>
>>  Douglas E. Engert wrote:
>>
>>>
>>>
>>> Martin Paljak wrote:
>>>
>>>> It's not that difficult.. I guess the windows makefile tells where to
>>>> get the precompiled version of libltdl for windows and it works just
>>>> fine.
>>>>
>>>
>>> It may be that your machine has all the libs installed, or you built
>>> the libtool yourself, have gw32c and gcclib (See below for the failures
>>> I was getting.)
>>>
>>>
>>>> anyway, we have to ocus on providing prebuilt binaries for windows so
>>>> it's not that much trouble to tell all developers what has to be done
>>>> in order to build opensc on windows.
>>>>
>>>
>>> This is not just a developers issue. Is an acceptance issue for main
>>> stream
>>> windows admins too. The more "other" packages you require, the more
>>> complex
>>> this is going to get, and the more trouble you will have in the long
>>> run,
>>> especially on Windows.
>>>
>>>
>>>> FYI - libltdl makes 'problems' on darwin too. check  the ticket at
>>>> https://www.opensc.org/opensc/ticket/48
>>>>
>>>> I have not had any issues with binary distributions under windows
>>>> (except i forgot to add the msvcrt71.dll file and that's another story
>>>>
>>>
>>> As I said, the more dependencies on other packages will cause more
>>> problems in the future...
>>>
>>> The scdl.c is much simpiler, and appears to have worked well on Windows.
>>> Why was ltdl introduced? Was to solve problems for some other OS? But
>>> it looks like it is causing additional problems where there was no
>>> problem before.
>>>
>>>
>>>
>>>> My 2 cents...
>>>> .
>>>>
>>>
>>> After downloading libtool-1.5.8-lib and changing the Make.rules.mak
>>> It gets this far.
>>>
>>>         link /DEBUG /NOLOGO /INCREMENTAL:NO /MACHINE:IX86
>>> /pdb:pkcs11-tool.pdb /
>>> out:pkcs11-tool.exe pkcs11-tool.obj util.obj  ..\common\common.lib
>>> ..\scconf\scc
>>> onf.lib ..\libopensc\opensc.lib  ..\pkcs15init\pkcs15init.lib
>>> ..\pkcs11\libpkcs1
>>> 1.lib  ..\..\win32\version.res
>>> D:\build\openssl-0.9.7g\src\\out32dll\libeay32.li
>>> b d:\build\libtool-1.5.8-lib\lib\libltdl.lib gdi32.lib
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol
>>> _readdir64
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol
>>> _argz_stringif
>>> y
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol
>>> _closedir
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol
>>> _opendir
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol
>>> _argz_insert
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol
>>> _argz_create_s
>>> ep
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol _dlsym
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol
>>> _dlclose
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol
>>> _dlerror
>>> libpkcs11.lib(ltdl.o) : error LNK2001: unresolved external symbol
>>> _dlopen
>>> pkcs11-tool.exe : fatal error LNK1120: 10 unresolved externals
>>>
>>> These look like they are in gw32c, so I add in that package, and get
>>> this:
>>>
>>>         link /DEBUG /NOLOGO /INCREMENTAL:NO /MACHINE:IX86
>>> /pdb:pkcs11-tool.pdb /
>>> out:pkcs11-tool.exe pkcs11-tool.obj util.obj  ..\common\common.lib
>>> ..\scconf\scc
>>> onf.lib ..\libopensc\opensc.lib  ..\pkcs15init\pkcs15init.lib
>>> ..\pkcs11\libpkcs1
>>> 1.lib  ..\..\win32\version.res
>>> D:\build\openssl-0.9.7g\src\\out32dll\libeay32.li
>>> b d:\build\libtool-1.5.8-lib\lib\libltdl.lib  
>>> d:\opt\GnuWin32\lib\libgw32c.a gdi
>>> 32.lib
>>> libgw32c.a(hxstat64.o) : error LNK2001: unresolved external symbol
>>> ___udivdi3
>>> libgw32c.a(statfsx64.o) : error LNK2001: unresolved external symbol
>>> ___udivdi3
>>> libgw32c.a(tempname.o) : error LNK2001: unresolved external symbol
>>> ___udivdi3
>>> libgw32c.a(
>>> ) : error LNK2001: unresolved external symbol ___udivdi3
>>> libgw32c.a(tempname.o) : error LNK2001: unresolved external symbol
>>> ___umoddi3
>>> libgw32c.a(
>>> ) : error LNK2001: unresolved external symbol ___umoddi3
>>> libgw32c.a(readlink.o) : error LNK2001: unresolved external symbol
>>> _OleInitializ
>>> e@4
>>> libgw32c.a(readlink.o) : error LNK2001: unresolved external symbol
>>> _CoCreateInst
>>> ance@20
>>> libgw32c.a(readlink.o) : error LNK2001: unresolved external symbol
>>> _CoUninitiali
>>> ze@0
>>> libgw32c.a(readlink.o) : error LNK2001: unresolved external symbol
>>> __alloca
>>> pkcs11-tool.exe : fatal error LNK1120: 6 unresolved externals
>>>
>>> These look like they are in gcclib and some windows libs too!
>>> I am using VC++ This is where I stopped.
>>>
>>>
>>>>
>>>> On 10/12/05, Douglas E. Engert <[hidden email]> wrote:
>>>>
>>>>> Your choice to use the libtool libltdl on Windows bring up a lot of
>>>>> issues making building, installing, using and selling OpenSC much more
>>>>> difficult.
>>>>>
>>>>>  o Another package is now required, libtool.
>>>>>
>>>>>  o The libtool-1.5.18 will not build with MS VC++. Thus another
>>>>>    compiler is now needed or one has to use a precompiled version.
>>>>>
>>>>>  o The libltdl.lib requires another DLL, libltdl3.dll.
>>>>>
>>>>>  o It appears that libltdl as distributed in the precompiled
>>>>>    libtool-1.5.8-lib requires another package libgw32c  with its
>>>>>    libgw32.c.lib, and its DLL.
>>>>>
>>>>>  o This appears to require some gcc libs too. (this is where I
>>>>> stopped.)
>>>>>
>>>>> Thus the OpenSC is now becoming dependent on too many other
>>>>> packages.  At least 3, and three more DLLs. This maybe OK for a UNIX
>>>>> system, but these multiple dependencies will make OpenSC much less
>>>>> likely to be used on Windows. Its hard enough to get Windows
>>>>> administrators
>>>>> to install open source software on Windows. But if there are even more
>>>>> dependencies, this will be almost impossible.
>>>>>
>>>>> Please consider, at least for Windows, going back to the previous
>>>>> method of using the scdl.c.  There are no additional packages, no
>>>>> extra DLLs, and it is substantially smaller too!
>>>>>
>>>>> If you really need libltdl on some systems, can you call it from
>>>>> scdl.c
>>>>> and then only on those systems that need it?
>>>>>
>>>>> --
>>>>>
>>>>>  Douglas E. Engert  <[hidden email]>
>>>>>  Argonne National Laboratory
>>>>>  9700 South Cass Avenue
>>>>>  Argonne, Illinois  60439
>>>>>  (630) 252-5444
>>>>> _______________________________________________
>>>>> opensc-devel mailing list
>>>>> [hidden email]
>>>>> http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Martin Paljak
>>>> [hidden email]
>>>> http://martin.paljak.pri.ee/
>>>> +372.5156495 - phone
>>>>
>>>>
>>>
>>
>
>
>
> ------------------------------------------------------------------------
>
> /* ltdl.h -- generic dlopen functions
>    Copyright (C) 1998-2000 Free Software Foundation, Inc.
>    Originally by Thomas Tanner <[hidden email]>
>    This file is part of GNU Libtool.
>
> This library is free software; you can redistribute it and/or
> modify it under the terms of the GNU Lesser General Public
> License as published by the Free Software Foundation; either
> version 2 of the License, or (at your option) any later version.
>
> As a special exception to the GNU Lesser General Public License,
> if you distribute this file as part of a program or library that
> is built using GNU libtool, you may include it under the same
> distribution terms that you use for the rest of that program.
>
> This library is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> Lesser General Public License for more details.
>
> You should have received a copy of the GNU Lesser General Public
> License along with this library; if not, write to the Free
> Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
> 02111-1307  USA
> */
>
> /* Only include this header file once. */
> #ifndef LTDL_H
> #define LTDL_H 1
>
> #include <sys/types.h> /* for size_t declaration */
>
>
> /* --- MACROS FOR PORTABILITY --- */
>
>
> /* Saves on those hard to debug '\0' typos....  */
> #define LT_EOS_CHAR '\0'
>
> /* LTDL_BEGIN_C_DECLS should be used at the beginning of your declarations,
>    so that C++ compilers don't mangle their names.  Use LTDL_END_C_DECLS at
>    the end of C declarations. */
> #ifdef __cplusplus
> # define LT_BEGIN_C_DECLS extern "C" {
> # define LT_END_C_DECLS }
> #else
> # define LT_BEGIN_C_DECLS /* empty */
> # define LT_END_C_DECLS /* empty */
> #endif
>
> LT_BEGIN_C_DECLS
>
>
> /* LT_PARAMS is a macro used to wrap function prototypes, so that compilers
>    that don't understand ANSI C prototypes still work, and ANSI C
>    compilers can issue warnings about type mismatches.  */
> #if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(WIN32) || defined(__cplusplus)
> # define LT_PARAMS(protos) protos
> # define lt_ptr void*
> #else
> # define LT_PARAMS(protos) ()
> # define lt_ptr char*
> #endif
>
> /* LT_STMT_START/END are used to create macros which expand to a
>    a single compound statement in a portable way.  */
> #if defined (__GNUC__) && !defined (__STRICT_ANSI__) && !defined (__cplusplus)
> #  define LT_STMT_START        (void)(
> #  define LT_STMT_END          )
> #else
> #  if (defined (sun) || defined (__sun__))
> #    define LT_STMT_START      if (1)
> #    define LT_STMT_END        else (void)0
> #  else
> #    define LT_STMT_START      do
> #    define LT_STMT_END        while (0)
> #  endif
> #endif
>
> /* LT_CONC creates a new concatenated symbol for the compiler
>    in a portable way.  */
> #if defined(__STDC__) || defined(__cplusplus) || defined(_MSC_VER)
> #  define LT_CONC(s,t) s##t
> #else
> #  define LT_CONC(s,t) s/**/t
> #endif
>
> /* LT_STRLEN can be used safely on NULL pointers.  */
> #define LT_STRLEN(s) (((s) && (s)[0]) ? strlen (s) : 0)
>
>
>
> /* --- WINDOWS SUPPORT --- */
>
>
> /* Canonicalise Windows and Cygwin recognition macros.  */
> #ifdef __CYGWIN32__
> #  ifndef __CYGWIN__
> #    define __CYGWIN__ __CYGWIN32__
> #  endif
> #endif
> #if defined(_WIN32) || defined(WIN32)
> #  ifndef __WINDOWS__
> #    ifdef _WIN32
> #      define __WINDOWS__ _WIN32
> #    else
> #      ifdef WIN32
> #        define __WINDOWS__ WIN32
> #      endif
> #    endif
> #  endif
> #endif
>
>
> #ifdef __WINDOWS__
> #  ifndef __CYGWIN__
> /* LT_DIRSEP_CHAR is accepted *in addition* to '/' as a directory
>    separator when it is set. */
> #    define LT_DIRSEP_CHAR '\\'
> #    define LT_PATHSEP_CHAR ';'
> #  endif
> #endif
> #ifndef LT_PATHSEP_CHAR
> #  define LT_PATHSEP_CHAR ':'
> #endif
>
> /* DLL building support on win32 hosts;  mostly to workaround their
>    ridiculous implementation of data symbol exporting. */
> #ifndef LT_SCOPE
> #  ifdef __WINDOWS__
> #    ifdef DLL_EXPORT /* defined by libtool (if required) */
> #      define LT_SCOPE __declspec(dllexport)
> #    endif
> #    ifdef LIBLTDL_DLL_IMPORT /* define if linking with this dll */
> #      define LT_SCOPE extern __declspec(dllimport)
> #    endif
> #  endif
> #  ifndef LT_SCOPE /* static linking or !__WINDOWS__ */
> #    define LT_SCOPE extern
> #  endif
> #endif
>
>
> #if defined(_MSC_VER) /* Visual Studio */
> #  define R_OK 4
> #endif
>
>
>
> /* --- DYNAMIC MODULE LOADING API --- */
>
>
> typedef struct lt_dlhandle_struct *lt_dlhandle; /* A loaded module.  */
>
> /* Initialisation and finalisation functions for libltdl. */
> LT_SCOPE int    lt_dlinit LT_PARAMS((void));
> LT_SCOPE int    lt_dlexit LT_PARAMS((void));
>
> /* Module search path manipulation.  */
> LT_SCOPE int    lt_dladdsearchdir LT_PARAMS((const char *search_dir));
> LT_SCOPE int    lt_dlinsertsearchdir LT_PARAMS((const char *before,
>    const char *search_dir));
> LT_SCOPE int    lt_dlsetsearchpath LT_PARAMS((const char *search_path));
> LT_SCOPE const char *lt_dlgetsearchpath LT_PARAMS((void));
> LT_SCOPE int    lt_dlforeachfile LT_PARAMS((
> const char *search_path,
> int (*func) (const char *filename, lt_ptr data),
> lt_ptr data));
>
> /* Portable libltdl versions of the system dlopen() API. */
> LT_SCOPE lt_dlhandle lt_dlopen LT_PARAMS((const char *filename));
> LT_SCOPE lt_dlhandle lt_dlopenext LT_PARAMS((const char *filename));
> LT_SCOPE lt_ptr    lt_dlsym LT_PARAMS((lt_dlhandle handle,
>     const char *name));
> LT_SCOPE const char *lt_dlerror LT_PARAMS((void));
> LT_SCOPE int    lt_dlclose LT_PARAMS((lt_dlhandle handle));
>
> /* Module residency management. */
> LT_SCOPE int    lt_dlmakeresident LT_PARAMS((lt_dlhandle handle));
> LT_SCOPE int    lt_dlisresident LT_PARAMS((lt_dlhandle handle));
>
>
>
>
> /* --- MUTEX LOCKING --- */
>
>
> typedef void lt_dlmutex_lock LT_PARAMS((void));
> typedef void lt_dlmutex_unlock LT_PARAMS((void));
> typedef void lt_dlmutex_seterror LT_PARAMS((const char *errmsg));
> typedef const char *lt_dlmutex_geterror LT_PARAMS((void));
>
> LT_SCOPE int lt_dlmutex_register LT_PARAMS((lt_dlmutex_lock *lock,
>    lt_dlmutex_unlock *unlock,
>    lt_dlmutex_seterror *seterror,
>    lt_dlmutex_geterror *geterror));
>
>
>
>
> /* --- MEMORY HANDLING --- */
>
>
> /* By default, the realloc function pointer is set to our internal
>    realloc implementation which iself uses lt_dlmalloc and lt_dlfree.
>    libltdl relies on a featureful realloc, but if you are sure yours
>    has the right semantics then you can assign it directly.  Generally,
>    it is safe to assign just a malloc() and a free() function.  */
> LT_SCOPE  lt_ptr   (*lt_dlmalloc) LT_PARAMS((size_t size));
> LT_SCOPE  lt_ptr   (*lt_dlrealloc) LT_PARAMS((lt_ptr ptr, size_t size));
> LT_SCOPE  void   (*lt_dlfree) LT_PARAMS((lt_ptr ptr));
>
>
>
>
> /* --- PRELOADED MODULE SUPPORT --- */
>
>
> /* A preopened symbol. Arrays of this type comprise the exported
>    symbols for a dlpreopened module. */
> typedef struct {
>   const char *name;
>   lt_ptr      address;
> } lt_dlsymlist;
>
> LT_SCOPE int lt_dlpreload LT_PARAMS((const lt_dlsymlist *preloaded));
> LT_SCOPE int lt_dlpreload_default
> LT_PARAMS((const lt_dlsymlist *preloaded));
>
> #define LTDL_SET_PRELOADED_SYMBOLS() LT_STMT_START{ \
> extern const lt_dlsymlist lt_preloaded_symbols[]; \
> lt_dlpreload_default(lt_preloaded_symbols); \
> }LT_STMT_END
>
>
>
>
> /* --- MODULE INFORMATION --- */
>
>
> /* Read only information pertaining to a loaded module. */
> typedef struct {
>   char *filename; /* file name */
>   char *name; /* module name */
>   int ref_count; /* number of times lt_dlopened minus
>   number of times lt_dlclosed. */
> } lt_dlinfo;
>
> LT_SCOPE const lt_dlinfo *lt_dlgetinfo    LT_PARAMS((lt_dlhandle handle));
> LT_SCOPE lt_dlhandle lt_dlhandle_next    LT_PARAMS((lt_dlhandle place));
> LT_SCOPE int lt_dlforeach    LT_PARAMS((
> int (*func) (lt_dlhandle handle, lt_ptr data),
> lt_ptr data));
>
> /* Associating user data with loaded modules. */
> typedef unsigned lt_dlcaller_id;
>
> LT_SCOPE lt_dlcaller_id lt_dlcaller_register  LT_PARAMS((void));
> LT_SCOPE lt_ptr lt_dlcaller_set_data  LT_PARAMS((lt_dlcaller_id key,
> lt_dlhandle handle,
> lt_ptr data));
> LT_SCOPE lt_ptr lt_dlcaller_get_data  LT_PARAMS((lt_dlcaller_id key,
> lt_dlhandle handle));
>
>
>
> /* --- USER MODULE LOADER API --- */
>
>
> typedef struct lt_dlloader lt_dlloader;
> typedef lt_ptr lt_user_data;
> typedef lt_ptr lt_module;
>
> /* Function pointer types for creating user defined module loaders. */
> typedef lt_module   lt_module_open LT_PARAMS((lt_user_data loader_data,
>    const char *filename));
> typedef int    lt_module_close LT_PARAMS((lt_user_data loader_data,
>    lt_module handle));
> typedef lt_ptr    lt_find_sym LT_PARAMS((lt_user_data loader_data,
>    lt_module handle,
>    const char *symbol));
> typedef int    lt_dlloader_exit LT_PARAMS((lt_user_data loader_data));
>
> struct lt_user_dlloader {
>   const char       *sym_prefix;
>   lt_module_open       *module_open;
>   lt_module_close      *module_close;
>   lt_find_sym       *find_sym;
>   lt_dlloader_exit     *dlloader_exit;
>   lt_user_data dlloader_data;
> };
>
> LT_SCOPE lt_dlloader    *lt_dlloader_next    LT_PARAMS((lt_dlloader *place));
> LT_SCOPE lt_dlloader    *lt_dlloader_find    LT_PARAMS((
> const char *loader_name));
> LT_SCOPE const char     *lt_dlloader_name    LT_PARAMS((lt_dlloader *place));
> LT_SCOPE lt_user_data   *lt_dlloader_data    LT_PARAMS((lt_dlloader *place));
> LT_SCOPE int lt_dlloader_add     LT_PARAMS((lt_dlloader *place,
> const struct lt_user_dlloader *dlloader,
> const char *loader_name));
> LT_SCOPE int lt_dlloader_remove  LT_PARAMS((
> const char *loader_name));
>
>
>
> /* --- ERROR MESSAGE HANDLING --- */
>
>
> /* Defining error strings alongside their symbolic names in a macro in
>    this way allows us to expand the macro in different contexts with
>    confidence that the enumeration of symbolic names will map correctly
>    onto the table of error strings.  */
> #define lt_dlerror_table \
>     LT_ERROR(UNKNOWN,    "unknown error") \
>     LT_ERROR(DLOPEN_NOT_SUPPORTED,  "dlopen support not available") \
>     LT_ERROR(INVALID_LOADER,    "invalid loader") \
>     LT_ERROR(INIT_LOADER,    "loader initialization failed") \
>     LT_ERROR(REMOVE_LOADER,    "loader removal failed") \
>     LT_ERROR(FILE_NOT_FOUND,    "file not found") \
>     LT_ERROR(DEPLIB_NOT_FOUND,      "dependency library not found") \
>     LT_ERROR(NO_SYMBOLS,    "no symbols defined") \
>     LT_ERROR(CANNOT_OPEN,    "can't open the module") \
>     LT_ERROR(CANNOT_CLOSE,    "can't close the module") \
>     LT_ERROR(SYMBOL_NOT_FOUND,      "symbol not found") \
>     LT_ERROR(NO_MEMORY,    "not enough memory") \
>     LT_ERROR(INVALID_HANDLE,    "invalid module handle") \
>     LT_ERROR(BUFFER_OVERFLOW,    "internal buffer overflow") \
>     LT_ERROR(INVALID_ERRORCODE,     "invalid errorcode") \
>     LT_ERROR(SHUTDOWN,    "library already shutdown") \
>     LT_ERROR(CLOSE_RESIDENT_MODULE, "can't close resident module") \
>     LT_ERROR(INVALID_MUTEX_ARGS,    "invalid mutex handler registration") \
>     LT_ERROR(INVALID_POSITION,    "invalid search path insert position")
>
> /* Enumerate the symbolic error names. */
> enum {
> #define LT_ERROR(name, diagnostic) LT_CONC(LT_ERROR_, name),
> lt_dlerror_table
> #undef LT_ERROR
>
> LT_ERROR_MAX
> };
>
> /* These functions are only useful from inside custom module loaders. */
> LT_SCOPE int lt_dladderror LT_PARAMS((const char *diagnostic));
> LT_SCOPE int lt_dlseterror LT_PARAMS((int errorcode));
>
>
>
>
> /* --- SOURCE COMPATIBILITY WITH OLD LIBLTDL --- */
>
>
> #ifdef LT_NON_POSIX_NAMESPACE
> #  define lt_ptr_t lt_ptr
> #  define lt_module_t lt_module
> #  define lt_module_open_t lt_module_open
> #  define lt_module_close_t lt_module_close
> #  define lt_find_sym_t lt_find_sym
> #  define lt_dlloader_exit_t lt_dlloader_exit
> #  define lt_dlloader_t lt_dlloader
> #  define lt_dlloader_data_t lt_user_data
> #endif
>
> LT_END_C_DECLS
>
> #endif /* !LTDL_H */

--

  Douglas E. Engert  <[hidden email]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel