[haiku-development] Re: Help regarding GSoC idea : Tracker add-on for a version control system

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Sun, 25 Mar 2018 18:25:49 +0200


I also inserted an extern symbol of `populate_menu()` to TrackerAddOn.h
<https://github.com/Hrily/haiku/blob/63ede39cc8b8149b906969666c0f1bc7ad80193c/headers/os/add-ons/tracker/TrackerAddOn.h#L15>

The link to sample addon which I'm trying to run is
https://github.com/Hrily/haiku_addon

Any help will be appreciated...



Did you install the modified TrackerAddOn.h so that it is used when you
compile the add-on? It may be simpler to just copy the prototype of
populate_menu to the file where you implement it (don't forget the extern
"C" in it).

You can check with readelf if the function is properly exported by your
addon (I commented on your draft proposal with the command to run)


Thank you

Regards
Hrishikesh Hiraskar



-- 
Adrien Destugues / PulkoMandy
http://pulkomandy.tk

Other related posts: