Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-23-2003, 01:26 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 16

Rep: Reputation: 0
PHP 4.3 compile on Redhat 9

hey there all,

i am getting a compile error on make when compiling php4.3.1 from source. here is what i get (the error part at least):

ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir':
/home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat':
/home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function `my_malloc':
/home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function `my_realloc':
/home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x6d): In function `my_delete':
/home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
[root@gemini php-4.3.1]#

i could use any help i could get.

Old 05-23-2003, 02:48 PM   #2
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
have you tried php 4.3.2-rc4 ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compile php with gd ? sonaatti Slackware 3 11-29-2004 10:46 AM
can't compile php 4.3.3 adrianmak Linux - Software 3 11-20-2003 08:06 PM
PHP compile question... bige Linux - Software 4 05-05-2003 09:52 AM
Compile PHP w/ XML Support (RedHat) robadawb Linux - Software 0 04-07-2003 01:02 AM
Compile php grubjo Linux - Software 7 09-09-2002 03:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration