[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: Tony Butt <tony.butt_at_cea.com.au>
Date: 2006-03-29 03:29:35 CEST

Brian Hechinger 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) */
> ^^^^^
> make[3]: *** [sendrecv.lo] Error 1
> make[3]: Leaving directory `/tmp/monitor/subversion-1.3.0/apr/network_io/unix'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/monitor/subversion-1.3.0/apr/network_io/unix'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/monitor/subversion-1.3.0/apr'
> make: *** [external-all] Error 1
>
> How do I fix this so that it build right?
>
> I don't want to install gcc if I can help it.
>
> -brian
>
The aCC compiler on HP-UX is the ANSI compliant C++ compiler - probably
not a good choice for the subversion build.
The compiler of choice would normally be 'cc -Ae' , which is the C
compiler ANSI compliant, with HP extensions.

Tony Butt
CEA Technologies
Canberra, Australia

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Wed Mar 29 03:30:36 2006

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