Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: mugu on August 11, 2007, 04:10:40 pm

Title: Problem with Core Duo
Post by: mugu on August 11, 2007, 04:10:40 pm
I try to compile an Ogre proyect with a Core Duo but it give me an error "undefined reference to '__cpu_features_init'". I do the same in a P4 ant it works, what's the problem? is it CB or is my computer???
Title: Re: Problem with Core Duo
Post by: Ceniza on August 11, 2007, 05:04:53 pm
A quick grep returned crt1.o, crt2.o and libmingw32.a as files that have __cpu_features_init in them, so it must be a problem with your MinGW installation.

Try installing version 3.4.5 of GCC with the MinGW installer. If that doesn't work try Googling that specific error you're having.
Title: Re: Problem with Core Duo
Post by: Mononofu on November 25, 2007, 01:12:13 pm
Are you linking mingw32? (Maybe change the order of the libs you're linking, mingw32 should be the first)
Just a quick thought.