[reportlab-users] compile error

Leonardo Coelho leonardoscoelho at gmail.com
Tue Aug 30 09:20:55 EDT 2011


Hello,
I'm trying to compile the python-reportlab 2.5 using python 2.7.2 on
Mandriva. but keeps give me this:

gcc -pthread -fno-strict-aliasing -O2 -g -frecord-gcc-switches
-Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-fomit-frame-pointer -mtune=generic -march=i586 -fasynchronous-unwind-tables
-DNDEBUG -O2 -g -frecord-gcc-switches -Wstrict-aliasing=2 -pipe -Wformat
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -fomit-frame-pointer -mtune=generic -march=i586
-fasynchronous-unwind-tables -g -fPIC -I/usr/include/python2.7 -c
/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.c -o
build/temp.linux-i686-2.7/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.o
/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.c: In function ‘hex32’:
/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.c:491:2: warning:
format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type
‘long unsigned int’ [-Wformat]
gcc -pthread -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1
-Wl,--build-id -Wl,--enable-new-dtags
build/temp.linux-i686-2.7/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.o
-L/usr/lib -lpython2.7 -o build/lib.linux-i686-2.7/_rl_accel.so
build/temp.linux-i686-2.7/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.o:
In function `_fp_one':
/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.c:218: undefined
reference to `log10'
/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.c:218: undefined
reference to `log10'
/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.c:218: undefined
reference to `log10'
/root/reportlab-2.5/src/rl_addons/rl_accel/_rl_accel.c:218: undefined
reference to `log10'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Anyone can help me?

--
"First they ignore you, then they laugh at you, then they fight you, then
you win." - Mahatma Gandhi
Linux User #373408
GPGkey ID 8AEEAAEB -->> http://pgp.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20110830/6dbcef18/attachment.html>


More information about the reportlab-users mailing list