Menu

#1 Can't compile extension

open
nobody
None
5
2002-08-09
2002-08-09
Anonymous
No

make[1]: Entering directory `/home/james_su/php_screw-
1.2'
/bin/sh /home/james_su/php_screw-1.2/libtool --
mode=compile gcc -I. -I/home/james_su/php_screw-1.2/ -
I/home/james_su/php_screw-1.2/main -
I/home/james_su/php_screw-1.2 -
I/usr/local/include/php -I/usr/local/include/php/main -
I/usr/local/include/php/Zend -
I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -prefer-
pic -c php_screw.c && touch php_screw.slo
gcc -I. -I/home/james_su/php_screw-1.2/ -
I/home/james_su/php_screw-1.2/main -
I/home/james_su/php_screw-1.2 -
I/usr/local/include/php -I/usr/local/include/php/main -
I/usr/local/include/php/Zend -
I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -c
php_screw.c -fPIC -DPIC -o php_screw.lo
php_screw.c: In function `pm9screw_fopen':
php_screw.c:85: warning: passing arg 2 of
`pm9screw_ext_fopen' discards qualifiers from pointer
target type
php_screw.c: In function `screw_zend_startup':
php_screw.c:90: `tsrm_ls' undeclared (first use in
this function)
php_screw.c:90: (Each undeclared identifier is
reported only once
php_screw.c:90: for each function it appears in.)
make[1]: *** [php_screw.slo] Error 1
make[1]: Leaving directory `/home/james_su/php_screw-
1.2'
make: *** [all-recursive] Error 1

Discussion

  • Nobody/Anonymous

    Logged In: NO

    php_screw.c: In function `pm9screw_fopen':
    php_screw.c:90: warning: passing arg 2 of
    `pm9screw_ext_fopen' discards qualifiers from pointer
    target type
    php_screw.c: In function `zm_startup_php_screw':
    php_screw.c:135: `zend_open' undeclared (first use in
    this function)
    php_screw.c:135: (Each undeclared identifier is
    reported only once
    php_screw.c: In function `zm_shutdown_php_screw':
    php_screw.c:135: `zend_open' undeclared (first use in
    this function)
    make: *** [php_screw.lo] Error 1

     
  • compucated

    compucated - 2011-12-05

    Replace “pm9screw_mycryptkey” with “pm9screw_myownkey” . This is the encryption key that will be used by Screw for encryption

    Replace the same “key” in php_screw.c
    sed 's/pm9screw_mycryptkey/ pm9screw_myownkey/g' php_screw.c > php_screw.c.new
    cat php_screw.c.new > php_screw.c

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.