----- Original Message -----
From: "Alexander Barkov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Joerg Behrens" <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 10:50 AM
Subject: Re: mnogo 3.2.3 compiles under Irix 6.5.12m -mips4


>    Hello!
>
> Thank for reporting, we'll fix all warnings.
>
[..]

i have made this minor changes to .....

--- mnogosearch-3.2.3_old/src/cache.c   Fri Oct 19 17:07:12 2001
+++ mnogosearch-3.2.3/src/cache.c       Mon Nov 26 14:49:10 2001
@@ -1205,7 +1205,13 @@
                fprintf(stderr,"%s Flushing all buffers...
",Logd_time_pid_info(logd));
        for(i=0;i<MAX_LOG;i++){
                if(logd->wrd_buf[i].nrec){
+#if defined(__sgi)
+                       T_LOGD_NUM logd_num;
+                       logd_num.logd=logd;
+                       logd_num.num=i;
+#else
                        T_LOGD_NUM logd_num={logd,i};
+#endif
                        if(LogdSaveBuf(&logd_num)) return(1);
                }
        }
@@ -1278,7 +1284,13 @@
                logd->wrd_buf[num].data[nrec].coord=wrd[i].coord;
                logd->wrd_buf[num].nrec++;
                if(logd->wrd_buf[num].nrec==MAX_WRD){
+#if defined(__sgi)
+                       T_LOGD_NUM logd_num;
+                       logd_num.logd=logd;
+                       logd_num.num=num;
+#else
                        T_LOGD_NUM logd_num={logd,num};
+#endif
                        /*
                        pthread_t *thread;
                        pthread_attr_t attr;


now it compiles with the MIPSpro compiler using

CFLAGS="-O2 -mips4 -n32 -Xcpluscomm"
CXXFLAGS="-O2 -mips4 -n32"

wont work with the '-ipa' optimations.
The ext/mnogo from php 4.1.0, that ships out this moment, wont work with
mnogo 3.2.3.

php_mnogo.c: In function `zm_startup_mnogosearch':
php_mnogo.c:261: `UDM_CACHE_ENABLED' undeclared (first use in this function)
php_mnogo.c:261: (Each undeclared identifier is reported only once
php_mnogo.c:261: for each function it appears in.)
and so on.

with best regards
Joerg Behrens

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to