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

Error with slurm-23-11-0-1: variable has incomplete type 'hostlist_t' #6806

Closed
thierry-FreeBSD opened this issue Nov 24, 2023 · 1 comment · Fixed by #6820
Closed

Error with slurm-23-11-0-1: variable has incomplete type 'hostlist_t' #6806

thierry-FreeBSD opened this issue Nov 24, 2023 · 1 comment · Fixed by #6820

Comments

@thierry-FreeBSD
Copy link

Compiling MPICH 4.1.2 against slurm 23-11-0-1 fails with the following error:

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./include -I/usr/ports/net/mpich/work/mpich-4.1.2/src/pmi/src -I/usr/ports/net/mpich/work/mpich-4.1.2/src/mpl/include -I/usr/ports/net/mpich/work/mpich-4.1.2/src/mpl/include -I./lib -I./lib/tools/topo -I./lib/tools/bootstrap/include -I./lib/tools/bootstrap/utils -I./lib/tools/bootstrap/persist -I./lib/tools/demux -isystem /usr/local/include -I/usr/local/include -DNETMOD_INLINE=__netmod_inline_ofi__ -I/usr/local/include/json-c -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -g -MT lib/tools/bootstrap/external/ll_launch.lo -MD -MP -MF lib/tools/bootstrap/external/.deps/ll_launch.Tpo -c lib/tools/bootstrap/external/ll_launch.c  -fPIC -DPIC -o lib/tools/bootstrap/external/.libs/ll_launch.o
--- lib/tools/bootstrap/external/slurm_query_node_list.lo ---
lib/tools/bootstrap/external/slurm_query_node_list.c:29:16: error: variable has incomplete type 'hostlist_t' (aka 'struct hostlist')
    hostlist_t hostlist;
               ^
/usr/local/include/slurm/slurm.h:1221:16: note: forward declaration of 'struct hostlist'
typedef struct hostlist hostlist_t;
               ^
1 error generated.

@thierry-FreeBSD
Copy link
Author

Same error with 4.2.0b1.

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant