El 26/01/11 17:56, Robert Schweikert escribió:
The offending source line is:
return (double)age*log(1+asize);
Makes all sense.. se the line where it fails cc -o redis-server -std=c99 -pedantic -O2 -Wall -W -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -lm -pthread -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -rdynamic -ggdb adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o redis.o: In function `computeObjectSwappability': /usr/src/packages/BUILD/redis-2.0.4/redis.c:9293: undefined reference to `log' Note, -lm MUST be AFTER object files, not before. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org