error: unknown type name ‘uint32_t’

69 views
Skip to first unread message

jose.lopez...@gmail.com

unread,
Apr 28, 2025, 11:52:45 AMApr 28
to basilisk-fr
Hello all,

Taking advantage of the Spanish power outage that has stopped all the processes, I have been updating the machines to the relatively recent stable version of Basilisk introduced by Stephane in February. I tried to recompile a parallel code after the upgrade and unfortunately I got a couple of bugs that I suspect is related to a mismatch of the versions between the libraries.

I do

% C99='mpicc -std=c99' qcc -Wall -O2 -D_MPI=1 mycode.c -o mycode_parallel  -lm

getting:

/usr/local/basilisk/src/common.h:557:3: error: unknown type name ‘uint32_t’
...
/usr/local/basilisk/src/common.h:569:9: error: unknown type name ‘uint8_t’

My version of gcc  abd open-mpi are:

%gcc -v
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)

%mpirun --version
mpirun (Open MPI) 4.1.2

I would appreciate if any of you can give me a tip to solve it.

Cheers

Pepe

Stephane Popinet

unread,
Apr 28, 2025, 12:52:01 PMApr 28
to basil...@googlegroups.com
Hi Pepe,

I have just pushed a patch which should fix the problem.

cheers,

Stephane

OpenPGP_0x78F22AD6304D74BE.asc
OpenPGP_signature.asc

jmlopez...@gmail.com

unread,
Apr 28, 2025, 1:38:15 PMApr 28
to basilisk-fr
As efficient as usual, Stephane... Thanks!
Reply all
Reply to author
Forward
0 new messages