Compilation on Solaris 2.6 (32bit)

From: Callum Gibson (callum.gibson_at_aus.deuba.com)
Date: Wed Aug 16 2000 - 01:07:42 BST


Hi all,
Has anyone successfully compiled the latest ups beta on a version of Solaris
in 32bit mode (on an Ultra 5). The build craps out at ao_elfcore.c complaining
about missing 64bit types in sys/elf.h . As far as I can see the only way
elf.h (and the dependent sys/elftypes.h) can be sucessfully compiled into
a program on this machine is if you are actually running 64 bit (_LP64 is
defined) or you are _not_ running ANSI C (__STDC__ is 0) and the 64 bits
are fudged using long long typedefs.

This does compile on Solaris 2.7, however (didn't bother to re-configure -
is that a problem?). Most of our prod machines are still running 2.6 so I
want to avoid shared library version number problems, although I note the
web page recommends building on the most recent (which seems counterintuitive).

Looks to me just like the Solaris 2.6 header files are just stuffed.

Callum Gibson                                   callum.gibson_at_aus.deuba.com
Fixed Income IT, Deutsche Bank, Australia                    61 2 9258 1620
### The opinions presented herein do not represent those of my employer ###


This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:33 GMT