Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 May 2022 09:06:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263750] random_fortuna: standalone module build broken in stable/12
Message-ID:  <bug-263750-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263750

            Bug ID: 263750
           Summary: random_fortuna: standalone module build broken in
                    stable/12
           Product: Base System
           Version: 12.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: eugen@freebsd.org
                CC: cem@freebsd.org

cd /home/src/sys/modules/random_fortuna

/home/src/sys/dev/random/randomdev.c:70:13: error: conflicting types for
'read_random_uio'
static int (read_random_uio)(struct uio *, bool);
            ^
/home/src/sys/sys/random.h:73:1: note: previous definition is here
read_random_uio(void *a __unused, u_int b __unused)
^
/home/src/sys/dev/random/randomdev.c:96:2: error: use of undeclared identif=
ier
'_read_random_uio'
        _read_random_uio =3D (read_random_uio);
        ^
/home/src/sys/dev/random/randomdev.c:97:2: error: use of undeclared identif=
ier
'_read_random'
        _read_random =3D (read_random);
        ^
/home/src/sys/dev/random/randomdev.c:98:2: error: use of undeclared identif=
ier
'_is_random_seeded'
        _is_random_seeded =3D (is_random_seeded);
        ^
/home/src/sys/dev/random/randomdev.c:160:2: error: conflicting types for
'read_random_uio'
(read_random_uio)(struct uio *uio, bool nonblock)
 ^
/home/src/sys/sys/random.h:73:1: note: previous definition is here
read_random_uio(void *a __unused, u_int b __unused)
^
/home/src/sys/dev/random/randomdev.c:261:2: error: redefinition of
'read_random'
(read_random)(void *random_buf, u_int len)
 ^
/home/src/sys/sys/random.h:78:1: note: previous definition is here
read_random(void *a __unused, u_int b __unused)
^
/home/src/sys/dev/random/randomdev.c:295:2: error: redefinition of
'is_random_seeded'
(is_random_seeded)(void)
 ^
/home/src/sys/sys/random.h:82:1: note: previous definition is here
is_random_seeded(void)
^
7 errors generated.
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263750-227>