php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2632 Compile-Error with ODBC/Adabas
Submitted: 1999-10-28 11:43 UTC Modified: 1999-12-07 13:18 UTC
From: herter at ronet dot de Assigned: kara (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (28/10/1999) OS: RedHat 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: herter at ronet dot de
New email:
PHP Version: OS:

 

 [1999-10-28 11:43 UTC] herter at ronet dot de
./configure --with-adabas

results in a compile-Error:

/opt/adabas/incl/WINDOWS.H:152: warning: `TRUE' redefined
/usr/include/apache/ap_mm.h:70: warning: this is the location of the previous definition
php_odbc.c: In function `_free_odbc_result':
php_odbc.c:154: warning: passing arg 1 of `SQLFreeStmt' makes pointer from integer without a cast
php_odbc.c: In function `_close_odbc_conn':
php_odbc.c:172: warning: passing arg 1 of `SQLDisconnect' makes pointer from integer without a cast

With many more Warnings following

After compiling the Error:
/bin/sh ./libtool --silent --mode=link gcc  -g -O2  -O2 -L/usr/lib -o libphp4.la -rpath /usr/src/php-CVS/php4/libs -avoid-version -L/usr/lib -R /usr/lib/pgsql  main.lo internal_functions.lo snprintf.lo php3_sprintf.lo configuration-parser.lo configuration-scanner.lo request_info.lo safe_mode.lo fopen-wrappers.lo php3_realpath.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo libzend/libzend.la          sapi/apache/libphpsapi_apache.la                regex/libregex.la               ext/apache/libphpext_apache.la ext/db/libphpext_db.la ext/dba/libphpext_dba.la ext/dbase/libphpext_dbase.la ext/gettext/libphpext_gettext.la ext/imap/libphpext_imap.la ext/ldap/libphpext_ldap.la ext/odbc/libphpext_odbc.la ext/pcre/libphpext_pcre.la ext/pdf/libphpext_pdf.la ext/pgsql/libphpext_pgsql.la ext/session/libphpext_session.la ext/standard/libphpext_standard.la ext/sysvsem/libphpext_sysvsem.la ext/sysvshm/libphpext_sysvshm.la ext/zlib/libphpext_zlib.la                  -ldl -lm  -lresolv  -lnsl -lcrypt -lgdbm -lgdbm -L/usr/lib  -lc-client -lldap -llber   -L/opt/adabas/lib /opt/adabas/lib/odbclib.a -lsqlrte -lsqlptc    -L/usr/lib -ljpeg -L/usr/lib -ltiff -L/usr/lib -lpdf -L/usr/lib/pgsql -lpq -lpam -lz 
libtool: link: cannot build libtool library `libphp4.la' from non-libtool objects: /opt/adabas/lib/odbclib.a
make[2]: *** [libphp4.la] Error 1
make[2]: Leaving directory `/usr/src/php-CVS/php4'


Using Adabas 11.0


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-28 11:37 UTC] kara at cvs dot php dot net
This is due to Adabas' braindamaged naming of odbclib.a
Workaround would be to rename odbclib.a to something like
lib*.a and change the Makefile accordingly
 [1999-12-07 13:18 UTC] kara at cvs dot php dot net
Fixed in cvs
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 20:00:02 2026 UTC