I am trying to compile the cvs head version of log4cxx on Solaris 10. I
grabed the cvs versions of ant-contrib, cpptask, and log4cxx. I am using
ant 1.6.3 and gcc 3.4.2. I have attached a sample of the errors I get from
the cc task. Now when I went in to the lib/apr-1.1.0 directory and did a
make using the files that configure generated, it builds fine. Is there a
way to a more verbose output from the cc task? Could log4cxx be configured
to use the make files that apr-1.1.0 generates?
Thanks
Chris
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/threadproc/unix/sig
nals.c: In function `apr_signal_thread':
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/threadproc/unix/sig
nals.c:382: error: too many arguments to function `sigwait'
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/network_io/unix/sen
drecv.c: In function `apr_socket_sendfile':
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/network_io/unix/sen
drecv.c:863: warning: cast from pointer to integer of different size
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/network_io/unix/sen
drecv.c:887: warning: cast from pointer to integer of different size
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/user/unix/groupinfo
.c: In function `apr_gid_name_get':
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/user/unix/groupinfo
.c:39: error: too many arguments to function `getgrgid_r'
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/user/unix/groupinfo
.c: In function `apr_gid_get':
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/user/unix/groupinfo
.c:58: error: too many arguments to function `getgrnam_r'
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/user/unix/userinfo.
c: In function `getpwnam_safe':
[cc]
/export/disk10/cppProjects/logging-log4cxx/lib/apr-1.1.0/user/unix/userinfo.
c:41: error: too many arguments to function `getpwnam_r'