[x264-devel] cannot build x264: error on the binutils stuff

Jonas Kuepper Jonas.Kuepper at cinepostproduction.de
Sat Jun 18 11:28:04 CEST 2011


Alright, i made it happen...!! :)

in short: add -fgnu89-inline to the compiler flags and let go...

long story: i started fiddling with the assembler file (cpu.s) and simply removed the doubled declarations of stat64 etc. since they were all the same. That cleared the assembly stage.
But then i ran into to many more errors during the linking phase which stated that most of the standard symbols where already defined like "multiple definition of `__strcspn_c1'". 
And that list was very long... :( 

But that helped much more than i imagined, as i now could fire up google and i stumbled upon this: http://lifecs.likai.org/2009/06/multiple-definition-of-extern-inline.html which provided the solution.

So from my understanding i guess you were right that it is glibc related, since mine is not compatible with the c99 standard and you have to switch back to some sort of legacy mode, right?

So I'm happy now and can go on.
Have a nice weekend
Jonas


More information about the x264-devel mailing list