×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    9

    Exclamation How can I make the sis file for mod_php ?

    Dear jhnwkmn.

    Thank you for your help for compile PAMP 1.0.2.

    I have compiled PAMP 1.0.2 using RVCT.
    But I have a problem in making sis for mod_php.so.

    I have added some APIs (for my customized functions) to PHP library and it was compiled to mod_php.so.
    I cannot make the sis file for mod_php.

    what is the problem about it?
    Please help me.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    457

    Re: How can I make the sis file for mod_php ?

    Quote Originally Posted by muluni View Post
    I have added some APIs (for my customized functions) to PHP library and it was compiled to mod_php.so.
    I cannot make the sis file for mod_php.

    what is the problem about it?
    In what way does the creation of the sis fail?

    Johan

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    9

    Re: How can I make the sis file for mod_php ?

    I have resolved this problem byself.

    It is because that the capability of my appliatoin is not same to the one of the mod_php library.
    So, I modified the capability of my apppliation.

    But, another problem yet exists.
    I think mysql is very heavy on the Symbian OS.
    So, I want to use sqlite , instead of mysql.
    I already saw your article on the compiling of "PAMP + Sqlite" for RVCT (http://discussion.forum.nokia.com/fo...d.php?t=156786).

    When compile the PAMP + SQLite, the follwing error occures.
    "\workspace\SQLiteS60\SQLite60\src\loadext.cpp", line 123: Error: #144: a value of type "int (*)(sqlite3_stmt *, int, const void *, int, void (*)(void *) C) C" cannot be used to initialize an entity of type "int (*)(sqlite3_stmt *, int, const void *, int, void (*)(void *))"
    sqlite3_bind_blob,
    ^
    "\workspace\SQLiteS60\SQLite60\src\loadext.cpp", line 131: Error: #144: a value of type "int (*)(sqlite3_stmt *, int, const char *, int, void (*)(void *) C) C" cannot be used to initialize an entity of type "int (*)(sqlite3_stmt *, int, const char *, int, void (*)(void *))"
    sqlite3_bind_text,
    ^
    "\workspace\SQLiteS60\SQLite60\src\loadext.cpp", line 132: Error: #144: a value of type "int (*)(sqlite3_stmt *, int, const void *, int, void (*)(void *) C) C" cannot be used to initialize an entity of type "int (*)(sqlite3_stmt *, int, const void *, int, void (*)(void *))"
    sqlite3_bind_text16,
    ^
    "\workspace\SQLiteS60\SQLite60\src\loadext.cpp", line 134: Error: #144: a value of type "int (*)(sqlite3 *, int (*)(void *, int) C, void *) C" cannot be used to initialize an entity of type "int (*)(sqlite3 *, int (*)(void *, int), void *)"
    sqlite3_busy_handler,
    ^
    "\workspace\SQLiteS60\SQLite60\src\loadext.cpp", line 138: Error: #144: a value of type "int (*)(sqlite3 *, void *, void (*)(void *, sqlite3 *, int, const char *) C) C" cannot be used to initialize an entity of type "int (*)(sqlite3 *, void *, void (*)(void *, sqlite3 *, int, const char *))"
    sqlite3_collation_needed,
    ^
    "\workspace\SQLiteS60\SQLite60\src\loadext.cpp", line 139: Error: #144: a value of type "int (*)(sqlite3 *, void *, void (*)(void *, sqlite3 *, int, const void *) C) C" cannot be used to initialize an entity of type "int (*)(sqlite3 *, void *, void (*)(void *, sqlite3 *, int, const void *))"
    sqlite3_collation_needed16,
    ^
    "\workspace\SQLiteS60\SQLite60\src\loadext.cpp", line 161: Error: #144: a value of type "void *(*)(sqlite3 *, int (*)(void *) C, void *) C" cannot be used to initialize an entity of type "void *(*)(sqlite3 *, int (*)(void *), void *)"
    sqlite3_commit_hook,

    How can I resolve this problem?

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    457

    Re: How can I make the sis file for mod_php ?

    Quote Originally Posted by muluni View Post
    ...
    But, another problem yet exists.
    ...
    When compile the PAMP + SQLite, the follwing error occures.
    "\workspace\SQLiteS60\SQLite60\src\loadext.cpp", line 123: Error: #144: a value of type "int (*)(sqlite3_stmt *, int, const void *, int, void (*)(void *) C) C" cannot be used to initialize an entity of type "int (*)(sqlite3_stmt *, int, const void *, int, void (*)(void *))"
    sqlite3_bind_blob,
    ^
    ...
    How can I resolve this problem?
    This is just a guess.

    Except for the strange "C":s, the prototypes are identical, so I guess that first function is declared as having C linkage and the second as not (implicitly C++). So, remove that conflict.

    Johan

Similar Threads

  1. How to make one sis file install once...
    By santu.paul@gmail.com in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 5
    Last Post: 2009-01-02, 11:56
  2. Problem with pyobfuscate
    By JOM in forum Symbian
    Replies: 3
    Last Post: 2008-06-20, 22:47
  3. Replies: 5
    Last Post: 2008-02-14, 11:54
  4. Replies: 6
    Last Post: 2007-03-01, 18:15
  5. Compilation series 60 3rd edition
    By asmobease in forum Symbian Tools & SDKs
    Replies: 32
    Last Post: 2006-09-13, 09:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×