PHP Extension Compilation error

Source: Internet
Author: User
SQLITE3.CEXT\SQLITE3\SQLITE3.C: Warning C4244: "=": Conversion from "Sqlite3_int64" to "long", possibly losing data ext\sqlite3\sqlite3.c (511 ): Warning C4013: "sqlite3_key" undefined; assuming external return intext\sqlite3\sqlite3.c (533): Warning C4013: "sqlite3_rekey" undefined; assuming external return INTEXT\SQLITE3\SQLITE3.C (627): Warning C4244: "=": Transition from "Sqlite3_int64" to "long", possibly losing data sqlite3.cext\sqlite3\libsqlite\ SQLITE3.C (87981): Error C2065: "Sqlite3_key": undeclared identifier ext\sqlite3\libsqlite\sqlite3.c (87981): Error C2099: Initializer is not a constant ext\sqlite3\libsqlite\sqlite3.c (87982): Error C2065: "Sqlite3_rekey": undeclared identifier ext\sqlite3\libsqlite\ SQLITE3.C (87982): Error C2099: initializer is not constant Nmake:fatal error U1077: "" C:\Program Files\Microsoft Visual Studio 9.0\vc\bin \cl.exe "": Return Code "0x2" Stop.


Reply to discussion (solution)

Can someone help you ... It's still the problem.

Just get a compiled extension.

SQLITE3.CEXT\SQLITE3\SQLITE3.C: Warning C4244: "=": Conversion from "Sqlite3_int64" to "long", possibly losing data ext\sqlite3\sqlite3.c (511 ): Warning C4013: "sqlite3_key" undefined; assuming external return intext\sqlite3\sqlite3.c (533): Warning C4013: "sqlite3_rekey" undefined; assuming external return INTEXT\SQLITE3\SQLITE3.C (627): Warning C4244: "=": Transition from "Sqlite3_int64" to "long", possibly losing data sqlite3.cext\sqlite3\libsqlite\ SQLITE3.C (87981): Error C2065: "Sqlite3_key": undeclared identifier ext\sqlite3\libsqlite\sqlite3.c (87981): Error C2099: Initializer is not a constant ext\sqlite3\libsqlite\sqlite3.c (87982): Error C2065: "Sqlite3_rekey": undeclared identifier ext\sqlite3\libsqlite\ SQLITE3.C (87982): Error C2099: initializer is not constant Nmake:fatal error U1077: "" C:\Program Files\Microsoft Visual Studio 9.0\vc\bin \cl.exe "": Return Code "0x2" Stop.

is a version issue and the extension version is inconsistent with the compiled version of PHP.

is a version issue and the extension version is inconsistent with the compiled version of PHP.

I am in the source code of the PHP extension based on the modification of AH ... This is probably not a big possibility.

SQLITE3.CEXT\SQLITE3\SQLITE3.C: Warning C4244: "=": Conversion from "Sqlite3_int64" to "long", possibly losing data
You use a 32-bit compiler to compile 64-bit source code, it is natural to make mistakes

EXT\SQLITE3\SQLITE3.C (511): Warning C4013: "sqlite3_key" undefined; assuming external return
You don't have an embedded header file that defines Sqlite3_key.

You don't have an embedded header file that defines Sqlite3_key.
There are other identifiers that can be used, I've searched it all over again, I've declared it somewhere, or I've written it all as if it's a statement, and it's probably not too much.

You get the wrong information to the VC layout (Http://bbs.csdn.net/forums/VC) to ask, see what they say

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.