[ https://issues.apache.org/jira/browse/LOGCXX-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Schöning resolved LOGCXX-395. -------------------------------------- Resolution: Fixed stdio.h is already included in trunk. > log4cxx does not compile even after following LOGCXX-360 > -------------------------------------------------------- > > Key: LOGCXX-395 > URL: https://issues.apache.org/jira/browse/LOGCXX-395 > Project: Log4cxx > Issue Type: Bug > Components: Build > Affects Versions: 0.10.0 > Environment: Linux hkiond01 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 > 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux > gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3) > Reporter: Titus Cheung > Assignee: Curt Arnold > > Not sure why I'm facing issues as reported in LOGCXX-360 because I was able > to successfully build on another system a few months back. > Also despite seeing the exact same set of issues as reported in LOGCXX-360, > I'm also seeing the following while running "make", after "./configure". > console.cpp: In function 'int main(int, char**)': > console.cpp:58: error: 'puts' was not declared in this scope > console.cpp:63: error: 'strcmp' was not declared in this scope > console.cpp:66: error: 'stderr' was not declared in this scope > console.cpp:66: error: 'stdout' was not declared in this scope > console.cpp:66: error: 'fputs' was not declared in this scope > console.cpp:69: error: 'stderr' was not declared in this scope > console.cpp:69: error: 'stdout' was not declared in this scope > console.cpp:102: error: 'stderr' was not declared in this scope > console.cpp:102: error: 'stdout' was not declared in this scope > console.cpp:104: error: 'stderr' was not declared in this scope > console.cpp:104: error: 'stdout' was not declared in this scope > console.cpp:107: error: 'stderr' was not declared in this scope > console.cpp:107: error: 'fputs' was not declared in this scope > console.cpp:110: error: 'fflush' was not declared in this scope > gmake[3]: *** [console.o] Error 1 > Fixed this by adding following to src\examples\cpp\console.cpp > #include <stdio.h> -- This message was sent by Atlassian JIRA (v6.1.5#6160)