You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Chris Williams <ch...@yahoo.com> on 2005/05/08 15:57:02 UTC
Errors compiling apr-1.1.0 with cc task on Solaris 10
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'
Re: Errors compiling apr-1.1.0 with cc task on Solaris 10
Posted by Curt Arnold <ca...@apache.org>.
On May 8, 2005, at 8:57 AM, Chris Williams wrote:
> 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?
>
More verbose: ant -v
To use an already built apr and apr-util, you can specify
ant -Dapr.dir=/usr/local/apr
I've tried to get Solaris 10 working in Virtual PC 2004 before, but
haven't had much success. I would like to have it as one of the
platforms that we regularly build on. I'll try to dig into this
deeper.