make fails
Closed this issue · 3 comments
georgd commented
I don’t know if I’m missing some dependency (couldn’t find a list of them) but make fails with the following message (I have no idea what it means):
CCLD kernagic
/usr/bin/ld: /tmp/cc2Kk0V6.o: undefined reference to symbol 'fmod@@GLIBC_2.2.5'
/usr/bin/ld: note: 'fmod@@GLIBC_2.2.5' is defined in DSO /usr/lib/libm.so.6 so try adding it to the linker command line
/usr/lib/libm.so.6: could not read symbols: Invalid operation
collect2: Fehler: ld gab 1 als Ende-Status zurück
make: *** [kernagic] Fehler 1
I’m on an up-to-date 64bit arch linux.
hodefoting commented
commit 3f899d2
Author: Øyvind Kolås pippin@gimp.org
Date: Sun Sep 22 23:06:13 2013 +0200
build: add -lm to LDFLAGS
probably fixes this.
georgd commented
Ok, I’m not sure if I’m doing things right. I cloned the repo, cd’d to it and ran make. I have to confess that I have no idea what your last comment means. make LDFLAGS=-lm
doesn’t work (and doesn’t make sense to me, but I my knowledge of such things is minimal).
georgd commented
I’m sorry for the last comment. Just pulled and make went through fine. Thanks!