|
I am trying to install log4cxx through cygwin. After typing “make”,
I am getting an error “swprintf undeclared”. I have checked other
similar mails, but I didn’t find the suitable answer. Following is the
output of the make. $ make Making all in docs make[1]: Entering directory
`/cygdrive/c/temp/log4cxx-0.9.7/docs' make[1]: Nothing to be done for `all'. make[1]: Leaving directory
`/cygdrive/c/temp/log4cxx-0.9.7/docs' Making all in src make[1]: Entering directory `/cygdrive/c/temp/log4cxx-0.9.7/src' if /bin/bash ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. - ../include -D_REENTRANT -g -O2 -MT
appenderattachableimpl.lo -MD -MP -MF ".deps/appenderattachable impl.Tpo" -c -o appenderattachableimpl.lo
appenderattachableimpl.cpp; \ then mv -f ".deps/appenderattachableimpl.Tpo"
".deps/appenderattachableimpl.Plo"; else rm -f ".deps/ appenderattachableimpl.Tpo"; exit 1; fi mkdir .libs g++ -DHAVE_CONFIG_H -I. - hableimpl.lo -MD -MP -MF .deps/appenderattachableimpl.Tpo -c
appenderattachableimpl.cpp -DPIC -o .l ibs/appenderattachableimpl.o In file included from appenderattachableimpl.cpp:17: ../include/log4cxx/helpers/tchar.h: In static member
function `static void Convert::int64ToString(wc har_t*, size_t, const int64_t&)': ../include/log4cxx/helpers/tchar.h:50: error: `swprintf'
undeclared (first use this function) ../include/log4cxx/helpers/tchar.h:50: error: (Each
undeclared identifier is reported only once for each function it appears in.) make[1]: *** [appenderattachableimpl.lo] Error 1 make[1]: Leaving directory
`/cygdrive/c/temp/log4cxx-0.9.7/src' make: *** [all-recursive] Error 1 |
