Hi,
i have got a problem ti get php3 & php4 run with the Adabas D 10 "unlimited users edition". It is definitly the Adabas-Support which makes trouble, everything went ok if i not use Adabas. Every time i compile php3 i get this erro-msgs:
/usr/local/adabas/lib/libsqlrte.a(ven02c.o): warning: definition of sql01_init_time' overriding common
/usr/local/adabas/lib/libsqlrte.a(ven01c.o): warning: common is here
/usr/local/adabas/lib/libsqlrte.a(ven03c.o): warning: definition ofsql01_init_com' overriding common
/usr/local/adabas/lib/libsqlrte.a(ven01c.o): warning: common is here
/usr/local/adabas/lib/libsqlrte.a(ven03c.o): warning: definition of sql01_finish_com' overriding common
/usr/local/adabas/lib/libsqlrte.a(ven01c.o): warning: common is here
/usr/local/adabas/lib/libsqlrte.a(ven06c.o): warning: multiple common ofsql01_finish_file'
/usr/local/adabas/lib/libsqlrte.a(ven01c.o): warning: previous common is here
And if i try to start Apache i get this:
Cannot load /usr/local/apachessl/libexec/libphp3.so into server: /usr/local/apachessl/libexec/libphp3.so: undefined symbol: _xstat
/usr/local/apachessl/bin/httpsdctl start: httpd could not be started
My ./configuration [php3] is like this:
/configure --with-apxs=/usr/local/apachessl/bin/apxs \
--enable-versioning \
--without-gd \
--with-mysql=/usr/local/mysql \
--with-msql=/usr/local/msql \
--with-adabas=/usr/local/adabas \
--enable-track-vars \
--enable-force-cgi-redirect \
--enable-discard-path \
--disable-static \
--enable-shared \
--enable-ftp \
--enable-calender \
--disable-unified-odbc
And if i try php4, i get this error-msgs:
make[3]: Entering directory /usr/src/php-4.0.1RC2/ext/odbc'
/bin/sh /usr/src/php-4.0.1RC2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/src/php-4.0.1RC2/ext/odbc -I/usr/src/php-4.0.1RC2 -I/usr/src/php-4.0.1RC2/main -I/usr/local/apachessl/include -I/usr/src/php-4.0.1RC2/Zend -I/usr/src/php-4.0.1RC2 -I/usr/local/msql/include -I/usr/local/mysql/include/mysql -I/usr/local/adabas/incl -I/usr/src/php-4.0.1RC2/ext/xml/expat/xmltok -I/usr/src/php-4.0.1RC2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c php_odbc.c
php_odbc.c: In functionodbc_column_lengths':
php_odbc.c:606: SQLINTEGER' undeclared (first use in this function)
php_odbc.c:606: (Each undeclared identifier is reported only once
php_odbc.c:606: for each function it appears in.)
php_odbc.c:606: parse error beforelen'
php_odbc.c:633: SQLUSMALLINT' undeclared (first use in this function)
php_odbc.c:634:len' undeclared (first use in this function)
make[3]: [php_odbc.lo] Error 1
make[3]: Leaving directory /usr/src/php-4.0.1RC2/ext/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory/usr/src/php-4.0.1RC2/ext/odbc'
make[1]: [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.1RC2/ext'
make: *** [all-recursive] Error 1
For php4 my ./configure looks like this:
./configure --with-apxs=/usr/local/apachessl/bin/apxs \
--enable-force-cgi-redirect \
--enable-magic-quotes \
--enable-calender \
--enable-ftp \
--with-mysql=/usr/local/mysql \
--with-msql=/usr/local/msql \
--with-adabas=/usr/local/adabas \
--enable-trans-sid \
--enable-versioning \
--enable-track-vars \
--enable-shared \
--disable-static \
--disable-unified-odbc \
--without-gd
I hope someone has solved this problem 🙂
cYa Andreas