• # man shm_open

    Posté par . En réponse au message shm_open() référence indifinie !!!. Évalué à 5.

    NOTES
    These functions are provided in glibc 2.2 and later. Programs using these functions must specify the -lrt flag to cc in order to link against the required ("realtime") library.

    Utilise la commande suivante et ça devrait compiler :
    gcc -o shmsem -g -lm -lrt shmsem8.c