I trying to compile php with sybase to gain connectivity to
mssql on another machine. The machine that has the existing
php on it is a RedHat 6.1 box and the SQL server that I'm
trying to connect to is a SQL 7.0 Nt machine. I have done everything
exactly the way the article explained it.
I can do all except compile (make) the client that allows
me to connect to SQL 7.0 . The error looks like this I compile half
way and get this message:
=======================================================================
# make
gcc -g -O2 -O2 -I. -I. -I/opt/sybase/include -c internal_functions.c -o internal_functions.o
In file included from internal_functions.c:64:
functions/php3_sybase-ct.h:99: parse error before `CS_CONNECTION'
functions/php3_sybase-ct.h:99: warning: no semicolon at end of struct or union
functions/php3_sybase-ct.h:100: warning: data definition has no type or storage class
functions/php3_sybase-ct.h:102: parse error before `}'
functions/php3_sybase-ct.h:102: warning: data definition has no type or storage class
functions/php3_sybase-ct.h:109: parse error before `CS_INT'
functions/php3_sybase-ct.h:109: warning: no semicolon at end of struct or union
functions/php3_sybase-ct.h:110: warning: data definition has no type or storage class
functions/php3_sybase-ct.h:114: parse error before `sybct_field'
functions/php3_sybase-ct.h:114: warning: no semicolon at end of struct or union
functions/php3_sybase-ct.h:115: warning: data definition has no type or storage class
functions/php3_sybase-ct.h:118: parse error before `}'
functions/php3_sybase-ct.h:118: warning: data definition has no type or storage class
make: *** [internal_functions.o] Error 1
=======================================================================
Is there any assistance you can give me with this.
I would appreciate it.
Thank you for your time.
this is probably the last time I will be posting this messag.
mssql on another machine. The machine that has the existing
php on it is a RedHat 6.1 box and the SQL server that I'm
trying to connect to is a SQL 7.0 Nt machine. I have done everything
exactly the way the article explained it.
I can do all except compile (make) the client that allows
me to connect to SQL 7.0 . The error looks like this I compile half
way and get this message:
=======================================================================
# make
gcc -g -O2 -O2 -I. -I. -I/opt/sybase/include -c internal_functions.c -o internal_functions.o
In file included from internal_functions.c:64:
functions/php3_sybase-ct.h:99: parse error before `CS_CONNECTION'
functions/php3_sybase-ct.h:99: warning: no semicolon at end of struct or union
functions/php3_sybase-ct.h:100: warning: data definition has no type or storage class
functions/php3_sybase-ct.h:102: parse error before `}'
functions/php3_sybase-ct.h:102: warning: data definition has no type or storage class
functions/php3_sybase-ct.h:109: parse error before `CS_INT'
functions/php3_sybase-ct.h:109: warning: no semicolon at end of struct or union
functions/php3_sybase-ct.h:110: warning: data definition has no type or storage class
functions/php3_sybase-ct.h:114: parse error before `sybct_field'
functions/php3_sybase-ct.h:114: warning: no semicolon at end of struct or union
functions/php3_sybase-ct.h:115: warning: data definition has no type or storage class
functions/php3_sybase-ct.h:118: parse error before `}'
functions/php3_sybase-ct.h:118: warning: data definition has no type or storage class
make: *** [internal_functions.o] Error 1
=======================================================================
Is there any assistance you can give me with this.
I would appreciate it.
Thank you for your time.
this is probably the last time I will be posting this messag.