|
|
Choosing A Webhost: |
Apache Log4cxx build fails with gcc 2.95 under Solaris 8: msg#00074apache.logging.log4cxx.user
bash-2.03$ make Making all in docs Making all in src source='appenderattachableimpl.cpp' object='appenderattachableimpl.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c -o appenderattachableimpl.lo appenderattachableimpl.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c appenderattachableimpl.cpp -Wp,-MD,.deps/appenderattachableimpl.TPlo -fPIC -DPIC -o .libs/appenderattachableimpl.o In file included from appenderattachableimpl.cpp:17: ../include/log4cxx/helpers/tchar.h:29: streambuf: No such file or directory *** Error code 1 Since it says error in streambuf, I have commented out that line from tchar.h file (because sstream was already included in the same file just 3 lines earlier), and now I get some more errors: bash-2.03$ make Making all in docs Making all in src source='appenderattachableimpl.cpp' object='appenderattachableimpl.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c -o appenderattachableimpl.lo appenderattachableimpl.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -D_REENTRANT -g -O2 -c appenderattachableimpl.cpp -Wp,-MD,.deps/appenderattachableimpl.TPlo -fPIC -DPIC -o .libs/appenderattachableimpl.o In file included from appenderattachableimpl.cpp:17: ../include/log4cxx/helpers/tchar.h:45: parse error before `&' ../include/log4cxx/helpers/tchar.h:54: parse error before `&' ../include/log4cxx/helpers/tchar.h:55: `Convert::int64ToString(...)' has already been declared in `Convert' ../include/log4cxx/helpers/tchar.h: In function `static void Convert::int64ToString(...)': ../include/log4cxx/helpers/tchar.h:50: `dst' undeclared (first use this function) ../include/log4cxx/helpers/tchar.h:50: (Each undeclared identifier is reported only once ../include/log4cxx/helpers/tchar.h:50: for each function it appears in.) ../include/log4cxx/helpers/tchar.h:50: `maxlen' undeclared (first use this function) ../include/log4cxx/helpers/tchar.h:50: `ll' undeclared (first use this function) ../include/log4cxx/helpers/tchar.h: At top level: ../include/log4cxx/helpers/tchar.h:67: syntax error before `&' ../include/log4cxx/helpers/tchar.h:68: `basic_ostream' was not declared in this scope ../include/log4cxx/helpers/tchar.h:68: `_CharT' was not declared in this scope ../include/log4cxx/helpers/tchar.h:68: `_Traits' was not declared in this scope ../include/log4cxx/helpers/tchar.h:68: `os' was not declared in this scope ../include/log4cxx/helpers/tchar.h:68: parse error before `&' ../include/log4cxx/helpers/tchar.h:69: ANSI C++ forbids declaration `operator <<' with no type ../include/log4cxx/helpers/tchar.h:69: `operator <<(...)' must have an argument of class or enumerated type ../include/log4cxx/helpers/tchar.h:69: `operator <<(...)' must take exactly two arguments etc ... etc ... *** Error code 1 I am using gcc 2.95.3. What can be the error and how to resolve these? <<attachment: winmail.dat>>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Logging in templates?, Curt Arnold |
|---|---|
| Next by Date: | Re: Apache Log4cxx build fails with gcc 2.95 under Solaris 8, Curt Arnold |
| Previous by Thread: | Sending Byte Array to a custom appender., Kadarkarai, Prabhakar \(Prabhakar\) |
| Next by Thread: | Re: Apache Log4cxx build fails with gcc 2.95 under Solaris 8, 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 |