Date: Sun, 06 Sep 1998 16:58:33 -0400 From: "Gary Palmer" <gpalmer@FreeBSD.ORG> To: freebsd-alpha@FreeBSD.ORG Cc: dfr@FreeBSD.ORG Subject: alpha kernel broken? Message-ID: <22949.905115513@gjp.erols.com>
next in thread | raw e-mail | index | archive | help
I've been trying to compile an alpha kernel to make use of the elf dynmic loader, but keep running into a bunch of multiple definition warnings from the linker. What doesn't make any sense is that it claims the definitions are on the same line... Any ideas? Thanks, Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info -- SNIP -- root@sloth:/sys/compile/SLOTH> make loading kernel subr_bus.o: In function `devclass_find': /sys/compile/SLOTH/../../kern/subr_bus.c:165: multiple definition of `devclass_find' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:165: first defined here subr_bus.o: In function `devclass_add_driver': /sys/compile/SLOTH/../../kern/subr_bus.c:171: multiple definition of `devclass_add_driver' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:171: first defined here subr_bus.o: In function `devclass_delete_driver': /sys/compile/SLOTH/../../kern/subr_bus.c:189: multiple definition of `devclass_delete_driver' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:189: first defined here subr_bus.o: In function `device_set_driver': /sys/compile/SLOTH/../../kern/subr_bus.c:671: multiple definition of `device_set_driver' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:671: first defined here subr_bus.o: In function `devclass_find_driver': /sys/compile/SLOTH/../../kern/subr_bus.c:218: multiple definition of `devclass_find_driver' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:218: first defined here subr_bus.o: In function `devclass_get_name': /sys/compile/SLOTH/../../kern/subr_bus.c:232: multiple definition of `devclass_get_name' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:232: first defined here subr_bus.o: In function `devclass_get_device': /sys/compile/SLOTH/../../kern/subr_bus.c:238: multiple definition of `devclass_get_device' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:238: first defined here subr_bus.o: In function `devclass_get_softc': /sys/compile/SLOTH/../../kern/subr_bus.c:248: multiple definition of `devclass_get_softc' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:248: first defined here subr_bus.o: In function `devclass_get_devices': /sys/compile/SLOTH/../../kern/subr_bus.c:258: multiple definition of `devclass_get_devices' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:258: first defined here subr_bus.o: In function `devclass_get_maxunit': /sys/compile/SLOTH/../../kern/subr_bus.c:289: multiple definition of `devclass_get_maxunit' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:289: first defined here subr_bus.o: In function `device_get_name': /sys/compile/SLOTH/../../kern/subr_bus.c:562: multiple definition of `device_get_name' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:562: first defined here subr_bus.o: In function `device_get_unit': /sys/compile/SLOTH/../../kern/subr_bus.c:571: multiple definition of `device_get_unit' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:571: first defined here subr_bus.o: In function `device_is_alive': /sys/compile/SLOTH/../../kern/subr_bus.c:649: multiple definition of `device_is_alive' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:649: first defined here subr_bus.o: In function `device_get_desc': /sys/compile/SLOTH/../../kern/subr_bus.c:577: multiple definition of `device_get_desc' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:577: first defined here subr_bus.o: In function `device_add_child': /sys/compile/SLOTH/../../kern/subr_bus.c:429: multiple definition of `device_add_child' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:429: first defined here subr_bus.o: In function `device_add_child_after': /sys/compile/SLOTH/../../kern/subr_bus.c:442: multiple definition of `device_add_child_after' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:442: first defined here subr_bus.o: In function `device_delete_child': /sys/compile/SLOTH/../../kern/subr_bus.c:458: multiple definition of `device_delete_child' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:458: first defined here subr_bus.o: In function `device_find_child': /sys/compile/SLOTH/../../kern/subr_bus.c:476: multiple definition of `device_find_child' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:476: first defined here subr_bus.o: In function `device_set_devclass': /sys/compile/SLOTH/../../kern/subr_bus.c:654: multiple definition of `device_set_devclass' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:654: first defined here subr_bus.o: In function `device_get_parent': /sys/compile/SLOTH/../../kern/subr_bus.c:545: multiple definition of `device_get_parent' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:545: first defined here subr_bus.o: In function `device_get_driver': /sys/compile/SLOTH/../../kern/subr_bus.c:551: multiple definition of `device_get_driver' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:551: first defined here subr_bus.o: In function `device_get_devclass': /sys/compile/SLOTH/../../kern/subr_bus.c:557: multiple definition of `device_get_devclass' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:557: first defined here subr_bus.o: In function `device_set_desc': /sys/compile/SLOTH/../../kern/subr_bus.c:583: multiple definition of `device_set_desc' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:583: first defined here subr_bus.o: In function `device_get_softc': /sys/compile/SLOTH/../../kern/subr_bus.c:589: multiple definition of `device_get_softc' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:589: first defined here subr_bus.o: In function `device_get_ivars': /sys/compile/SLOTH/../../kern/subr_bus.c:595: multiple definition of `device_get_ivars' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:595: first defined here subr_bus.o: In function `device_get_state': /sys/compile/SLOTH/../../kern/subr_bus.c:601: multiple definition of `device_get_state' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:601: first defined here subr_bus.o: In function `device_enable': /sys/compile/SLOTH/../../kern/subr_bus.c:607: multiple definition of `device_enable' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:607: first defined here subr_bus.o: In function `device_disable': /sys/compile/SLOTH/../../kern/subr_bus.c:613: multiple definition of `device_disable' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:613: first defined here subr_bus.o: In function `device_busy': /sys/compile/SLOTH/../../kern/subr_bus.c:618: multiple definition of `device_busy' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:618: first defined here subr_bus.o: In function `device_unbusy': /sys/compile/SLOTH/../../kern/subr_bus.c:629: multiple definition of `device_unbusy' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:629: first defined here subr_bus.o: In function `device_is_enabled': /sys/compile/SLOTH/../../kern/subr_bus.c:643: multiple definition of `device_is_enabled' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:643: first defined here subr_bus.o: In function `device_probe_and_attach': /sys/compile/SLOTH/../../kern/subr_bus.c:694: multiple definition of `device_probe_and_attach' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:694: first defined here subr_bus.o: In function `device_detach': /sys/compile/SLOTH/../../kern/subr_bus.c:724: multiple definition of `device_detach' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:724: first defined here subr_bus.o: In function `device_shutdown': /sys/compile/SLOTH/../../kern/subr_bus.c:746: multiple definition of `device_shutdown' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:746: first defined here subr_bus.o: In function `resource_int_value': /sys/compile/SLOTH/../../kern/subr_bus.c:811: multiple definition of `resource_int_value' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:811: first defined here subr_bus.o: In function `resource_long_value': /sys/compile/SLOTH/../../kern/subr_bus.c:824: multiple definition of `resource_long_value' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:824: first defined here subr_bus.o: In function `resource_string_value': /sys/compile/SLOTH/../../kern/subr_bus.c:837: multiple definition of `resource_string_value' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:837: first defined here subr_bus.o: In function `resource_query_string': /sys/compile/SLOTH/../../kern/subr_bus.c:850: multiple definition of `resource_query_string' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:850: first defined here subr_bus.o: In function `resource_query_name': /sys/compile/SLOTH/../../kern/subr_bus.c:863: multiple definition of `resource_query_name' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:863: first defined here subr_bus.o: In function `resource_query_unit': /sys/compile/SLOTH/../../kern/subr_bus.c:869: multiple definition of `resource_query_unit' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:869: first defined here subr_bus.o: In function `bus_generic_attach': /sys/compile/SLOTH/../../kern/subr_bus.c:879: multiple definition of `bus_generic_attach' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:879: first defined here subr_bus.o: In function `bus_generic_detach': /sys/compile/SLOTH/../../kern/subr_bus.c:892: multiple definition of `bus_generic_detach' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:892: first defined here subr_bus.o: In function `bus_generic_shutdown': /sys/compile/SLOTH/../../kern/subr_bus.c:908: multiple definition of `bus_generic_shutdown' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:908: first defined here subr_bus.o: In function `bus_generic_print_child': /sys/compile/SLOTH/../../kern/subr_bus.c:921: multiple definition of `bus_generic_print_child' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:921: first defined here subr_bus.o: In function `bus_generic_read_ivar': /sys/compile/SLOTH/../../kern/subr_bus.c:926: multiple definition of `bus_generic_read_ivar' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:926: first defined here subr_bus.o: In function `bus_generic_write_ivar': /sys/compile/SLOTH/../../kern/subr_bus.c:932: multiple definition of `bus_generic_write_ivar' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:932: first defined here subr_bus.o: In function `bus_generic_create_intr': /sys/compile/SLOTH/../../kern/subr_bus.c:937: multiple definition of `bus_generic_create_intr' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:937: first defined here subr_bus.o: In function `bus_generic_connect_intr': /sys/compile/SLOTH/../../kern/subr_bus.c:947: multiple definition of `bus_generic_connect_intr' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:947: first defined here subr_bus.o: In function `root_bus_configure': /sys/compile/SLOTH/../../kern/subr_bus.c:1012: multiple definition of `root_bus_configure' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:1012: first defined here subr_bus.o: In function `driver_module_handler': /sys/compile/SLOTH/../../kern/subr_bus.c:1024: multiple definition of `driver_module_handler' subr_bus.o:/sys/compile/SLOTH/../../kern/subr_bus.c:1024: first defined here device_if.o: In function `DEVICE_PROBE': /sys/compile/SLOTH/device_if.c:22: multiple definition of `device_probe_desc' device_if.o:/sys/compile/SLOTH/device_if.c:22: first defined here device_if.o: In function `DEVICE_PROBE': /sys/compile/SLOTH/device_if.c:22: multiple definition of `DEVICE_PROBE' device_if.o:/sys/compile/SLOTH/device_if.c:22: first defined here device_if.o: In function `DEVICE_PROBE': /sys/compile/SLOTH/device_if.c:23: multiple definition of `device_attach_desc' device_if.o:/sys/compile/SLOTH/device_if.c:23: first defined here device_if.o: In function `DEVICE_ATTACH': /sys/compile/SLOTH/device_if.c:36: multiple definition of `DEVICE_ATTACH' device_if.o:/sys/compile/SLOTH/device_if.c:36: first defined here device_if.o: In function `DEVICE_PROBE': /sys/compile/SLOTH/device_if.c:23: multiple definition of `device_detach_desc' device_if.o:/sys/compile/SLOTH/device_if.c:23: first defined here device_if.o: In function `DEVICE_DETACH': /sys/compile/SLOTH/device_if.c:50: multiple definition of `DEVICE_DETACH' device_if.o:/sys/compile/SLOTH/device_if.c:50: first defined here device_if.o: In function `DEVICE_PROBE': /sys/compile/SLOTH/device_if.c:23: multiple definition of `device_shutdown_desc' device_if.o:/sys/compile/SLOTH/device_if.c:23: first defined here device_if.o: In function `DEVICE_SHUTDOWN': /sys/compile/SLOTH/device_if.c:64: multiple definition of `DEVICE_SHUTDOWN' device_if.o:/sys/compile/SLOTH/device_if.c:64: first defined here bus_if.o: In function `BUS_PRINT_CHILD': /sys/compile/SLOTH/bus_if.c:24: multiple definition of `bus_print_child_desc' bus_if.o:/sys/compile/SLOTH/bus_if.c:24: first defined here bus_if.o: In function `BUS_PRINT_CHILD': /sys/compile/SLOTH/bus_if.c:24: multiple definition of `BUS_PRINT_CHILD' bus_if.o:/sys/compile/SLOTH/bus_if.c:24: first defined here bus_if.o: In function `BUS_PRINT_CHILD': /sys/compile/SLOTH/bus_if.c:25: multiple definition of `bus_read_ivar_desc' bus_if.o:/sys/compile/SLOTH/bus_if.c:25: first defined here bus_if.o: In function `BUS_READ_IVAR': /sys/compile/SLOTH/bus_if.c:44: multiple definition of `BUS_READ_IVAR' bus_if.o:/sys/compile/SLOTH/bus_if.c:44: first defined here bus_if.o: In function `BUS_PRINT_CHILD': /sys/compile/SLOTH/bus_if.c:25: multiple definition of `bus_write_ivar_desc' bus_if.o:/sys/compile/SLOTH/bus_if.c:25: first defined here bus_if.o: In function `BUS_WRITE_IVAR': /sys/compile/SLOTH/bus_if.c:64: multiple definition of `BUS_WRITE_IVAR' bus_if.o:/sys/compile/SLOTH/bus_if.c:64: first defined here bus_if.o: In function `BUS_PRINT_CHILD': /sys/compile/SLOTH/bus_if.c:25: multiple definition of `bus_create_intr_desc' bus_if.o:/sys/compile/SLOTH/bus_if.c:25: first defined here bus_if.o: In function `BUS_CREATE_INTR': /sys/compile/SLOTH/bus_if.c:86: multiple definition of `BUS_CREATE_INTR' bus_if.o:/sys/compile/SLOTH/bus_if.c:86: first defined here bus_if.o: In function `BUS_PRINT_CHILD': /sys/compile/SLOTH/bus_if.c:25: multiple definition of `bus_connect_intr_desc' bus_if.o:/sys/compile/SLOTH/bus_if.c:25: first defined here bus_if.o: In function `BUS_CONNECT_INTR': /sys/compile/SLOTH/bus_if.c:102: multiple definition of `BUS_CONNECT_INTR' bus_if.o:/sys/compile/SLOTH/bus_if.c:102: first defined here *** Error code 1 Stop. -- SNIP -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22949.905115513>