[NSWI004] compiling the program from the quiz
Pavel Vigilev
p.vigilev at gmail.com
Thu Nov 19 02:25:36 CET 2020
Hi there. Do anyone have a problem with compiling the program from the
`before`-quiz? gcc on my machine and rotunda's machine complains:
$ gcc main.c/usr/bin/ld: /tmp/ccwFEzMI.o: in function `main':
main.c:(.text+0x84): undefined reference to `pthread_create'
/usr/bin/ld: main.c:(.text+0xb6): undefined reference to `pthread_create'
/usr/bin/ld: main.c:(.text+0xc7): undefined reference to `pthread_join'
/usr/bin/ld: main.c:(.text+0xd8): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
What is possible to do about it?
Regards
Pavel Vigilev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://d3s.mff.cuni.cz/pipermail/nswi004/attachments/20201119/cfa81308/attachment.htm>
More information about the NSWI004
mailing list