hi
I have a built library and i am linking that library to a executable. But when i try to build the executable i get the following error.
undefined reference to `hexagon_sim_read_cycles'
I have included the corresponding header file hexagon_sim_timer.h but yet it doesnot build and gives me the same error. Please help me out.
thanks
Hi ,
libhexagon.a library in tools has the this definitions. Please link this library.
Thanks & Regards,
Himateja
but there are many libhexagon.a in the hexagon_tools directory which one to link??
i have used the one in the gnu/hexagon/lib/v4 /libhexagon.a
it works but there are many other similar files in other directories are they the same library file or different.If yes can we link it to any of those similarly named files.
Thanks
Hi phalgunb,
The many libhexagon.a that are found are for different architecture(e.g., V4, V5). Choose the file in the particular architecture based on the ADSP image you are using.
Thanks & Regards,
Himateja