Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on x86_64 OpenBSD 7.2 clang #151

Closed
hyoklee opened this issue Jan 18, 2023 · 2 comments · Fixed by #483
Closed

Build fails on x86_64 OpenBSD 7.2 clang #151

hyoklee opened this issue Jan 18, 2023 · 2 comments · Fixed by #483
Assignees
Labels
Component - Build CMake, Autotools Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub

Comments

@hyoklee
Copy link
Member

hyoklee commented Jan 18, 2023

In file included from /home/runner/work/hdf4/hdf4/hdf4/mfhdf/libsrc/array.c:18:
[1826](https://github.com/HDFGroup/hdf4/actions/runs/3950638539/jobs/6763440046#step:3:1827)
/home/runner/work/hdf4/hdf4/hdf4/mfhdf/libsrc/local_nc.h:487:62: error: unknown type name 'u_int'
[1827](https://github.com/HDFGroup/hdf4/actions/runs/3950638539/jobs/6763440046#step:3:1828)
HDFLIBAPI bool_t xdr_shorts    PROTO((XDR * xdrs, short *sp, u_int cnt));
[1828](https://github.com/HDFGroup/hdf4/actions/runs/3950638539/jobs/6763440046#step:3:1829)
                                                             ^
[1829](https://github.com/HDFGroup/hdf4/actions/runs/3950638539/jobs/6763440046#step:3:1830)
/home/runner/work/hdf4/hdf4/hdf4/mfhdf/libsrc/array.c:480:11: error: expected ';' after expression
[1830](https://github.com/HDFGroup/hdf4/actions/runs/3950638539/jobs/6763440046#step:3:1831)
    u_long  count = 0, *countp = NULL;
[1831](https://github.com/HDFGroup/hdf4/actions/runs/3950638539/jobs/6763440046#step:3:1832)
          ^
@hyoklee
Copy link
Member Author

hyoklee commented Mar 22, 2023

It still fails:

In file included from /home/runner/work/hdf4-1/hdf4-1/hdf4/mfhdf/libsrc/array.c:18:
/home/runner/work/hdf4-1/hdf4-1/hdf4/mfhdf/libsrc/local_nc.h:473:51: error: unknown type name 'u_int'
HDFLIBAPI bool_t xdr_shorts(XDR *xdrs, short *sp, u_int cnt);

@derobins derobins added Component - Build CMake, Autotools Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub Priority - 1. High 🔼 These are important issues that should be resolved in the next release labels May 3, 2023
@derobins derobins moved this to Todo in HDF4 4.3.0 May 3, 2023
@derobins derobins assigned derobins and unassigned bmribler May 8, 2023
@derobins derobins added this to the 4.3.0 milestone Aug 30, 2023
@derobins
Copy link
Member

derobins commented Feb 6, 2024

Will be fixed with #483, which removes the u_int type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Build CMake, Autotools Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants