[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Building on HP-UX problems

From: Brian Hechinger <wonko_at_4amlunch.net>
Date: 2006-03-28 21:59:06 CEST

On Tue, Mar 28, 2006 at 10:12:53AM -0800, Garrett Rooney wrote:
> On 3/28/06, Brian Hechinger <wonko@4amlunch.net> wrote:
> > I'm trying to build 1.3.0 on an HP-UX box, but I'm running into these
> > issues:
> >
> > Making all in network_io/unix
> > make[2]: Entering directory `/tmp/monitor/subversion-1.3.0/apr/network_io/unix'
> > make[3]: Entering directory `/tmp/monitor/subversion-1.3.0/apr/network_io/unix'
> > /bin/sh /tmp/monitor/subversion-1.3.0/apr/libtool --silent --mode=compile aCC -Ae -mt -I/tmp/monitor/subversion-1.3.0/apr/include/arch/unix -DHAVE_CONFIG_H -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I../../include -I../../include/arch/unix -I../../include/arch/unix -c sendrecv.c && touch sendrecv.lo
> > Error 298: "/usr/include/netinet/tcp.h", line 63 # In ANSI C bitfields must be one of 'int', 'signed int', or 'unsigned int' type.
> > u_char th_off:4, /* data offset */
> > ^^^^^^
> > Error 298: "/usr/include/netinet/tcp.h", line 64 # In ANSI C bitfields must be one of 'int', 'signed int', or 'unsigned int' type.
> > th_x2:4; /* (unused) */
>
> It looks like APR is failing to compile due to some interaction
> between the C compiler, the set of flags passed to the C compiler, and
> your system's header files (/usr/include/netinet/tcp.h is part of the
> Operating System). Perhaps there's some flag that can be added to
> CFLAGS to make the compiler more permissive?

That's what I was thinking, but as to how to do that? I had no idea. I've
never used aCC before this. I can make Sun Studio and MIPSpro sing and dance,
but I've a long way to go until I will be able to make aCC do that. ;)

Any recommendations as to what that flag could be? So far I've come up short
with google and the man pages.

No offense to any HP-UX fanatics out there, but I have to say that the HP-UX
man pages are some of the worst I've seen. ;)

-brian

-- 
"Some people say that if you play a Windows XP install CD backwards
you will hear demon voices commanding you to worship Satan.  But
that's nothing! If you play it forward it will install Windows XP."
    -- Anonymous
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 28 22:00:06 2006

This is an archived mail posted to the Subversion Users mailing list.