You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Raymond Dabu (JIRA)" <ji...@apache.org> on 2011/03/03 05:54:36 UTC

[jira] Commented: (THRIFT-1060) fb303 build error for cpp

    [ https://issues.apache.org/jira/browse/THRIFT-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001863#comment-13001863 ] 

Raymond Dabu commented on THRIFT-1060:
--------------------------------------

hi! how does this solve the issue above? i also encountered it while compiling fb303. does it need to be placed in some directory and run it? please help. thanks.

> fb303 build error for cpp 
> --------------------------
>
>                 Key: THRIFT-1060
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1060
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.6, 0.7
>            Reporter: Sudhir Jorwekar
>              Labels: 0.6, fb303, thrift
>         Attachments: commit-55acf75
>
>
> steps:
> ./bootstrap.sh
> ./configure
> make
> sudo make install
> cd contrib/fb303
> ./bootstrap.sh
> ./configure
> make
> Fails with error:
> gen-cpp/fb303_types.cpp:11: error: 'fb_status' is not a class or namespace
> gen-cpp/fb303_types.cpp:12: error: 'fb_status' is not a class or namespace
> gen-cpp/fb303_types.cpp:13: error: 'fb_status' is not a class or namespace
> gen-cpp/fb303_types.cpp:14: error: 'fb_status' is not a class or namespace
> gen-cpp/fb303_types.cpp:15: error: 'fb_status' is not a class or namespace
> gen-cpp/fb303_types.cpp:16: error: 'fb_status' is not a class or namespace
> make[3]: *** [fb303_types.o] Error 1
> make[3]: Leaving directory `/home/sudhir/workspace/scribe/thrift-apache/contrib/fb303/cpp'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/sudhir/workspace/scribe/thrift-apache/contrib/fb303/cpp'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sudhir/workspace/scribe/thrift-apache/contrib/fb303'
> make: *** [all] Error 2

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira