MidnightBSD Magus

emulators/rtc

Kernel module which provides /dev/rtc device support

Flavor Version Run OSVersion Arch License Restricted Status
2004.02.24.1_9 519 3.0 amd64 bsd2 0 fail

Events

Machine Type Time Message
m3064b info 2023-03-06 15:05:06.567709 Test Started
m3064b fail 2023-03-06 15:05:08.197041 make build returned non-zero: 1
m3064b fail 2023-03-06 15:05:08.240336 Test complete.

Log

===>  Building for rtc-2004.02.24.1_9
--- vnode_if_newproto.h ---
--- vnode_if_typedef.h ---
--- machine ---
--- x86 ---
--- objwarn ---
--- vnode_if_newproto.h ---
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p
--- vnode_if_typedef.h ---
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q
--- objwarn ---
Warning: Object directory not changed from original /magus/work/usr/mports/emulators/rtc/work/files
--- machine ---
machine -> /usr/src/sys/amd64/include
--- x86 ---
x86 -> /usr/src/sys/x86/include
--- vnode_if.h ---
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h
--- rtc.o ---
--- rtc_linux.o ---
--- rtc.o ---
cc  -O2 -pipe -fno-strict-aliasing -DCDEV_MAJOR_=202  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/magus/work/usr/mports/emulators/rtc/work/files -I/sys -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include   -MD  -MF.depend.rtc.o -MTrtc.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length  -mno-aes -mno-avx  -std=iso9899:1999 -c rtc.c -o rtc.o
--- rtc_linux.o ---
cc  -O2 -pipe -fno-strict-aliasing -DCDEV_MAJOR_=202  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/magus/work/usr/mports/emulators/rtc/work/files -I/sys -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include   -MD  -MF.depend.rtc_linux.o -MTrtc_linux.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length  -mno-aes -mno-avx  -std=iso9899:1999 -c rtc_linux.c -o rtc_linux.o
--- rtc.o ---
rtc.c:166:2: error: implicit declaration of function 'MALLOC' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        MALLOC(sc, struct rtc_softc*, sizeof(*sc), M_DEVBUF, M_WAITOK);
        ^
rtc.c:166:13: error: expected expression
        MALLOC(sc, struct rtc_softc*, sizeof(*sc), M_DEVBUF, M_WAITOK);
                   ^
rtc.c:199:2: error: implicit declaration of function 'FREE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FREE(sc, M_DEVBUF);
        ^
rtc.c:436:43: error: too few arguments provided to function-like macro invocation
        timespecadd(&sc->var.lasttime, &increment);
                                                 ^
/sys/sys/time.h:377:9: note: macro 'timespecadd' defined here
#define timespecadd(tsp, usp, vsp)                                      \
        ^
rtc.c:436:2: error: use of undeclared identifier 'timespecadd'
        timespecadd(&sc->var.lasttime, &increment);
        ^
rtc.c:439:35: error: too few arguments provided to function-like macro invocation
        timespecadd(&nexttime, &increment);
                                         ^
/sys/sys/time.h:377:9: note: macro 'timespecadd' defined here
#define timespecadd(tsp, usp, vsp)                                      \
        ^
rtc.c:439:2: error: use of undeclared identifier 'timespecadd'
        timespecadd(&nexttime, &increment);
        ^
rtc.c:444:44: error: too few arguments provided to function-like macro invocation
                timespecsub(&sc->var.lasttime, &increment);
                                                         ^
/sys/sys/time.h:386:9: note: macro 'timespecsub' defined here
#define timespecsub(tsp, usp, vsp)                                      \
        ^
rtc.c:444:3: error: use of undeclared identifier 'timespecsub'
                timespecsub(&sc->var.lasttime, &increment);
                ^
rtc.c:445:34: error: too few arguments provided to function-like macro invocation
                timespecsub(&nexttime, &curtime);
                                               ^
/sys/sys/time.h:386:9: note: macro 'timespecsub' defined here
#define timespecsub(tsp, usp, vsp)                                      \
        ^
rtc.c:445:3: error: use of undeclared identifier 'timespecsub'
                timespecsub(&nexttime, &curtime);
                ^
rtc.c:451:34: error: too few arguments provided to function-like macro invocation
                timespecsub(&nexttime, &curtime);
                                               ^
/sys/sys/time.h:386:9: note: macro 'timespecsub' defined here
#define timespecsub(tsp, usp, vsp)                                      \
        ^
rtc.c:451:3: error: use of undeclared identifier 'timespecsub'
                timespecsub(&nexttime, &curtime);
                ^
13 errors generated.
*** [rtc.o] Error code 1

make[1]: stopped in /magus/work/usr/mports/emulators/rtc/work/files
1 error

make[1]: stopped in /magus/work/usr/mports/emulators/rtc/work/files
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/emulators/rtc

Links

Depends On

Depend Of

Nothing

Categories