Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

More ksyms-related build errors



With the latest commits, I'm still getting this error on amd64:

#   compile  kdump/kdump-ioctl.o
...
In file included from /build/netbsd-local/src/sys/sys/dkio.h:35:0,
                 from /build/netbsd-local/src/sys/sys/disk.h:85,
                 from kdump-ioctl.c:16:kdump-ioctl.c: In function 'ioctlname':
/build/netbsd-local/src/sys/sys/ksyms.h:111:35: error: invalid application of 'sizeof' to incomplete type 'struct ksyms_gsymbol'
 #define KIOCGSYMBOL _IOWR('l', 5, struct ksyms_gsymbol)
                                   ^
/build/netbsd-local/src/sys/sys/ioccom.h:67:19: note: in definition of macro '_IOC'
     ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \
                   ^
/build/netbsd-local/src/sys/sys/ksyms.h:111:21: note: in expansion of macro '_IOWR'
 #define KIOCGSYMBOL _IOWR('l', 5, struct ksyms_gsymbol)
                     ^
kdump-ioctl.c:8563:7: note: in expansion of macro 'KIOCGSYMBOL'
  case KIOCGSYMBOL:
       ^
*** [kdump-ioctl.o] Error code 1


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index