Cannot compile on ubuntu 18.04
Bug #1800596 reported by
Marco Merlin
This bug report is a duplicate of:
Bug #1079218: Requires pthread linker but is not present in Makefile [w/ fix] .
Edit
Remove
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ttyMIDI |
New
|
Undecided
|
Jari Suominen |
Bug Description
marco@Latitude-
gcc src/ttymidi.c -o ttymidi -lasound
src/ttymidi.
main(int argc, char** argv)
^~~~
/usr/bin/ld: /tmp/ccvk3X75.o: undefined reference to symbol 'pthread_
//lib/x86_
collect2: error: ld returned 1 exit status
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 1
To post a comment you must log in.
It shoult be:
gcc src/ttymidi.c -o ttymidi -lasound -pthreat