php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #931 Test compile fails with Oracle 7.1 on AIX 3.2
Submitted: 1998-11-19 18:40 UTC Modified: 2000-05-15 17:16 UTC
From: tjoneslo at softstart dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.5 OS: AIX 3.2.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
45 - 40 = ?
Subscribe to this entry?

 
 [1998-11-19 18:40 UTC] tjoneslo at softstart dot com
./configure --with-oracle
make 
make test

##
Using gcc 2.7.2, Oracle 7.1.4, AIX 3.2.5

Problem is on line 4433 of configure:

    if test "`uname -s 2>/dev/null`" = "AIX"; then
      ORACLE_STLIBS="$ORACLE_STLIBS -bI:$ORACLE_HOME/lib/mili.exp"
    fi

the -b option has meaning to gcc, and not what you intended. It should read:

    if test "`uname -s 2>/dev/null`" = "AIX"; then
      ORACLE_STLIBS="$ORACLE_STLIBS -Xlinker -bI:$ORACLE_HOME/lib/mili.exp"
    fi

Hand editing the "-Xlinker" into the LIBS in Makefile also fixes the problem
Hand editing the "-Xlinker" into the LIBS1 in libphp3.module fixes the problem for apache builds

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 23:01:26 2024 UTC