Forums - lib for remote_handle_open

3 posts / 0 new
Last post
lib for remote_handle_open
chuan_hsueh
Join Date: 30 May 17
Posts: 10
Posted: Fri, 2017-06-23 09:15

Hi,

I try to build a module in Android souce code environment  to link with Hexagon lib and I got the following error messages while try to use the remote_handle.

error: undefined reference to 'remote_handle_open'
 error: undefined reference to 'remote_handle_close'
 error: undefined reference to 'remote_handle_invoke'
 error: undefined reference to 'remote_handle_invoke'

Does anyone konw whick lib is needed for those functions?  I did include libadsprpc.so in the LOCAL_SRC_FILES.

Thanks,

Chuan

 

 

 

  • Up0
  • Down0
chuan_hsueh
Join Date: 30 May 17
Posts: 10
Posted: Thu, 2017-06-29 08:54

Got it working. It was libadsprpc.so, I didn't include the lib correctly for the AOSP platform.

  • Up0
  • Down0
c_zhet
Join Date: 31 Jul 17
Posts: 23
Posted: Sun, 2017-08-20 23:40

I think you should include libadsprpc.so in the LOCAL_LDLIBS rather than LOCAL_SRC_FILES and use -L to point to the directory which contains libadsprpc.so.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.