Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Alexander Kozlov <alex@hale.appl.sci-nnov.ru>
Subject: compiling aboot
Date: Thu, 14 Aug 1997 21:59:22 +0400 (MSD)	[thread overview]
Message-ID: <e443fd2841a8efc014c2e673fc5c1cd8.axp-list@archive.invalid> (raw)

Hi,

I had conflicts between the OSF/1 types and linux defined types (see
below) while compiling aboot-0.5. 

Is there any more elegant solution than to edit files manually (#ifndef
#then etc.)? 

(AS 200 4/166, linux-2.0.30 from RedHat 4.2, gcc-2.7.2.2)

Alex.
----------------------
In file included from /usr/src/linux/include/linux/types.h:4,
                 from /usr/src/linux/include/asm/a.out.h:4,
                 from /usr/src/linux/include/linux/a.out.h:8,
                 from /usr/src/linux/arch/alpha/boot/tools/objstrip.c:23:
/usr/src/linux/include/linux/posix_types.h:44: redefinition of `struct fd_set'
In file included from /usr/src/linux/include/asm/a.out.h:4,
                 from /usr/src/linux/include/linux/a.out.h:8,
                 from /usr/src/linux/arch/alpha/boot/tools/objstrip.c:23:
/usr/src/linux/include/linux/types.h:9: warning: redefinition of `fd_set'
/usr/include/sys/select.h:147: warning: `fd_set' previously declared here
/usr/src/linux/include/linux/types.h:10: conflicting types for `dev_t'
/usr/include/sys/types.h:216: previous declaration of `dev_t'
/usr/src/linux/include/linux/types.h:11: warning: redefinition of `ino_t'
/usr/include/sys/types.h:214: warning: `ino_t' previously declared here
/usr/src/linux/include/linux/types.h:12: warning: redefinition of `mode_t'
/usr/include/sys/types.h:236: warning: `mode_t' previously declared here
/usr/src/linux/include/linux/types.h:13: conflicting types for `nlink_t'
/usr/include/sys/types.h:227: previous declaration of `nlink_t'
/usr/src/linux/include/linux/types.h:14: warning: redefinition of `off_t'
/usr/include/sys/types.h:222: warning: `off_t' previously declared here
/usr/src/linux/include/linux/types.h:15: warning: redefinition of `pid_t'
/usr/include/sys/types.h:256: warning: `pid_t' previously declared here
/usr/src/linux/include/linux/types.h:16: warning: redefinition of `uid_t'
/usr/include/sys/types.h:241: warning: `uid_t' previously declared here
/usr/src/linux/include/linux/types.h:17: warning: redefinition of `gid_t'
/usr/include/sys/types.h:246: warning: `gid_t' previously declared here
/usr/src/linux/include/linux/types.h:18: warning: redefinition of `daddr_t'
/usr/include/sys/types.h:210: warning: `daddr_t' previously declared here
/usr/src/linux/include/linux/types.h:55: warning: redefinition of `caddr_t'
/usr/include/sys/types.h:211: warning: `caddr_t' previously declared here
/usr/src/linux/include/linux/types.h:59: warning: redefinition of `u_char'
/usr/include/sys/types.h:357: warning: `u_char' previously declared here
/usr/src/linux/include/linux/types.h:60: warning: redefinition of `u_short'
/usr/include/sys/types.h:358: warning: `u_short' previously declared here
/usr/src/linux/include/linux/types.h:61: warning: redefinition of `u_int'
/usr/include/sys/types.h:359: warning: `u_int' previously declared here
/usr/src/linux/include/linux/types.h:62: warning: redefinition of `u_long'
/usr/include/sys/types.h:360: warning: `u_long' previously declared here
/usr/src/linux/include/linux/types.h:66: warning: redefinition of `ushort'
/usr/include/sys/types.h:349: warning: `ushort' previously declared here
/usr/src/linux/include/linux/types.h:67: warning: redefinition of `uint'
/usr/include/sys/types.h:350: warning: `uint' previously declared here
/usr/src/linux/include/linux/types.h:68: warning: redefinition of `ulong'
/usr/include/sys/types.h:351: warning: `ulong' previously declared here
make: *** [/usr/src/linux/arch/alpha/boot/tools/objstrip] Error 1

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

                 reply	other threads:[~1997-08-14 17:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox