Borderou de evaluare (job #2955029)
Utilizator | Data | 15 decembrie 2022 23:03:50 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'repartizare':
main.c:29:130: warning: control reaches end of non-void function [-Wreturn-type]
29 | printf("Pacientul %d a asteptat %d minute la doctorul %d, iar consultatia a durat %d minute.\n",p1->id,wait_f,p1->doctor,durata);}
| ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `__register_frame_info_bases':
(.text+0x1b49): undefined reference to `pthread_mutex_lock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `__register_frame_info':
(.text+0x1c03): undefined reference to `pthread_mutex_lock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `__register_frame_info_table_bases':
(.text+0x1cd8): undefined reference to `pthread_mutex_lock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `__register_frame_info_table':
(.text+0x1d70): undefined reference to `pthread_mutex_lock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `__register_frame_table':
(.text+0x1e1d): undefined reference to `pthread_mutex_lock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o):(.text+0x1e9e): more undefined references to `pthread_mutex_lock' follow
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `__deregister_frame_info_bases':
(.text+0x1eea): undefined reference to `pthread_mutex_unlock'
/usr/bin/ld: (.text+0x1f6d): undefined reference to `pthread_mutex_unlock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `_Unwind_Find_FDE':
(.text+0x2094): undefined reference to `pthread_mutex_lock'
/usr/bin/ld: (.text+0x21d3): undefined reference to `pthread_mutex_unlock'
/usr/bin/ld: (.text+0x2221): undefined reference to `pthread_mutex_unlock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `__register_frame_info_bases':
(.text+0x1b7c): undefined reference to `pthread_mutex_unlock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `__register_frame_info':
(.text+0x1c36): undefined reference to `pthread_mutex_unlock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `__register_frame_info_table_bases':
(.text+0x1d0b): undefined reference to `pthread_mutex_unlock'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/libgcc_eh.a(unwind-dw2-fde-dip.o):(.text+0x1da3): more undefined references to `pthread_mutex_unlock' follow
/usr/bin/ld: ./ccjS9bEg.o: in function `repartizare':
main.c:(.text+0x30): undefined reference to `pthread_mutex_lock'
/usr/bin/ld: main.c:(.text+0x98): undefined reference to `pthread_mutex_unlock'
/usr/bin/ld: ./ccjS9bEg.o: in function `main':
main.c:(.text.startup+0x67): undefined reference to `pthread_mutex_init'
/usr/bin/ld: main.c:(.text.startup+0x11b): undefined reference to `pthread_create'
/usr/bin/ld: main.c:(.text.startup+0x140): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !