|
|
Sponsor |
LOG4CXX_DEBUG macro fails when used in a shared object or .so file gcc: msg#00001apache.logging.log4cxx.user
Hi All, System specification: Compiler- gcc O.S - Redhat Linux Sub: Application crashes when try to log integer or short values. I am using log4cxx in my jni codes which are compiled as a shared object (.so file). My application is able to print string values as shown in line 2 of the sample code but crahses when line 4 of the code is excuted. I found that when I use the same code in an excutable there is no problem. Can some body tell me what difference does the #define macro for LOG4CXX_DEBUG makes for a shared object to that of an executable. sample code... 1)string str1 = "this is devender "; 2)LOG4CXX_DEBUG(loggerx, _T("MSG ") << str1); 3)int i = 0; 4)LOG4CXX_DEBUG(loggerx, _T("MSG ") << i++); I appreciate every body for taking ur precious time in looking at my email. Sincierly Marri Devender Rao
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | debian packages, Tommi Maekitalo |
|---|---|
| Next by Date: | Re: LOG4CXX_DEBUG macro fails when used in a shared object or .so file gcc, Curt Arnold |
| Previous by Thread: | debian packages, Tommi Maekitalo |
| Next by Thread: | Re: LOG4CXX_DEBUG macro fails when used in a shared object or .so file gcc, Curt Arnold |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|