From:             [EMAIL PROTECTED]
Operating system: SuSE Linux 6.3
PHP version:      4.1.1
PHP Bug Type:     Compile Failure
Bug description:  Fail on apache make/ php_mysql.c:undef.ref.

Hi, 

I hope that someone can help- my problem is exactly the
one in bug report #5030, which has been closed with
"should work now", but no hint HOW the guy got it to work.

My system:
SuSe Linux 6.3
Apache 1.3.23
MySQL 3.23.47
PHP 4.1.1

The Guy from #5030 had different versions, but got
the same fail on the apache make:


I configure and build php4 with:


./configure  --with-mysql=/usr/local/mysql
--with-apxs=/usr/sbin/apxs --enable-track-vars --with-xml --with-gettext
--with-xml --with-mycrypt

 

and then configure and build apache-1.3.23 with:
 

./configure  --prefix=/usr/local/apache
--activate-module=src/modules/php4/libphp4.a

This thing works fine, until when I run make, 

which terminates with:
...........
modules/php4/libphp4.a(php_mysql.o): In function
`php_mysql_field_info':

/home/admin/php-4.0.0/ext/mysql/php_mysql.c:1574: undefined reference to
`mysql_field_seek'

/home/admin/php-4.0.0/ext/mysql/php_mysql.c:1575: undefined reference to
`mysql_fetch_field'

collect2: ld returned 1 exit status

make[2]: *** [target_static] Error 1

make[2]: Leaving directory `/home/admin/apache_1.3.12/src'

make[1]: *** [build-std] Error 2

make[1]: Leaving directory `/home/admin/apache_1.3.12'

make: *** [build] Error 2


What am I doing wrong ? Is there some option that I could include with my
apache- configure ?

Thanks, 

Robert Zrim

-- 
Edit bug report at http://bugs.php.net/?id=15685&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15685&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15685&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15685&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15685&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15685&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15685&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15685&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15685&r=submittedtwice

Reply via email to