[PHP-DEV] Bug #10370 Updated: ceil/fabs/getmntest undefined symbol

2001-05-22 Thread kevinhsu

ID: 10370
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: *Install and Config
Operating system: SCO UnixWare 7.1.1
PHP Version: 4.0.4pl1
Description: ceil/fabs/getmntest undefined symbol

thx Paul Gardiner's help.
I use this steps to configure PHP4.0.4pl1 in UnixWare 711
system.

1.make sure we use gnu make/binutils/bison 1.28
2.configure Apache
3.set variables:
INFORMIXDIR=/usr/informix
INFORMIXSERVER=ids731
LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:$INFORMIXDIR/incl/esql

IFX_LIBS=-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql
IFX_INCDIR=$INFORMIXDIR/incl/esql
IFX_LIBDIR=-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql

**ps. If I don't set this, the configure will guess
the wrong information for IFX_LIBS. That's why we can't
make it.

4.configure PHP with informix support
./configure --with-apache=../apache_1.3.19 --without-mysql 
--with-informix=/usr/informix --prefix=/usr/local/php

5.make / make install PHP
6.change back to Apache
7.set 2 variables
IFX_LIBS=-lifsql -lifasf -lifgen -lifos -lifgls \
-lcrypt_i /usr/ccs/lib/libgen.a -lsocket -lnsl -lm \
-lifglx -lc /usr/informix/lib/esql/checkapi.o
LIBS=$IFX_LIBS

8.configure apache
./configure --activate-module=src/modules/php4/libphp4.a

9. make / make install apache


Previous Comments:
---

[2001-04-17 23:47:19] [EMAIL PROTECTED]
oops, I forget to tell you my configure parameters

That is :

configure --with-informix=/usr/informix --with-apxs=/usr/local/apache/bin/apxs 

Sorry about that

---

[2001-04-17 23:45:40] [EMAIL PROTECTED]
Hi all,

I am using PHP4.4pl1 on UnixWare 7.
After the configure finished, it told me to check
debug.log. I found the error messages :
=
cc -o conftest -g  -DUW=700 -DUSE_HSREGEX -DUSE_EXPAT -I/usr/informix/incl/esql
-DSUPPORT_UTF8  -L/usr/ucblib -L/usr/ucblib -L/usr/informix/lib -L/usr/informix/
lib -L/usr/informix/lib/esql -L/usr/informix/lib/esql  -L/pub/php4-200104171945/
ext/informix -L/pub/php4-200104171945/ext/informix conftest.c -lm -ldl -lcrypt -
lsocket  -lresolv -lifsql -lifasf -lifgen -lifos -lifgls -lsocket -lnetstub -ldl
 -lelf -lphp_ifx -lifglx 15
Undefined   first referenced
 symbol in file
ceil/usr/informix/lib/esql/libifsql.so
fabs/usr/informix/lib/esql/libifgen.so
getmntent   /usr/informix/lib/esql/libifos.so
UX:ld: ERROR: conftest: fatal error: Symbol referencing errors. No output written to 
conftest
==

I don't know if any of you have encounterd the same
problem as mine?
Thanks
Regards,
Kevin

---


Full Bug description available at: http://bugs.php.net/?id=10370


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10370 Updated: ceil/fabs/getmntest undefined symbol

2001-05-22 Thread sniper

ID: 10370
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: *Install and Config
Operating system: 
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

Submitted twice. (only one report per bug)



Previous Comments:
---

[2001-05-22 10:24:50] [EMAIL PROTECTED]
thx Paul Gardiner's help.
I use this steps to configure PHP4.0.4pl1 in UnixWare 711
system.

1.make sure we use gnu make/binutils/bison 1.28
2.configure Apache
3.set variables:
INFORMIXDIR=/usr/informix
INFORMIXSERVER=ids731
LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:$INFORMIXDIR/incl/esql

IFX_LIBS=-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql
IFX_INCDIR=$INFORMIXDIR/incl/esql
IFX_LIBDIR=-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql

**ps. If I don't set this, the configure will guess
the wrong information for IFX_LIBS. That's why we can't
make it.

4.configure PHP with informix support
./configure --with-apache=../apache_1.3.19 --without-mysql 
--with-informix=/usr/informix --prefix=/usr/local/php

5.make / make install PHP
6.change back to Apache
7.set 2 variables
IFX_LIBS=-lifsql -lifasf -lifgen -lifos -lifgls 
-lcrypt_i /usr/ccs/lib/libgen.a -lsocket -lnsl -lm 
-lifglx -lc /usr/informix/lib/esql/checkapi.o
LIBS=$IFX_LIBS

8.configure apache
./configure --activate-module=src/modules/php4/libphp4.a

9. make / make install apache


---

[2001-04-17 23:47:19] [EMAIL PROTECTED]
oops, I forget to tell you my configure parameters

That is :

configure --with-informix=/usr/informix --with-apxs=/usr/local/apache/bin/apxs 

Sorry about that

---

[2001-04-17 23:45:40] [EMAIL PROTECTED]
Hi all,

I am using PHP4.4pl1 on UnixWare 7.
After the configure finished, it told me to check
debug.log. I found the error messages :
=
cc -o conftest -g  -DUW=700 -DUSE_HSREGEX -DUSE_EXPAT -I/usr/informix/incl/esql
-DSUPPORT_UTF8  -L/usr/ucblib -L/usr/ucblib -L/usr/informix/lib -L/usr/informix/
lib -L/usr/informix/lib/esql -L/usr/informix/lib/esql  -L/pub/php4-200104171945/
ext/informix -L/pub/php4-200104171945/ext/informix conftest.c -lm -ldl -lcrypt -
lsocket  -lresolv -lifsql -lifasf -lifgen -lifos -lifgls -lsocket -lnetstub -ldl
 -lelf -lphp_ifx -lifglx 15
Undefined   first referenced
 symbol in file
ceil/usr/informix/lib/esql/libifsql.so
fabs/usr/informix/lib/esql/libifgen.so
getmntent   /usr/informix/lib/esql/libifos.so
UX:ld: ERROR: conftest: fatal error: Symbol referencing errors. No output written to 
conftest
==

I don't know if any of you have encounterd the same
problem as mine?
Thanks
Regards,
Kevin

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10370edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]