developercyrus / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
0 stars 0 forks source link

Compile error in Arch x64 #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compile in Arch x64 with glibc 2.15-7

/usr/bin/ld: mksquashfs.o: undefined reference to symbol 'log10@@GLIBC_2.2.5'
/usr/bin/ld: note: 'log10@@GLIBC_2.2.5' is defined in DSO /lib/libm.so.6 so try 
adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [mksquashfs] Error 1
make[3]: Leaving directory 
`/home/arch/Desktop/trunk/src/others/squashfs-3.3-grml-lzma/squashfs3.3/squashfs
-tools'
make[2]: *** [all] Error 2

Original issue reported on code.google.com by carbonjiao on 7 Mar 2012 at 2:06

GoogleCodeExporter commented 9 years ago
I added -lm to LDFLAGS in the Makefile, see if that fixes the problem.

Original comment by heffne...@gmail.com on 10 Mar 2012 at 7:43

GoogleCodeExporter commented 9 years ago
Oops, I just undid that accidentally while fixing issue 40 again.. sorry, 
readding.

Original comment by jeremy.collake@gmail.com on 10 Mar 2012 at 8:33

GoogleCodeExporter commented 9 years ago
Done. Sorry.

Original comment by jeremy.collake@gmail.com on 10 Mar 2012 at 8:34

GoogleCodeExporter commented 9 years ago

Original comment by jeremy.collake@gmail.com on 11 Jun 2013 at 8:20