[Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')"
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-approval requested: [Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long') : [Attachment 246983] [patch] look in wrkdir for include files before /usr/local"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Nov 2022 06:47:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267842
Bug ID: 267842
Summary: sysutils/u-boot-tools: error: typedef redefinition
with different types ('uint64_t' (aka 'unsigned long')
vs 'unsigned long long')
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: uboot@FreeBSD.org
Reporter: freebsd@sysctl.cz
Assignee: uboot@FreeBSD.org
Flags: maintainer-feedback?(uboot@FreeBSD.org)
Hi,
I have still issue with u-boot on a clean installation
uname -a
FreeBSD hades 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64
clang -v
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git
llvmorg-13.0.0-0-gd7b669b3a303)
Target: x86_64-unknown-freebsd13.1
Thread model: posix
InstalledDir: /usr/bin
/scripts/dtc/libfdt -I./tools -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE -std=gnu99 -I/usr/local/include -c -o tools/kwbimage.o
tools/kwbimage.c
In file included from tools/kwbimage.c:14:
In file included from include/image.h:19:
In file included from ./arch/sandbox/include/asm/byteorder.h:20:
In file included from include/linux/byteorder/little_endian.h:13:
/usr/local/include/linux/types.h:9:18: error: typedef redefinition with
different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')
typedef uint64_t __u64;
^
include/asm-generic/int-ll64.h:29:42: note: previous definition is here
__extension__ typedef unsigned long long __u64;
^
In file included from tools/kwbimage.c:14:
In file included from include/image.h:19:
In file included from ./arch/sandbox/include/asm/byteorder.h:20:
In file included from include/linux/byteorder/little_endian.h:13:
/usr/local/include/linux/types.h:22:17: error: typedef redefinition with
different types ('int64_t' (aka 'long') vs 'long long')
typedef int64_t __s64;
^
include/asm-generic/int-ll64.h:28:44: note: previous definition is here
__extension__ typedef __signed__ long long __s64;
^
In file included from tools/kwbimage.c:14:
In file included from include/image.h:19:
In file included from ./arch/sandbox/include/asm/byteorder.h:20:
include/linux/byteorder/little_endian.h:45:15: error: unknown type name
'__le64'
static inline __le64 __cpu_to_le64p(const __u64 *p)
^
include/linux/byteorder/little_endian.h:47:18: error: use of undeclared
identifier '__le64'
return (__force __le64)*p;
^
include/linux/byteorder/little_endian.h:49:42: error: unknown type name
'__le64'
static inline __u64 __le64_to_cpup(const __le64 *p)
^
include/linux/byteorder/little_endian.h:53:15: error: unknown type name
'__le32'
static inline __le32 __cpu_to_le32p(const __u32 *p)
^
include/linux/byteorder/little_endian.h:55:18: error: use of undeclared
identifier '__le32'
return (__force __le32)*p;
^
include/linux/byteorder/little_endian.h:57:42: error: unknown type name
'__le32'
static inline __u32 __le32_to_cpup(const __le32 *p)
^
include/linux/byteorder/little_endian.h:61:15: error: unknown type name
'__le16'
static inline __le16 __cpu_to_le16p(const __u16 *p)
^
include/linux/byteorder/little_endian.h:63:18: error: use of undeclared
identifier '__le16'
return (__force __le16)*p;
^
include/linux/byteorder/little_endian.h:65:42: error: unknown type name
'__le16'
static inline __u16 __le16_to_cpup(const __le16 *p)
^
include/linux/byteorder/little_endian.h:69:15: error: unknown type name
'__be64'
static inline __be64 __cpu_to_be64p(const __u64 *p)
^
include/linux/byteorder/little_endian.h:71:18: error: use of undeclared
identifier '__be64'
return (__force __be64)__swab64p(p);
^
include/linux/byteorder/little_endian.h:73:42: error: unknown type name
'__be64'
static inline __u64 __be64_to_cpup(const __be64 *p)
^
include/linux/byteorder/little_endian.h:77:15: error: unknown type name
'__be32'
static inline __be32 __cpu_to_be32p(const __u32 *p)
^
include/linux/byteorder/little_endian.h:79:18: error: use of undeclared
identifier '__be32'
return (__force __be32)__swab32p(p);
^
include/linux/byteorder/little_endian.h:81:42: error: unknown type name
'__be32'
static inline __u32 __be32_to_cpup(const __be32 *p)
^
include/linux/byteorder/little_endian.h:85:15: error: unknown type name
'__be16'
static inline __be16 __cpu_to_be16p(const __u16 *p)
^
include/linux/byteorder/little_endian.h:87:18: error: use of undeclared
identifier '__be16'
return (__force __be16)__swab16p(p);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[2]: *** [scripts/Makefile.host:112: tools/kwbimage.o] Error 1
gmake[1]: *** [Makefile:1995: tools-only] Error 2
gmake[1]: Leaving directory
'/usr/ports/sysutils/u-boot-tools/work/u-boot-2020.07'
--
You are receiving this mail because:
You are the assignee for the bug.