HEAD compile error on Alpha Linux and Compaq C Compiler

From: Guido Serassio <serassio@dont-contact.us>
Date: Sat, 22 Dec 2001 18:38:15 +0100

Hi,

I just found a minor issue on HEAD:

On my Alpha running RHL 7.0, I can't compile HEAD using the ccc Compaq C
Compiler for Linux.

This is the compiler output:

Making all in lib
make[1]: Entering directory `/home/serassio/cygwin-svc/lib'
source='ntlmauth.c' object='ntlmauth.o' libtool=no \
depfile='.deps/ntlmauth.Po' tmpdepfile='.deps/ntlmauth.TPo' \
depmode=tru64 /bin/sh ../cfgaux/depcomp \
ccc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -s -c
`test -f ntlmauth.c || echo '
./'`ntlmauth.c
cc: Error: /usr/include/bits/byteswap.h, line 32: This declaration contains
a redefinition of "__bswap_16
". The previous declaration is at line number 32 in file
/usr/include/bits/byteswap.h. (redef)
__bswap_16 (unsigned short int __bsx)
^
cc: Error: /usr/include/bits/byteswap.h, line 47: This declaration contains
a redefinition of "__bswap_32
". The previous declaration is at line number 47 in file
/usr/include/bits/byteswap.h. (redef)
__bswap_32 (unsigned int __bsx)
^
make[1]: *** [ntlmauth.o] Error 1
make[1]: Leaving directory `/home/serassio/cygwin-svc/lib'
make: *** [all-recursive] Error 1

Using gcc all works fine, and ccc compiles 2.3 and 2.4 without problems.

Some system Info:

serassio@io cygwin-svc]$ uname -a
Linux io.sg.private 2.4.13 #10 Sat Nov 17 18:37:33 CET 2001 alpha unknown

serassio@io cygwin-svc]$ ccc -V
Compaq C V6.4-005 on Linux 2.4.13 alpha
Compiler Driver V6.4-005 (Linux) cc Driver
Installed as ccc-6.4.9.005-1
Red Hat Linux release 7.0 (Guinness)
Using /usr/lib/gcc-lib/alpha-redhat-linux/2.96 (4).

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: serassio@interfree.it
         serassio@libero.it
WWW: http://www.serassio.it
Received on Sat Dec 22 2001 - 10:38:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:41 MST