Hi, I attempted to upgrade from the kernel from 3.14 to 4.1 today. I'm getting some compilation issues which seem to be caused by certain dynamically generated function definitions not being declared static inline in include/linux/of.h. If I hand edit this file and add a static inline in front of the function definitions, compilation proceeds successfully with no errors. It looks like maybe these functions are added dynamically to this header file during compilation.
arch/arm/kernel/time.o: In function `of_changeset_add_property_u32': /home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/include/linux/of.h:1116: multiple definition of `of_changeset_add_property_u32' arch/arm/kernel/setup.o:/home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/include/linux/of.h:1116: first defined here arch/arm/kernel/time.o: In function `of_changeset_add_property_copy': /home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/arch/arm/kernel/time.c:61: multiple definition of `of_changeset_add_property_copy' arch/arm/kernel/setup.o:/home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/arch/arm/kernel/setup.c:1116: first defined here arch/arm/kernel/time.o: In function `of_changeset_add_property_string': /home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/include/linux/of.h:1089: multiple definition of `of_changeset_add_property_string' arch/arm/kernel/setup.o:/home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/include/linux/of.h:1089: first defined here arch/arm/kernel/time.o: In function `of_changeset_add_property_bool': /home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/include/linux/of.h:1122: multiple definition of `of_changeset_add_property_bool' arch/arm/kernel/setup.o:/home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/include/linux/of.h:1122: first defined here arch/arm/kernel/time.o: In function `of_changeset_add_property_string_list': /home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/include/linux/of.h:1110: multiple definition of `of_changeset_add_property_string_list' arch/arm/kernel/setup.o:/home/dallas/projects/mineredge/me-1.6/standard-firmware/buildroot/output/build/linux-4.1/include/linux/of.h:1110: first defined here Would appreciate any help anyone can provide. Dallas -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
