Skip to content

Instantly share code, notes, and snippets.

@musm
Created July 3, 2019 14:35
Show Gist options
  • Save musm/8f60a31a775a72411f9173637bba0642 to your computer and use it in GitHub Desktop.
Save musm/8f60a31a775a72411f9173637bba0642 to your computer and use it in GitHub Desktop.
In file included from H5PLint.c:32:0:
H5PLint.c: In function ‘H5PL__open’:
H5PLpkg.h:97:30: warning: implicit declaration of function ‘dlopen’; did you mean ‘fdopen’? [-Wimplicit-function-declaration]
# define H5PL_OPEN_DLIB(S) dlopen(S, RTLD_LAZY)
^
H5PLint.c:326:27: note: in expansion of macro ‘H5PL_OPEN_DLIB’
if (NULL == (handle = H5PL_OPEN_DLIB(path))) {
^~~~~~~~~~~~~~
H5PLpkg.h:97:40: error: ‘RTLD_LAZY’ undeclared (first use in this function)
# define H5PL_OPEN_DLIB(S) dlopen(S, RTLD_LAZY)
^
H5PLint.c:326:27: note: in expansion of macro ‘H5PL_OPEN_DLIB’
if (NULL == (handle = H5PL_OPEN_DLIB(path))) {
^~~~~~~~~~~~~~
H5PLpkg.h:97:40: note: each undeclared identifier is reported only once for each function it appears in
# define H5PL_OPEN_DLIB(S) dlopen(S, RTLD_LAZY)
^
H5PLint.c:326:27: note: in expansion of macro ‘H5PL_OPEN_DLIB’
if (NULL == (handle = H5PL_OPEN_DLIB(path))) {
^~~~~~~~~~~~~~
In file included from H5PLint.c:30:0:
H5PLpkg.h:106:78: warning: implicit declaration of function ‘dlerror’; did you mean ‘perror’? [-Wimplicit-function-declaration]
# define H5PL_CLR_ERROR HERROR(H5E_PLUGIN, H5E_CANTGET, "can't dlopen:%s", dlerror())
^
H5Eprivate.h:33:117: note: in definition of macro ‘HERROR’
#define HERROR(maj_id, min_id, ...) H5E_printf_stack(NULL, __FILE__, FUNC, __LINE__, H5E_ERR_CLS_g, maj_id, min_id, __VA_ARGS__)
^~~~~~~~~~~
H5PLint.c:327:9: note: in expansion of macro ‘H5PL_CLR_ERROR’
H5PL_CLR_ERROR; /* clear error */
^~~~~~~~~~~~~~
In file included from H5PLint.c:32:0:
H5PLpkg.h:100:35: warning: implicit declaration of function ‘dlsym’; did you mean ‘iscsym’? [-Wimplicit-function-declaration]
# define H5PL_GET_LIB_FUNC(H,N) dlsym(H,N)
^
H5PLint.c:334:60: note: in expansion of macro ‘H5PL_GET_LIB_FUNC’
if (NULL == (get_plugin_info = (H5PL_get_plugin_info_t)H5PL_GET_LIB_FUNC(handle, "H5PLget_plugin_info")))
^~~~~~~~~~~~~~~~~
H5PLint.c:334:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
if (NULL == (get_plugin_info = (H5PL_get_plugin_info_t)H5PL_GET_LIB_FUNC(handle, "H5PLget_plugin_info")))
^
In file included from H5PLint.c:32:0:
H5PLint.c: In function ‘H5PL__close’:
H5PLpkg.h:103:30: warning: implicit declaration of function ‘dlclose’; did you mean ‘_pclose’? [-Wimplicit-function-declaration]
# define H5PL_CLOSE_LIB(H) dlclose(H)
^
H5PLint.c:390:5: note: in expansion of macro ‘H5PL_CLOSE_LIB’
H5PL_CLOSE_LIB(handle);
^~~~~~~~~~~~~~
make[2]: *** [Makefile:1438: H5PLint.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/cygdrive/c/Users/Mus/work/hdf5-1.10.5/src'
make[1]: *** [Makefile:1005: all] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/Mus/work/hdf5-1.10.5/src'
make: *** [Makefile:654: all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment