logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "srkraju" <rama...@cmcltd.com>
Subject FW: MAKE error : While compiling trivial.cpp:Urgent
Date Wed, 18 Jun 2008 11:36:32 GMT
No Response for this error message.

It's urgent. Awaiting the response from mailing list users.


thanks& regards



From: srkraju [mailto:ramaras@cmcltd.com] 
Sent: Friday, June 13, 2008 10:51 AM
To: 'log4cxx-user@logging.apache.org'
Subject: MAKE error : While compiling trivial.cpp


I am trying to build Log4cxx0.10.0, with apr-1.2.2, apr-util-1.2.2

Under Redhat Linux AS4. g++ version 3.4.3

./configure --with-apr=../apr-1.2.2/ --with-apr-util=../apr-util-1.2.2/ is

But when I try 'make' , then its giving the following error while compiling

Need urgent help.



make[3]: Entering directory

-DHAVE_DLFCN_H=1  -I. -I. -I../../../src/main/include
-I../../../src/main/include  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE  -I/home/ramak/Logging/Log4cxx/apr-1.2.2/include
-I/home/ramak/Logging/Log4cxx/apr-util-1.2.2/include   -g -O2 -MT trivial.o
-MD -MP -MF ".deps/trivial.Tpo" -c -o trivial.o trivial.cpp; \

then mv -f ".deps/trivial.Tpo" ".deps/trivial.Po"; else rm -f
".deps/trivial.Tpo"; exit 1; fi

trivial.cpp: In function `int main()':

trivial.cpp:39: error: `MessageBuffer' is not a member of `log4cxx::helpers'

trivial.cpp:39: error: expected `;' before "oss_"

trivial.cpp:39: error: `oss_' undeclared (first use this function)

trivial.cpp:39: error: (Each undeclared identifier is reported only once for
each function it appears in.)

trivial.cpp:40: error: `MessageBuffer' is not a member of `log4cxx::helpers'

trivial.cpp:40: error: expected `;' before "oss_"

trivial.cpp:41: error: `MessageBuffer' is not a member of `log4cxx::helpers'

trivial.cpp:41: error: expected `;' before "oss_"

trivial.cpp:42: error: `MessageBuffer' is not a member of `log4cxx::helpers'

trivial.cpp:42: error: expected `;' before "oss_"

trivial.cpp:43: error: `MessageBuffer' is not a member of `log4cxx::helpers'

trivial.cpp:43: error: expected `;' before "oss_"

make[3]: *** [trivial.o] Error 1

make[3]: Leaving directory

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory

make: *** [all-recursive] Error 1


thanks& regards




“The information contained in this e-mail message and/or attachments to it may contain confidential
or privileged information. If you are not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the information contained in this e-mail message
and/or attachments to it are strictly prohibited. If you have received this communication
in error, please notify us by reply e-mail or telephone and immediately and permanently delete
the message and any attachments. Thank you"
View raw message