I have created a new file called /usr/src/sys/amd64/amd64/hibernate_machdep.c
In this file, I have defined a function and I declare that function in /usr/src/sys/sys/hibernate.h
I called that function in acpi.c file
I have included this header in file in both "hibernate_machdep.c" and "acpi.c"
while building kernel, it shows an error of unable to find the definition.
Please give solution for compiling that newly created file while building.
In this file, I have defined a function and I declare that function in /usr/src/sys/sys/hibernate.h
I called that function in acpi.c file
I have included this header in file in both "hibernate_machdep.c" and "acpi.c"
while building kernel, it shows an error of unable to find the definition.
Please give solution for compiling that newly created file while building.