Re: tru64 5.1b & php4.3.2rc2 - more info

From: Date: Wed, 30 Apr 2003 00:33:35 +0000
Subject: Re: tru64 5.1b & php4.3.2rc2 - more info
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10750@lists.php.net to get a copy of this message
I tried something to test an assumption, and it confirms what I was thinking. Those errors below are triggered by the unixodbc only. Although I also removed the debug option from the configure line (I was tired of seeing this "use -g3" and not knowing where to add it), I found that even the very latest version of mm won't work because it's not thread safe. Is there a way around the mm not being thread safe problem? Is there any way to fix this unixodbc problem so I can use it? If I want to use the debug option, where should I add that -g3 to make it not complain about it? I had to do without many of the options to make this compile all the way, but I'd like to make use of those options, such as pdflib, mm unixodbc.... > cc -I/usr/local/include -Iext/odbc/ > -I/usr/local/apache/src/php-4.3.2RC2/ext/odbc/ -DPHP_ATOM_INC > -I/usr/local/apache/src/php-4.3.2R > C2/include -I/usr/local/apache/src/php-4.3.2RC2/main > -I/usr/local/apache/src/php-4.3.2RC2 -I/usr/local/apache/include > -I/usr/local/a > pache/src/php-4.3.2RC2/Zend -I/usr/ssl/include -I/usr/local/include > -I/usr/local/mysql/include -I/usr/local/mm/include -I/usr/local/ > apache/src/php-4.3.2RC2/ext/xml/expat -DNO_SLACK > -I/usr/local/apache/src/php-4.3.2RC2/TSRM -O2 -pthread -g -DZTS -c > /usr/local/apach > e/src/php-4.3.2RC2/ext/odbc/php_odbc.c -DPIC > cc: Info: File not optimized; use -g3 if both optimization and debug wanted. > (suppressoptlvl) > cc: Error: /usr/include/dlfcn.h, line 59: Missing ";". (nosemi) > extern int dladdr __((void *, Dl_info *)); > -------------------------------^ > cc: Error: /usr/include/dlfcn.h, line 63: Missing ";". (nosemi) > extern void *dlopen __((const char *, int )); > ------------------------^ > cc: Error: /usr/include/dlfcn.h, line 64: Missing ";". (nosemi) > extern void *dlsym __((void *, const char *)); > -----------------------^ > cc: Error: /usr/include/dlfcn.h, line 65: Missing ";". (nosemi) > extern char *dlerror __((void)); > -------------------------^ > cc: Error: /usr/include/dlfcn.h, line 66: Missing ";". (nosemi) > extern int dlclose __((void *)); > -------------------------^ > cc: Error: /usr/include/setjmp.h, line 166: Missing ";". (nosemi) > extern void longjmp __((jmp_buf, int)); > ------------------------^ > cc: Error: /usr/include/setjmp.h, line 167: Missing ";". (nosemi) > extern int setjmp __((jmp_buf)); > -----------------------^ > cc: Error: /usr/include/setjmp.h, line 168: Missing ";". (nosemi) > extern int sigsetjmp __((sigjmp_buf, int)); > --------------------------^ > cc: Error: /usr/include/setjmp.h, line 169: Missing ";". (nosemi) > extern void siglongjmp __((sigjmp_buf, int)); > ---------------------------^ > cc: Error: /usr/include/setjmp.h, line 170: Missing ";". (nosemi) > extern int _setjmp __((jmp_buf)); > ------------------------^ > cc: Error: /usr/include/setjmp.h, line 171: Missing ";". (nosemi) > extern void _longjmp __((jmp_buf, int)); > -------------------------^ > cc: Error: /usr/include/time.h, line 220: Missing ";". (nosemi) > extern void tzset __((void)); > ------------------^ > cc: Error: /usr/include/pthread.h, line 973: In this declaration, > "pthreadTeb_t" appears to be used as if it named a type, but there > is no declared type of that name visible. (typedefnotdef) > typedef pthreadTeb_t __pthreadTeb_t; > --------^ > cc: Error: /usr/include/pthread.h, line 984: Ill-formed parameter type list. > (parmtyplist) > typedef void __pthreadExtDestructorFunc_t (void*, pthread_t, > pthread_key_t); > -----------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1038: In this declaration, > "pthread_t" appears to be used as if it named a type, but there i > s no declared type of that name visible. (typedefnotdef) > extern pthread_t pthread_self (void); > -------^ > cc: Error: /usr/include/pthread.h, line 1190: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_sigmask (int, const sigset_t*, sigset_t*); > -----------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1192: Missing identifier. > (parnoident) > extern int pthread_kill (pthread_t, int); > ------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1217: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_init (pthread_mutexattr_t*); > ------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1220: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t*, > int*); > ----------------------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1222: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t*, int); > ----------------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1231: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t*, int*); > -------------------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1233: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t*, int); > -------------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1235: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t*, int*); > ------------------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1237: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_setpshared (pthread_mutexattr_t*, int); > ------------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1239: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_gettype (const pthread_mutexattr_t*, int*); > ---------------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1241: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_settype (pthread_mutexattr_t*, int); > ---------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1243: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutexattr_destroy (pthread_mutexattr_t*); > ---------------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1252: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutex_init (pthread_mutex_t*, const > pthread_mutexattr_t*); > ----------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1264: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutex_destroy (pthread_mutex_t*); > -------------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1276: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutex_lock (pthread_mutex_t*); > ----------------------------------------------^ > cc: Error: /usr/include/pthread.h, line 1281: Error parsing parameter list. > Found "*" when expecting one of: ",", ")". (notexpecting > ) > extern int pthread_mutex_getprioceiling (const pthread_mutex_t*, int*); > --------------------------------------------------------------^ > cc: Severe: More than 30 errors were encountered in the course of > compilation. (toomanyerr) > gmake: *** [ext/odbc/php_odbc.lo] Error 1 -- Didier Godefroy mailto:dg@ulysium.net

« previous php.install (#10750) next »