[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: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-03-28 20:12:53 CEST

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?

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 28 20:13:49 2006

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