LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-18-2007, 02:24 AM   #1
nasria
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
mmcache error


Hello,

I am using Redhat es4 and I am facing following error while installing mmcache.

Code:
root@station1 turck-mmcache-2.4.6]# make
/bin/sh /mmcache/turck-mmcache-2.4.6/libtool --mode=compile gcc  -I. -I/mmcache/turck-mmcache-2.4.6 -DPHP_ATOM_INC -I/mmcache/turck-mmcache-2.4.6/include -I/mmcache/turck-mmcache-2.4.6/main -I/mmcache/turck-mmcache-2.4.6 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /mmcache/turck-mmcache-2.4.6/mmcache.c -o mmcache.lo
 gcc -I. -I/mmcache/turck-mmcache-2.4.6 -DPHP_ATOM_INC -I/mmcache/turck-mmcache-2.4.6/include -I/mmcache/turck-mmcache-2.4.6/main -I/mmcache/turck-mmcache-2.4.6 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /mmcache/turck-mmcache-2.4.6/mmcache.c  -fPIC -DPIC -o .libs/mmcache.o
/mmcache/turck-mmcache-2.4.6/mmcache.c:389: error: conflicting types for 'php_get_uname'
/mmcache/turck-mmcache-2.4.6/mmcache.c:389: note: an argument type that has a default promotion can't match an empty parameter name list declaration
/usr/local/include/php/ext/standard/info.h:87: error: previous declaration of 'php_get_uname' was here
/mmcache/turck-mmcache-2.4.6/mmcache.c:389: error: conflicting types for 'php_get_uname'
/mmcache/turck-mmcache-2.4.6/mmcache.c:389: note: an argument type that has a default promotion can't match an empty parameter name list declaration
/usr/local/include/php/ext/standard/info.h:87: error: previous declaration of 'php_get_uname' was here
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `fixup_zval':
/mmcache/turck-mmcache-2.4.6/mmcache.c:705: error: `empty_string' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c:705: error: (Each undeclared identifier is reported only once
/mmcache/turck-mmcache-2.4.6/mmcache.c:705: error: for each function it appears in.)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `calc_string':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1229: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `calc_zval_ptr':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1253: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `calc_property_info':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1260: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `calc_hash_int':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1275: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `calc_zval':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1293: error: `empty_string' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c:1303: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `calc_op_array':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1345: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `calc_class_entry':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1439: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `calc_size':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1484: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `store_string':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1521: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `store_zval_ptr':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1556: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `store_property_info':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1567: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `store_hash_int':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1587: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `store_zval':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1652: error: `empty_string' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c:1665: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `store_op_array':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1709: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `store_class_entry':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1849: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `mmcache_store_int':
/mmcache/turck-mmcache-2.4.6/mmcache.c:1941: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `restore_zval':
/mmcache/turck-mmcache-2.4.6/mmcache.c:2159: error: `empty_string' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `mmcache_put':
/mmcache/turck-mmcache-2.4.6/mmcache.c:3416: error: `align_test' undeclared (first use in this function)
/mmcache/turck-mmcache-2.4.6/mmcache.c: In function `ps_create_sid_mmcache':
/mmcache/turck-mmcache-2.4.6/mmcache.c:4004: error: `empty_string' undeclared (first use in this function)
make: *** [mmcache.lo] Error 1
[root@station1 turck-mmcache-2.4.6]#
Kindly help me removing this error.

Thanks.

Nasria.
 
Old 12-18-2007, 06:09 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
This is probably due to the age of the program your attempting to compile I got this from there source forge page

# Turck MMCache for PHP version 2.4.6 is released 2003-11-04

As you can see the last time this was updated was in 2003 Im betting that it does not compile cleanly on your version of GCC. Back a while ago they changed things in GCC so it was more ansi strict with C programs and some things that were warnings are now errors. I would look around online and see if there is a patch for the program for GCC 4 or whatever fedora is using these days.
 
  


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
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 06:46 PM
Error message received from system Error while reading filter description for true Steel_J Linux - Software 2 03-04-2006 06:10 PM
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-15-2005 11:22 PM
turck mmcache sladinki007 Fedora 0 01-02-2005 09:16 AM
Problems installing mmcache alrock Linux - Software 0 09-05-2003 03:16 PM

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

All times are GMT -5. The time now is 12:26 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