|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-06-08 08:33 UTC] hexes at mail dot ru
Description:
------------
In file included from /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-
build/cli/ext/sybase_ct/php_sybase_ct.h:63,
from /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-
build/cli/ext/sybase_ct/php_sybase_ct.c:30:
/opt/sybase/OCS-15_0/include/ctpublic.h:269: error: expected declaration
specifiers or ‘...’ before ‘SQLDA’
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-
build/cli/ext/sybase_ct/php_sybase_ct.c: In function ‘_client_message_handler’:
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-
build/cli/ext/sybase_ct/php_sybase_ct.c:391: warning: format ‘%d’ expects type
‘int’, but argument 5 has type ‘long int’
make: *** [ext/sybase_ct/php_sybase_ct.lo] Error 1
make: *** Waiting for unfinished jobs....
emake failed
I think that error can be in config.m4 (str 60):
elif test -f $SYBASE_CT_INCDIR/libsybct.so; then
$PHP_SYBASE_CT = '/opt/sybase/OCS-15_0'
$SYBASE_CT_INCDIR = $PHP_SYBASE_CT/include
But libraries are located in:
$SYBASE_CT_LIBDIR=$PHP_SYBASE_CT/lib
ls /opt/sybase/OCS-15_0/include/
bkpublic.h
cobpub.cbl
csconfig.h
cspublic.h
cstypes.h
ctpublic.h
mcconfig.h
mcpublic.h
mctypes.h
oscompat.h
oserror.h
ospublic.h
sqlca.h
sqlda.h
srverror.h
srv.h
sybdb.h
sybdbn.h
syberror.h
sybesql.c
sybfront.h
sybhesql.cbl
sybhesql.h
sybhstmt.h
syblogin.h
sybtesql.cbl
sybtesql.h
ls -1 /opt/sybase/OCS-15_0/lib/
libs.a
libsmapp.a
libsybblk.a
libsybblk_r.a
libsybblk_r.so
libsybblk.so
libsybcobct.a
libsybcobct_r.a
libsybcomn.a
libsybcomn_r.a
libsybcomn_r.so
libsybcomn.so
libsybcs.a
libsybcs_r.a
libsybcs_r.so
libsybcs.so
libsybct.a
libsybct_r.a
libsybct_r.so
libsybct.so
libsybdb.a
libsybdb.so
libsybdldap.so.15.0.0
libsybdldap.so.15.0.3
libsybfssl.so.15.0.0
libsybfssl.so.15.0.3
libsybintl.a
libsybintl_r.a
libsybintl_r.so
libsybintl.so
libsybskrb.so.15.0.0
libsybskrb.so.15.0.3
libsybtcl.a
libsybtcl_r.a
libsybtcl_r.so
libsybtcl.so
libsybunic.a
libsybunic.so
And also, there is no libs:
PHP_ADD_LIBRARY(cs,, SYBASE_CT_SHARED_LIBADD)
PHP_ADD_LIBRARY(ct,, SYBASE_CT_SHARED_LIBADD)
PHP_ADD_LIBRARY(comn,, SYBASE_CT_SHARED_LIBADD)
PHP_ADD_LIBRARY(intl,, SYBASE_CT_SHARED_LIBADD)
PatchesFile (last revision 2011-06-14 03:53 UTC by hexes at mail dot ru)Files (last revision 2011-06-14 03:52 UTC by hexes at mail dot ru) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 08:00:01 2025 UTC |
In file included from /home/tmp/portage/dev-lang/php-5.3.10/work/sapis- build/cli/ext/sybase_ct/php_sybase_ct.h:62:0, from /home/tmp/portage/dev-lang/php-5.3.10/work/sapis- build/cli/ext/sybase_ct/php_sybase_ct.c:29: /opt/sybase/OCS-15_0/include/ctpublic.h:269:63: error: expected declaration specifiers or ‘...’ before ‘SQLDA’ make: *** [ext/sybase_ct/php_sybase_ct.lo] Error 1 make: *** Waiting for unfinished jobs.... Anyone try to compile it?