Thread View: news.software.nntp
7 messages
7 total messages
Started by Nancy. St. Pierre
Thu, 14 Nov 1996 00:00
INN and HP
Author: Nancy. St. Pierre
Date: Thu, 14 Nov 1996 00:00
Date: Thu, 14 Nov 1996 00:00
24 lines
1473 bytes
1473 bytes
[ Note: This question was sent to inn-questions@pilhuhn.de and is posted ]
[ here, so that someone will see and answer it. Please email your ]
[ answer to the original author in addition to posting it. ]
I am trying to compile INN version 1.4 on an HP running HP-UX 10.10.
When I type "make world" I get the following error:
cc -I../include -DHPUX -c xwritev.c
(Bundled) cc: "xwritev.c", line 37: error 1539: Cannot do arithmetic
with pointers to objects of unknown size.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
I am not a C programmer, and do not know what this line means. Does
anyone out there have any ideas? Thank you.
Please email responses to me: nancy.st.pierre@ssa.gov
Re: INN and HP
Author: Ron Snyder
Date: Fri, 15 Nov 1996 00:00
Date: Fri, 15 Nov 1996 00:00
23 lines
1403 bytes
1403 bytes
In article <3289D72A.5641@ssa.gov>, "Nancy. St. Pierre" <nancy.st.pierre@ssa.gov> wrote: >[ Note: This question was sent to inn-questions@pilhuhn.de and is posted ] >[ here, so that someone will see and answer it. Please email your ] >[ answer to the original author in addition to posting it. ] > >I am trying to compile INN version 1.4 on an HP running HP-UX 10.10. >When I type "make world" I get the following error: > > cc -I../include -DHPUX -c xwritev.c >(Bundled) cc: "xwritev.c", line 37: error 1539: Cannot do arithmetic ^^^^^^^^^^^^^^ This is your problem. The bundled cc compiler is not 'good' enough to compile a lot of software that's available on the 'net. Their commercial compiler is pretty inexpensive (less than $100, I believe). >with pointers to objects of unknown size. >*** Error exit code 1 > >Stop.
Re: INN and HP
Author: James Brister
Date: Fri, 15 Nov 1996 00:00
Date: Fri, 15 Nov 1996 00:00
29 lines
1391 bytes
1391 bytes
"Nancy. St. Pierre" <nancy.st.pierre@ssa.gov> writes: > I am trying to compile INN version 1.4 on an HP running HP-UX 10.10. > When I type "make world" I get the following error: > > cc -I../include -DHPUX -c xwritev.c > (Bundled) cc: "xwritev.c", line 37: error 1539: Cannot do arithmetic > with pointers to objects of unknown size. > *** Error exit code 1 > > Stop. > *** Error exit code 1 It's been a long time since I've looked at plain 1.4. You should toss it it and get either ftp://ftp.vix.com/pub/inn/inn-1.5b2.tar.gz which is beta code, so you may prefer to get the inn-1.4unoff4 version from http://www.math.psu.edu/barr/INN.html James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: INN and HP
Author: Rich Salz
Date: Sun, 17 Nov 1996 00:00
Date: Sun, 17 Nov 1996 00:00
14 lines
903 bytes
903 bytes
In <3289D72A.5641@ssa.gov> nancy.st.pierre@ssa.gov writes: > cc -I../include -DHPUX -c xwritev.c >(Bundled) cc: "xwritev.c", line 37: error 1539: Cannot do arithmetic >with pointers to objects of unknown size. Sigh. Two wrong answers posted to the net. Change the "void*" in $inn/include/uio.h to a char*. Or, add a (char *) cast to the "base" in $inn/lib/xwritev.c /r$
Re: INN and HP
Author: Miguel A.L. Paraz
Date: Mon, 18 Nov 1996 00:00
Date: Mon, 18 Nov 1996 00:00
21 lines
1091 bytes
1091 bytes
Hi, Ron Snyder <snyder@roguewave.com> wrote in news.software.nntp: >This is your problem. The bundled cc compiler is not 'good' enough to compile >a lot of software that's available on the 'net. Their commercial compiler is >pretty inexpensive (less than $100, I believe). gcc for HP also compiles INN well. -- miguel a.l. paraz <map@iphil.net> http://www.iphil.net/~map/ PGP: 0x43F0D011 iphil communications: isp/intranet design and implementation, makati city, ph
Re: INN and HP
Author: Vince Vielhaber
Date: Tue, 19 Nov 1996 00:00
Date: Tue, 19 Nov 1996 00:00
25 lines
1579 bytes
1579 bytes
In article <slrn590ffk.5n7.map@marikit.iphil.net>, map@marikit.iphil.net says...
>
>Hi,
>
>Ron Snyder <snyder@roguewave.com> wrote in news.software.nntp:
>>This is your problem. The bundled cc compiler is not 'good' enough to compile
>>a lot of software that's available on the 'net. Their commercial compiler is
>>pretty inexpensive (less than $100, I believe).
>
>gcc for HP also compiles INN well.
Yes it does, especially since the "ANSI C Developers Bundle" that they
call their real compiler is $1300 by my price list.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev@michvhf.com flame-mail: /dev/null
# include <std/disclaimers.h> TEAM-OS2
Online Searchable Campground Directory http://www.camping-usa.com
==========================================================================
Re: INN and HP
Author: Robert Keller
Date: Tue, 19 Nov 1996 00:00
Date: Tue, 19 Nov 1996 00:00
86 lines
3335 bytes
3335 bytes
Rich Salz <rsalz@osf.org> wrote:
>In <3289D72A.5641@ssa.gov> nancy.st.pierre@ssa.gov writes:
>> cc -I../include -DHPUX -c xwritev.c
>>(Bundled) cc: "xwritev.c", line 37: error 1539: Cannot do arithmetic
>>with pointers to objects of unknown size.
>
>Sigh. Two wrong answers posted to the net.
>
>Change the "void*" in $inn/include/uio.h to a char*.
>
>Or, add a (char *) cast to the "base" in $inn/lib/xwritev.c
Below is what rich said in convenience patch form. Although
the patch was originally made for inn1.4sec, it applied to
inn1.4unoff4 (and probably all others). I'll include the a
URL to the patch as well,
http://reality.sgi.com/rck/software/inn1.4-xpg4.2.patch
The reason that this is a problem is that XPG4.2 asserts that
iov_base in the uio iovec struct is a now void * . INN treats
the same iov_base as a char *, which is what it had been previously.
...robert
diff -rc ../inn1.4sec-orig/expire/expireover.c ./expire/expireover.c
*** ../inn1.4sec-orig/expire/expireover.c Thu Mar 18 13:03:51 1993
--- ./expire/expireover.c Thu Mar 28 22:28:12 1996
***************
*** 300,306 ****
/* We're keeping this entry; see if we can add it to any
* in-progress iov element. */
if (vp->iov_len) {
! if (vp->iov_base + vp->iov_len == lp->Start) {
/* Contiguous. */
vp->iov_len += lp->Length;
continue;
--- 300,306 ----
/* We're keeping this entry; see if we can add it to any
* in-progress iov element. */
if (vp->iov_len) {
! if ((char *)vp->iov_base + vp->iov_len == lp->Start) {
/* Contiguous. */
vp->iov_len += lp->Length;
continue;
***************
*** 706,712 ****
/* We're keeping this entry; see if we can add it to any in-progress
* iov element. */
if (vp->iov_len) {
! if (vp->iov_base + vp->iov_len == lp->Start) {
/* Contiguous. */
vp->iov_len += lp->Length;
continue;
--- 706,712 ----
/* We're keeping this entry; see if we can add it to any in-progress
* iov element. */
if (vp->iov_len) {
! if ((char *)vp->iov_base + vp->iov_len == lp->Start) {
/* Contiguous. */
vp->iov_len += lp->Length;
continue;
diff -rc ../inn1.4sec-orig/lib/xwritev.c ./lib/xwritev.c
*** ../inn1.4sec-orig/lib/xwritev.c Thu Oct 29 06:10:15 1992
--- ./lib/xwritev.c Thu Mar 28 22:28:13 1996
***************
*** 34,40 ****
break;
for (; i >= vp->iov_len; vp++, vpcount--)
i -= vp->iov_len;
! vp->iov_base += i;
vp->iov_len -= i;
}
return 0;
--- 34,40 ----
break;
for (; i >= vp->iov_len; vp++, vpcount--)
i -= vp->iov_len;
! vp->iov_base = (char *)vp->iov_base + i;
vp->iov_len -= i;
}
return 0;
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads