Ubuntu GitHub Action can't compile h5ex_g_create.c.
hyoklee opened this issue · 0 comments
hyoklee commented
See the build log and Action YML.
make[4]: Entering directory '/home/runner/work/hdf5-examples/hdf5-examples/1_6/C/H5G'
h5cc -shlib -DHAVE_CONFIG_H -I. -I../../.. '-D H5_USE_16_API' -g -O2 -MT h5ex_g_create.o -MD -MP -MF .deps/h5ex_g_create.Tpo -c -o h5ex_g_create.o h5ex_g_create.c
/usr/local/h5cc
dir is /usr/local
gcc: error: unrecognized command line option ‘-shlib’