[Mageia-dev] undefined reference to `pow' even with -lm

2011-01-21 Thread philippe makowski
Hi all, if any one have a clue to solve my build problem the build is ok on my mdv with bm, but not on the mageia bs :( see : http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20110121084807.philippem.valstar.23877/log/botcmd.1295599743.jonund.log thanks

Re: [Mageia-dev] undefined reference to `pow' even with -lm

2011-01-21 Thread Funda Wang
I've committed a patch at mandriva's svn. You could grab it. The problem comes from two parts: 1. Since python 2.7.1 (especial in Mandriva), python-config will export the same LDFLAGS as how python was built. Which enforce every binary python module be linked with -lpython, so that it might be

Re: [Mageia-dev] undefined reference to `pow' even with -lm

2011-01-21 Thread Anssi Hannula
On 21.01.2011 15:32, philippe makowski wrote: Hi all, if any one have a clue to solve my build problem In the command line, -lm has to be *after* the file that needs it, like the other -lfoo entries are on the below log. the build is ok on my mdv with bm, but not on the mageia bs :( see

Re: [Mageia-dev] undefined reference to `pow' even with -lm

2011-01-21 Thread philippe makowski
2011/1/21 Funda Wang fundaw...@gmail.com: I've committed a patch at mandriva's svn. You could grab it. thanks I will also remove Requires: python-egenix-mx-base from the Mdv package too it is not needed