You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ling Kun (JIRA)" <ji...@apache.org> on 2013/03/05 14:23:12 UTC

[jira] [Updated] (HBASE-8005) DemoClient.cpp can not be built correctly

     [ https://issues.apache.org/jira/browse/HBASE-8005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ling Kun updated HBASE-8005:
----------------------------

    Status: Patch Available  (was: Open)

Adjust the -lthrift in the command line position can make the binary generated successfully.
                
> DemoClient.cpp   can not be built correctly
> -------------------------------------------
>
>                 Key: HBASE-8005
>                 URL: https://issues.apache.org/jira/browse/HBASE-8005
>             Project: HBase
>          Issue Type: Bug
>          Components: Thrift
>    Affects Versions: 0.94.5
>            Reporter: Ling Kun
>
> when compile the DemoClient.cpp within the latest HBase release package, it seems that this file is out of date(plenty of APIs need a new std::map<Text, Text> & attributes parameter ). And I have also tried to replace  the DemoClient.cpp with the latest trunk version. However, after some modification there are still link problems when compile the code( undefined reference to  `apache::thrift::transport::TSocket::TSocket(std::string, int)', I have passed the -lthrift parameter to gcc).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira