[sane-devel] Compilation error on Compaq Tru64

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 13 Nov 2002 15:33:26 +0100


Hi,

On Wed, Nov 13, 2002 at 01:28:58PM +0000, Major A wrote:
> > I'm trying to compile sane-backends-1.0.9 on some of the HP test
> > machines (see http://testdrive.hp.com/). Until now, the tests were
> > rather successful. Compilation works on:
> 
> How the f... did you connect to them? I can't get a route to any of
> the machines, neither from Britain nor from Germany. I've told them
> 100000 times, they don't respond.

The have a rather restrictive firewall setup. Looks like only telnet
and ftp goes through, not even ssh or ping. I'm using Telekom/T-online
DSL. No problems with most testdrives, but some seem to be down.

Traceroute goes that way:
traceroute to spe152.testdrive.hp.com (192.233.54.152), 30 hops max, 38 byte packets
[...]
 4  Vienna-gw12.USA.net.DTAG.DE (62.156.131.190)  150.425 ms  150.911 ms  150.126 ms
 5  so-2-0-0.asbnva1-hcr1.bbnplanet.net (4.25.153.49)  151.562 ms  151.363 ms  150.809 ms
 6  so-6-0-0.washdc3-nbr1.bbnplanet.net (4.24.11.249)  150.232 ms  150.942 ms  151.358 ms
 7  so-7-0-0.washdc3-nbr2.bbnplanet.net (4.24.10.30)  152.237 ms  152.455 ms  152.797 ms
 8  p9-0.phlapa1-br2.bbnplanet.net (4.24.10.186)  152.107 ms  152.345 ms  150.852 ms
 9  p15-0.phlapa1-br1.bbnplanet.net (4.24.10.89)  148.738 ms  147.231 ms  148.118 ms
10  p13-0.nycmny1-nbr2.bbnplanet.net (4.24.10.178)  148.189 ms  149.766 ms  149.939 ms
11  so-4-0-0.bstnma1-nbr2.bbnplanet.net (4.24.6.49)  153.186 ms  154.626 ms  153.746 ms
12  so-7-0-0.bstnma1-nbr1.bbnplanet.net (4.24.10.217)  156.660 ms  157.096 ms  156.376 ms
13  p2-0.bstnma1-cr1.bbnplanet.net (4.24.4.210)  152.522 ms  153.674 ms  153.494 ms
14  p0-0-0.cpqtay.bbnplanet.net (4.24.80.198)  158.489 ms  161.049 ms  160.919 ms
15  us-zma-r04.zma.compaq.com (192.208.49.14)  153.810 ms  154.571 ms  156.502 ms
16  * * *
[...]

> > Tru64 Unix 5.1A/Alpha/cc:
> >     Compilation results in:
> > 
> > Looks like cc can't handle its own include file? Anyone any ideas?
> 
> I reported this one a while ago (just before the 1.0.9 release). I
> thought it's just our installation of Tru64, but if even HP does it
> wrong, then it probably isn't.

Yes, I remember. I think I found the problem: config.h defines
u_int8_t and others and so the lines in sys/bitypes.h look like this
after macro expansion:

typedef unsigned char     unsigned char, something;

We have already a workaround for this problem, but the code in
config.h was removed when we started using autoheader. I'll se how
this can be fixed.

Bye,
  Henning