hzeller / flaschen-taschen

Noisebridge Flaschen Taschen display
GNU General Public License v3.0
195 stars 49 forks source link

Issue compiling #28

Closed crablab closed 7 years ago

crablab commented 7 years ago
`ft-thread.o: In function `ft::Mutex::WaitOnWithTimeout(pthread_cond_t*, int)':
ft-thread.cc:(.text+0x290): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
Makefile:76: recipe for target 'ft-server' failed
make: *** [ft-server] Error 1
`
hzeller commented 7 years ago

What is the Linux distribution you're compiling it on ? On older installations, you might need to add -lrt to the LDFLAGS+=-lpthread line in the Makefile.

crablab commented 7 years ago

Ubuntu 16.10 I'll try that

hzeller commented 7 years ago

I suspect that worked out ?

crablab commented 7 years ago

I think it did, thanks!