-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hmm...I dont understand this error very well (for licq):

/sw/include -c `test -f countrycodes.c || echo './'`countrycodes.c
source='log.cpp' object='log.o' libtool=no \
depfile='.deps/log.Po' tmpdepfile='.deps/log.TPo' \
depmode=gcc /bin/sh ../admin/depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include 
- -DINSTALL_PREFIX=\"/sw\"   -I/sw/include  -O2 -fno-exceptions 
- -fno-check-new -c -o log.o `test -f log.cpp || echo './'`log.cpp
log.cpp: In method `void CLogServer::Log(short unsigned int, const 
char *, char *)':
log.cpp:399: implicit declaration of function `int localtime_r(...)'

this is the chunk of code it is referring to:

void CLogServer::Log(const unsigned short _nLogType, const char 
*_szFormat, va_list argp)
{
   static char szTime[32];
   static struct tm stm;

   pthread_mutex_lock(&mutex);

   // Create a time string for the log
   time_t t = time(NULL);
   localtime_r(&t, &stm);
   strftime(szTime, 32, "%T: ", &stm);

   // Log the event to each server
   vector<CLogService *>::iterator iter;
   for (iter = m_vxLogServices.begin(); iter != m_vxLogServices.end(); 
iter++)
   {
     if ((*iter)->LogType(_nLogType))
         (*iter)->lprintf(_nLogType, szTime, _szFormat, argp);
   }
   pthread_mutex_unlock(&mutex);


I've seen some of these errors on google, but nothing on how to fix it.


- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070
_________________________________________________
This message is encoded using the Rot-26 encoding method.  Unauthorized 
decoding of this message may result in extreme penalties under the 
DMCA.  These penalties include, but are not limited to: US$100,000 fine, 
life imprisonment, castration, death, limp hair, terminal halitosis, and 
amputation of the extremities.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8p61z+/mCMqKrwHARAgeEAJ0U8L5ihxQj/33eT95hlaarEQuvIwCg5rmq
9ldzyzvBqUeRV4l2WBPSiOk=
=yg+J
-----END PGP SIGNATURE-----


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to