LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-02-2003, 01:37 AM   #1
dudboi
LQ Newbie
 
Registered: Apr 2003
Location: Singapore
Distribution: Fedora Core 2
Posts: 9

Rep: Reputation: 0
Angry php make error


I have been trying to tackle this problem for a day and have yet to come to any conclusion. Bsically, when using MAKE after configuring php with apache and mysql i get tthese errors:

Quote:
ext/mysql/libmysql/my_lib.lo: In function `my_dir':
/usr/local/php4/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.lo: In function `my_stat':
/usr/local/php4/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.lo: In function `my_realloc':
/usr/local/php4/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.lo: In function `my_delete':
/usr/local/php4/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/php4/ext/mysql/libmysql/my_tempnam.c:108: undefined reference to `errno'
ext/mysql/libmysql/my_error.lo:/usr/local/php4/ext/mysql/libmysql/my_error.c:32: more undefined references to `errno' followcollect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Anyone who has encountered this problem before and knows how to solve it I would be very glad if you could assist me. Thanks a bunch!
 
Old 04-02-2003, 09:36 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
It looks like you don't have or the build can't find your mysql-devel stuff. Jsut get the drake mysql packages (client, server, devel).
 
Old 04-02-2003, 06:51 PM   #3
dudboi
LQ Newbie
 
Registered: Apr 2003
Location: Singapore
Distribution: Fedora Core 2
Posts: 9

Original Poster
Rep: Reputation: 0
i decided to use all the drake packages.. thanx for your help anyway
 
Old 04-02-2003, 07:59 PM   #4
wind
LQ Newbie
 
Registered: Sep 2002
Posts: 12

Rep: Reputation: 0
what is your C compiler?

which version?
 
Old 04-03-2003, 07:06 PM   #5
dudboi
LQ Newbie
 
Registered: Apr 2003
Location: Singapore
Distribution: Fedora Core 2
Posts: 9

Original Poster
Rep: Reputation: 0
i use gcc3.2.2-3
 
  


Reply



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
Php 4.4.0 make Error sucram2g Linux - Software 2 09-02-2005 04:52 AM
php make error (mysql related) oluckboy Red Hat 1 07-06-2005 10:53 AM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
PHP 4.3.1 Make Error with MYSQL SForsgren Linux - Software 2 05-23-2003 02:02 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:57 AM.

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