--- Quote Start ---
originally posted by david_cai@Jul 6 2006, 10:56 AM
dear all,
my code need to call alt_busy_sleep(), but the compiler report the following error.
linking testcpp.elf...
obj/main.o(.gnu.linkonce.t._zn13jaidtestclass18testosdblockadjustev+0x18c): in function `jaidtestclass::testosdblockadjust()':
c:/altera/osd_final/jaidniososd/software/testcpp/testclass/testclass.hpp:352: undefined reference to `alt_busy_sleep(unsigned int)'
i have include the necessary header file in my code, # include "priv/alt_busy_sleep.h"
also i can find alt_busy_sleep.c in c:\altera\kits\nios2_51\components\altera_nios2\hal\src.
why the linker can't find alt_busy_sleep yet. evenly i copy alt_busy_sleep.c to project folder, but the error still exist...
anybody help...
thanks in advance http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/laugh.gif
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16681)
--- quote end ---
--- Quote End ---
Hi David_Cai!
I had this type of error when I had
q5.1 and
nios 5.0! Later I have installed Nios 5.1 and error had not occired.
Please give more specific information about your system
version of Q and Nios
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif