tech-x11 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
netbsd-5: mga_drv.o build failure
Hello,
a kernel with `mgadrm* at vga?' fails to build from netbsd-5 sources:
[...]
cc1: warnings being treated as errors
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c: In function
'mga_driver_device_is_agp':
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:77: warning: implicit
declaration of function 'device_get_parent'
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:77: warning: assignment
makes pointer from integer without a cast
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:79: warning: implicit
declaration of function 'pci_get_device'
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:80: warning: implicit
declaration of function 'pci_get_vendor'
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c: In function 'mga_probe':
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:122: warning: passing
argument 1 of 'drm_probe' from incompatible pointer type
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c: In function 'mga_attach':
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:135: warning: passing
argument 2 of 'drm_attach' from incompatible pointer type
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:135: error: too few
arguments to function 'drm_attach'
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c: In function 'mga_detach':
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:144: error: too few
arguments to function 'drm_detach'
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c: At top level:
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:151: error: expected '=',
',', ';', 'asm' or '__attribute__' before 'mga_methods'
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:160: error: expected '=',
',', ';', 'asm' or '__attribute__' before 'mga_driver'
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:170: error: expected ')'
before numeric constant
/usr/src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c:172: error: expected ')'
before numeric constant
*** [mga_drv.o] Error code 1
1 error
[...]
Regards, Jukka
--
This email fills a much-needed gap in the archives.
Home |
Main Index |
Thread Index |
Old Index