You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2007/06/27 16:18:38 UTC

DO NOT REPLY [Bug 42755] New: - Can not determine the proper size for ssize_t

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42755

           Summary: Can not determine the proper size for ssize_t
           Product: APR
           Version: HEAD
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: choi@bea.com


Building Apache2.2 httpd-2.2.4 on Solaris 10 (sparc) gets the following error
after configure it.
http://issues.apache.org/bugzilla/show_bug.cgi?id=13051 could be a similar to 
my problem, but I do not have mod_webapp.

Any help would be appreciated. By the way, is there any directly installable
to Solaris 10?

Thank you so much for any help,        - yung

$ make
Making all in srclib
make[1]: Entering directory `/usr/local/BEA/Apache2.2/httpd-2.2.4/srclib'
Making all in apr
make[2]: Entering directory `/usr/local/BEA/Apache2.2/httpd-2.2.4/srclib/apr'
make[3]: Entering directory `/usr/local/BEA/Apache2.2/httpd-2.2.4/srclib/apr'
/bin/bash /usr/local/BEA/Apache2.2/httpd-2.2.4/srclib/apr/libtool --silent --
mode=compile gcc -g -O2   -DHAVE_CONFIG_H -DSOLARIS2=10 -
D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT   -I./include -I/usr/local/BEA/Apache2.2/
httpd-2.2.4/srclib/apr/include/arch/unix -I./include/arch/unix -I/usr/local/BEA/
Apache2.2/httpd-2.2.4/srclib/apr/include  -o passwd/apr_getpass.lo -c passwd/
apr_getpass.c && touch passwd/apr_getpass.lo
In file included from /usr/include/sys/t_lock.h:19,
                 from /usr/include/sys/vnode.h:40,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:62,
                 from /usr/include/sys/socket.h:221,
                 from include/apr.h:117,
                 from include/apr_pools.h:37,
                 from /usr/local/BEA/Apache2.2/httpd-2.2.4/srclib/apr/include/
arch/unix/../apr_private_common.h:24,
                 from /usr/local/BEA/Apache2.2/httpd-2.2.4/srclib/apr/include/
arch/unix/apr_private.h:779,
                 from passwd/apr_getpass.c:22:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/sys/param.h:187: 
warning: `NBBY' redefined
/usr/include/sys/select.h:99: warning: this is the location of the previous 
definition
In file included from include/apr_pools.h:37,
                 from /usr/local/BEA/Apache2.2/httpd-2.2.4/srclib/apr/include/
arch/unix/../apr_private_common.h:24,
                 from /usr/local/BEA/Apache2.2/httpd-2.2.4/srclib/apr/include/
arch/unix/apr_private.h:779,
                 from passwd/apr_getpass.c:22:
include/apr.h:347: #error Can not determine the proper size for ssize_t
make[3]: *** [passwd/apr_getpass.lo] Error 1
make[3]: Leaving directory `/usr/local/BEA/Apache2.2/httpd-2.2.4/srclib/apr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/BEA/Apache2.2/httpd-2.2.4/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/BEA/Apache2.2/httpd-2.2.4/srclib'
make: *** [all-recursive] Error 1

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42755] - Can not determine the proper size for ssize_t

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42755


choi@bea.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20402|0                           |1
        is obsolete|                            |




------- Additional Comments From choi@bea.com  2007-06-27 08:17 -------
Created an attachment (id=20403)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20403&action=view)
srclib/apr/config.log sd gzip

Sorry for attaching a wrong one. Here is what you asked, it is too big so it is
compressed with gzip. Thank you, - yung

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42755] - Can not determine the proper size for ssize_t

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42755





------- Additional Comments From davi@apache.org  2007-06-27 08:09 -------
We need the "httpd-2.2.4/srclib/apr/config.log" file, not the apache one.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42755] - Can not determine the proper size for ssize_t

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42755


choi@bea.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




------- Additional Comments From choi@bea.com  2007-06-27 08:20 -------
(In reply to comment #5)
> Created an attachment (id=20403)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20403&action=view) [edit]
> srclib/apr/config.log sd gzip
> 
> Sorry for attaching a wrong one. Here is what you asked, it is too big so it 
is
> compressed with gzip. Thank you, - yung

Yes, I used 2.7.2 - Reading specs from /opt/gnu/lib/gcc-lib/sparc-sun-
solaris2.5.1/2.7.2/specs
gcc version 2.7.2


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42755] - Can not determine the proper size for ssize_t

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42755


rpluem@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From rpluem@apache.org  2007-06-27 07:52 -------
Please attach the config.log file found in srclib/apr.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42755] - Can not determine the proper size for ssize_t

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42755





------- Additional Comments From davi@apache.org  2007-06-27 08:16 -------
BTW, you seems to be using gcc 2.7.2, is that right?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42755] - Can not determine the proper size for ssize_t

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42755


choi@bea.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED




------- Additional Comments From choi@bea.com  2007-06-27 14:02 -------
(In reply to comment #7)
> Judging from the config.log, you need a more recent gcc (or use a recent sun
> compiler) -- gcc 2.7.2 is 12 years old by now. It can't even compile/parse the
> system headers.

Yes, with the newer gcc, it works great. Thank you so much,    - yung

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42755] - Can not determine the proper size for ssize_t

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42755


davi@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From davi@apache.org  2007-06-27 08:33 -------
Judging from the config.log, you need a more recent gcc (or use a recent sun
compiler) -- gcc 2.7.2 is 12 years old by now. It can't even compile/parse the
system headers.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42755] - Can not determine the proper size for ssize_t

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42755





------- Additional Comments From choi@bea.com  2007-06-27 08:00 -------
Created an attachment (id=20402)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20402&action=view)
config log file

Attaching config.log. Thank you, - yung

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org