Erreurs à la compilation de PadicoTM (non bloquantes pour la suite)
En compilant PM2 avec:
./pm2-build-packages ./pukabi+madmpi.conf --prefix=$HOME/dev/builds/pm2/ --purge
des erreurs en rouge qui fait peur apparaissent à la compilation de PadicoTM:
[...]
[CDEP] nm_strat_shm.d
[CDEP] newmad-shm.d
[INST] in include/: NetSelector.h
In file included from /home/philippe/dev/pm2/scripts/../PadicoTM/Services/Shm/nm_strat_shm.c:20:
/home/philippe/dev/builds/pm2/include/nm_private.h:36:4: error: #error "NMAD_BUILD flag not set while including nm_private.h. This header is not part of API and cannot be used outside of nmad."
# error "NMAD_BUILD flag not set while including nm_private.h. This header is not part of API and cannot be used outside of nmad."
^~~~~
In file included from /home/philippe/dev/builds/pm2/include/nm_private.h:39,
from /home/philippe/dev/pm2/scripts/../PadicoTM/Services/Shm/nm_strat_shm.c:20:
/home/philippe/dev/builds/pm2/include/nm_public.h:62:4: error: #error "nmad CFLAGS not defined; please compile with CFLAGS returned by 'pkg-config --cflags nmad'"
# error "nmad CFLAGS not defined; please compile with CFLAGS returned by 'pkg-config --cflags nmad'"
^~~~~
In file included from /home/philippe/dev/pm2/scripts/../PadicoTM/Services/Shm/newmad-shm.c:4:
/home/philippe/dev/builds/pm2/include/nm_private.h:36:4: error: #error "NMAD_BUILD flag not set while including nm_private.h. This header is not part of API and cannot be used outside of nmad."
# error "NMAD_BUILD flag not set while including nm_private.h. This header is not part of API and cannot be used outside of nmad."
^~~~~
In file included from /home/philippe/dev/builds/pm2/include/nm_private.h:39,
from /home/philippe/dev/pm2/scripts/../PadicoTM/Services/Shm/newmad-shm.c:4:
/home/philippe/dev/builds/pm2/include/nm_public.h:62:4: error: #error "nmad CFLAGS not defined; please compile with CFLAGS returned by 'pkg-config --cflags nmad'"
# error "nmad CFLAGS not defined; please compile with CFLAGS returned by 'pkg-config --cflags nmad'"
^~~~~
/home/philippe/dev/pm2/scripts/../PadicoTM/Services/Shm/nm_strat_shm.c:24:10: fatal error: shm.h: Aucun fichier ou dossier de ce type
#include "shm.h"
^~~~~~~
compilation terminated.
[INST] in etc/: traces-netselector.xml NetSelector.dtd
/home/philippe/dev/pm2/scripts/../PadicoTM/Services/Shm/newmad-shm.c:19:10: fatal error: shm.h: Aucun fichier ou dossier de ce type
#include "shm.h"
^~~~~~~
compilation terminated.
[INST] in lib/padico/: NetSelector
[MODULE] make 'modules' in: NetSelector-basic
[CDEP] ns-basic.d
[...]
Ce n'est pas bloquant pour le reste de la compilation de PM2 (et le driver shm
fonctionne !).