GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 16-May-2009, 11:08
AwesDess AwesDess is offline
New Member
 
Join Date: May 2009
Posts: 10
AwesDess is on a distinguished road

[Linker error] undefined reference to `__cpu_features_init'


Every time a try to run a program with dev-c++ I get these three error lines:
-----------------------------
[Linker error] undefined reference to `__cpu_features_init'
------------------------------------------
ld returned 1 exit status
------------------------------------
C:\Dev-Cpp\Starting Out\C++\01\Makefile.win [Build Error] [Lesson01.exe] Error 1
------------------------------


Did I delete something important?
  #2  
Old 16-May-2009, 11:36
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,373
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all

Re: Wierd Error


Remove and reinstall the compiler and try again.
__________________

The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
  #3  
Old 16-May-2009, 18:16
AwesDess AwesDess is offline
New Member
 
Join Date: May 2009
Posts: 10
AwesDess is on a distinguished road

Re: [Linker error] undefined reference to `__cpu_features_init'


Still doesn't work...
  #4  
Old 16-May-2009, 19:14
TurboPT's Avatar
TurboPT TurboPT is offline
Senior Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 1,232
TurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the rough

Re: [Linker error] undefined reference to `__cpu_features_init'


Have you seen this?
__________________
Use the force...read the source!!
WYCIWYG -- what you code is what you get!
  #5  
Old 16-May-2009, 21:53
Kimmo Kimmo is offline
Regular Member
 
Join Date: Mar 2007
Location: Finland
Posts: 339
Kimmo is a jewel in the roughKimmo is a jewel in the roughKimmo is a jewel in the rough

Re: [Linker error] undefined reference to `__cpu_features_init'


You could also try not to put any spaces in the paths or filenames. At least I think it used to have issues with spaces.
  #6  
Old 16-May-2009, 22:06
AwesDess AwesDess is offline
New Member
 
Join Date: May 2009
Posts: 10
AwesDess is on a distinguished road

Re: [Linker error] undefined reference to `__cpu_features_init'


Quote:
Originally Posted by TurboPT
Have you seen http://www.gamedev.net/community/forums/topic.asp?topic_id=456599?


Thanks Turbo, I hadn't seen that.


I deleted all my files and reinstalled all my APIs and it works again. [At least C++ does, SDL doesn't run, unfortunately. That's another painful two weeks of late nights right there]
 
 

Recent GIDBlogVista ?Widgets? on Windows XP by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two-Tier data dissemination code installation problem nidhibansal1984 Computer Software Forum - Linux 6 16-Sep-2007 10:13
Linked Lists advice request promsan C Programming Language 74 23-May-2007 08:29
Major newbie problem cynack MS Visual C++ / MFC Forum 1 08-Apr-2007 11:25
Winsock error when compiling FLTK 2.0 Projects mauriciorossi FLTK Forum 3 16-Aug-2005 10:18
Help with syntax errors PeteGallo C Programming Language 7 08-Aug-2005 20:30

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:35.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.