View previous topic :: View next topic |
Author |
Message |
Vann Guru
Joined: 04 Aug 2002 Posts: 357
|
Posted: Fri Nov 22, 2002 3:18 pm Post subject: Emerging PHP 4.2.3 |
|
|
When I emerge php 4.2.3 I get this error:
gcc -I. -I/var/tmp/portage/php-4.2.3/work/php-4.2.3/ext/dba -I/var/tmp/portage/php-4.2.3/work/php-4.2.3/main -I/var/tmp/portage/php-4.2.3/work/php-4.2.3 -I/var/tmp/portage/php-4.2.3/work/php-4.2.3/Zend -I/usr/include/libxml2 -I/usr/include/mysql -I/var/tmp/portage/php-4.2.3/work/php-4.2.3/ext/xml/expat -I/var/tmp/portage/php-4.2.3/work/php-4.2.3/TSRM -march=athlon-xp -O3 -mmmx -msse -m3dnow -pipe -c dba_db3.c && touch dba_db3.lo
dba_db3.c: In function `dba_open_db3':
dba_db3.c:77: warning: passing arg 2 of pointer to function from incompatible pointer type
dba_db3.c:77: incompatible type for argument 4 of indirect function call
dba_db3.c:77: too few arguments to function
make[3]: *** [dba_db3.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/php-4.2.3/work/php-4.2.3/ext/dba'
make[2]: *** [all-recursive] Error 1
Any ideas about how to resolve this? |
|
Back to top |
|
|
Craigo Apprentice
Joined: 09 Aug 2002 Posts: 249 Location: /dev/life
|
Posted: Fri Nov 22, 2002 5:09 pm Post subject: |
|
|
Looks like your compliation flags is a bit too bleedin' edge... try cutting it down?
look at freehackers.org for the safe compliation code.. I use it all the time =)
-/Craigo/- |
|
Back to top |
|
|
Vann Guru
Joined: 04 Aug 2002 Posts: 357
|
Posted: Fri Nov 22, 2002 8:11 pm Post subject: Nope |
|
|
I get the exact same error when I tone down the CFLAGS (just -march and -O2) or when I don't use them at all. |
|
Back to top |
|
|
count Apprentice
Joined: 28 May 2002 Posts: 242 Location: Dalton, MA
|
Posted: Sat Nov 23, 2002 4:03 pm Post subject: |
|
|
I'm also getting the same errors when compiling with any number of possible combinations of CFLAGS for my procesor (Athlon/GCC-3.2)
I was just able to compile it on my server which is using PII/GCC-2.95, but still doesnt solve my althon systems problem _________________ - Joseph Monti
_________________
This message is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For more info visit http://joemonti.org/ |
|
Back to top |
|
|
Vann Guru
Joined: 04 Aug 2002 Posts: 357
|
Posted: Thu Dec 05, 2002 5:26 pm Post subject: Cause |
|
|
I have found the cause. PHP 4.2.3 fails to compile when DB >= 4.1 is installed. I'm not sure if there is a fix, though. |
|
Back to top |
|
|
|