freebsd - A quesiton about "Warning: Object directory not changed from original" when executing "make" command -


i post issue on freebsd mailing list, unfortunately can't receive response. repost question here, , hope behavor doesn't violate conduct code of so.

i writing simple freebsd kernel module. after rebooting machine (i not sure whether reason), find "make" command can't work, , prompts following words:

# make warning: object directory not changed original /root/hello 

even though delete , upload new file, issue still exists.

after referring post, try "make obj" command, "make" works:

# make obj /usr/obj/root/hello created /root/hello # make @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include ...... 

i can't figure out root cause behind it:
(1) why make complain "warning: object directory not changed original /root/hello" although have updated file?
(2) why "make obj" can save "make"?


Comments

Popular posts from this blog

Combining PHP Registration and Login into one class with multiple functions in one PHP file -

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -