Survex 1.1.6 development snapshot uploaded

Olly Betts olly at survex.com
Tue Oct 11 19:56:32 BST 2005


On Tue, Oct 11, 2005 at 09:25:29AM +0100, Andy Waddington wrote:
> On Tuesday 2005-10-11 00:51, Wookey wrote:
> > You are on a Debian machine: whilst building with plain configure etc can no
> > doubt be made to work it's not the 'debian way'.
> 
> There's nothing in the INSTALL file that suggests that

No, apart from the very first paragraph which says:

  If you are using Debian Linux or RedHat Linux or a distribution based
  on one of these, you might prefer to install one of the prepackaged
  Linux versions.

Installing the debian package of something is the "debian way".

> Then seems to run through OK for a long while, until in survex-1.1.6/src,
> in remove_subnets.c I start getting a string of warnings "cast increases
> required alignment of target type", which doesn't seem to stop anything.
> There are quite a few similar warnings in later files.

There is no "remove_subnets.c", but anyway those are harmless.  The
pointer being cast comes from malloc() so is suitably aligned for any
target type.  I've not spotted how to avoid them though.

> followed by two screens full of errors in this one file - I'll capture this 
> lot and email it off-list.

Don't bother - once the compile has hit an error, you typically get an
avalanche of useless errors, which is what this will be.  For example:

> quaternion.h:32: error: 'Double' is used as a type, but is not defined as
> a type.

The problem is that Double is a typedef for GLdouble, but that typedef
failed because GLdouble wasn't defined because you're missing the GL
headers.

The problem is you don't have the GL dev packages installed, and sending
me logs won't fix that.

Cheers,
    Olly



More information about the Survex mailing list