troubles compiling kernel

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Sat Jul 3 09:27:56 PDT 2004


Hi

I have these troubles compiling (very fresh) current kernel
the first bug appears when compiling with -Os
/usr/src/sys/i386/acpica/acpi_wakeup.c: In function
`acpi_alloc_wakeup_handler':
/usr/src/sys/i386/acpica/acpi_wakeup.c:310: warning: dereferencing
type-punned pointer will break strict-aliasing rules

(which leads me to a question - how can I remove Werror from WARNFLAFS?
I have tried defining WERORR="" but it didnt help)

and second is:
===> usb
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
ln -s /usr/obj/usr/src/sys/NEOLOGISM/opt_usb.h opt_usb.h
make: don't know how to make usbdevs_data.h. Stop
*** Error code 2

this file should be autogenerated by Makefile.usbdevs which I dont have
(its not in cvs repo too)

roman



More information about the freebsd-current mailing list