Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile in FC12 #44

Closed
boydjd opened this issue Feb 24, 2010 · 2 comments
Closed

Unable to compile in FC12 #44

boydjd opened this issue Feb 24, 2010 · 2 comments

Comments

@boydjd
Copy link

boydjd commented Feb 24, 2010

I've hit an impasse ...

/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:340: error: ISO C++ forbids declaration of ‘LHASH’ with no type
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:340: error: expected ‘;’ before ‘’ token
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:341: error: ISO C++ forbids declaration of ‘LHASH’ with no type
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:341: error: expected ‘;’ before ‘
’ token
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In member function ‘bool HPHP::php_x509_request::generatePrivateKey()’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:407: error: ‘req_config’ was not declared in this scope
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘bool HPHP::add_oid_section(HPHP::php_x509_request_)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:527: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:532: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: At global scope:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:550: error: ‘LHASH’ has not been declared
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘bool HPHP::php_openssl_config_check_syntax(const char_, const char_, const char_, int_)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:553: error: cannot convert ‘int_’ to ‘lhash_st_CONF_VALUE_’ for argument ‘2’ to ‘void X509V3_set_conf_lhash(X509V3_CTX_, lhash_st_CONF_VALUE_)’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:554: error: cannot convert ‘int_’ to ‘lhash_st_CONF_VALUE_’ for argument ‘1’ to ‘int X509V3_EXT_add_conf(lhash_st_CONF_VALUE_, X509V3_CTX_, char_, X509_)’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘bool HPHP::php_openssl_parse_config(HPHP::php_x509_request_, const HPHP::Array&, std::vector<HPHP::String, std::allocatorHPHP::String >&)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:568: error: ‘class HPHP::php_x509_request’ has no member named ‘global_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:569: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:570: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:575: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:589: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:595: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:601: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:607: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:617: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:620: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:631: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:644: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:649: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:658: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘void HPHP::php_openssl_dispose_config(HPHP::php_x509_request_)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:666: error: ‘class HPHP::php_x509_request’ has no member named ‘global_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:667: error: ‘class HPHP::php_x509_request’ has no member named ‘global_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:668: error: ‘class HPHP::php_x509_request’ has no member named ‘global_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:670: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:671: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:672: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘bool HPHP::php_openssl_make_REQ(HPHP::php_x509_request_, X509_REQ_, const HPHP::Array&, const HPHP::Array&)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:804: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:808: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:811: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:815: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘HPHP::Variant HPHP::f_openssl_csr_new(const HPHP::Array&, HPHP::Variant, const HPHP::Variant&, const HPHP::Variant&)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:995: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:999: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp: In function ‘HPHP::Variant HPHP::f_openssl_csr_sign(const HPHP::Variant&, const HPHP::Variant&, const HPHP::Variant&, int, const HPHP::Variant&, int)’:
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:1111: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
/home/jdb/src/hiphop-php/src/cpp/ext/ext_openssl.cpp:1112: error: ‘class HPHP::php_x509_request’ has no member named ‘req_config’
make[2]: *_* [src/CMakeFiles/hphp_runtime_static.dir/cpp/ext/ext_openssl.cpp.o] Error 1

Any tips? Running the following:

cmake version 2.6-patch 4
gcc (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)
flex 2.5.35
bison (GNU Bison) 2.4.1
re2c 0.13.5
Boost 1.41
OpenSSL 1.0.0-fips-beta5 20 Jan 2010
tbb 2.2-1.20090809.fc13.x86_64
curl 7.20.0 (x86_64-unknown-linux-gnu) libcurl/7.20.0 NSS/3.12.5.0 zlib/1.2.3 c-ares/1.7.0 libidn/1.16 libssh2/1.2.2
oniguruma-devel-5.9.2-1.fc12.x86_64
libmcrypt-devel-2.5.8-9.fc12.x86_64
libicu-devel-4.2.1-7.fc12.x86_64
libevent-1.4.13-1

@metagoto
Copy link
Contributor

@scottmac
Copy link
Contributor

scottmac commented Mar 4, 2010

Fixed in 4d0c313

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants