LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 02: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, 10: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, 07: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, 08: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, 08: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


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

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

All times are GMT -5. The time now is 04:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration