Ok no go. after over an hour came back with pages of similar to below

cga.c:(.text+0x26f8): undefined reference to `isa8_device::install_bank(unsigned int, unsigned int, unsigned int, unsigned int, char const*, unsigned char*)'
cga.c:(.text+0x27f4): undefined reference to `isa8_device::install_memory(unsigned int, unsigned int, unsigned int, unsigned int, device_delegate<unsigned char (address_space&, unsigned int, unsigned char)>, device_delegate<void (address_space&, unsigned int, unsigned char, unsigned char)>)'
../../../../../scripts/mame_mame/libbus.a(cga.o): In function `isa8_cga_pc1512_device::isa8_cga_pc1512_device(machine_config const&, char const*, device_t*, unsigned int)':
cga.c:(.text+0x2de0): undefined reference to `device_isa8_card_interface::device_isa8_card_interface(machine_config const&, device_t&)'
cga.c:(.text+0x2eb2): undefined reference to `device_isa8_card_interface::~device_isa8_card_interface()'
../../../../../scripts/mame_mame/libbus.a(cga.o): In function `isa8_wyse700_device::isa8_wyse700_device(machine_config const&, char const*, device_t*, unsigned int)':
cga.c:(.text+0x31d8): undefined reference to `device_isa8_card_interface::device_isa8_card_interface(machine_config const&, device_t&)'
cga.c:(.text+0x32aa): undefined reference to `device_isa8_card_interface::~device_isa8_card_interface()'
../../../../../scripts/mame_mame/libbus.a(cga.o): In function `isa8_ec1841_0002_device::isa8_ec1841_0002_device(machine_config const&, char const*, device_t*, unsigned int)':
cga.c:(.text+0x330c): undefined reference to `device_isa8_card_interface::device_isa8_card_interface(machine_config const&, device_t&)'
cga.c:(.text+0x33d2): undefined reference to `device_isa8_card_interface::~device_isa8_card_interface()'
../../../../../scripts/mame_mame/libbus.a(cga.o): In function `isa8_cga_mc1502_device::isa8_cga_mc1502_device(machine_config const&, char const*, device_t*, unsigned int)':
cga.c:(.text+0x3434): undefined reference to `device_isa8_card_interface::device_isa8_card_interface(machine_config const&, device_t&)'
cga.c:(.text+0x3506): undefined reference to `device_isa8_card_interface::~device_isa8_card_interface()'
../../../../../scripts/mame_mame/libbus.a(cga.o): In function `isa8_cga_iskr1031_device::isa8_cga_iskr1031_device(machine_config const&, char const*, device_t*, unsigned int)':
cga.c:(.text+0x3568): undefined reference to `device_isa8_card_interface::device_isa8_card_interface(machine_config const&, device_t&)'
cga.c:(.text+0x362e): undefined reference to `device_isa8_card_interface::~device_isa8_card_interface()'
../../../../../scripts/mame_mame/libbus.a(cga.o): In function `isa8_cga_iskr1030m_device::isa8_cga_iskr1030m_device(machine_config const&, char const*, device_t*, unsigned int)':
cga.c:(.text+0x3690): undefined reference to `device_isa8_card_interface::device_isa8_card_interface(machine_config const&, device_t&)'
cga.c:(.text+0x3756): undefined reference to `device_isa8_card_interface::~device_isa8_card_interface()'
../../../../../scripts/mame_mame/libbus.a(cga.o): In function `isa8_cga_m24_device::isa8_cga_m24_device(machine_config const&, char const*, device_t*, unsigned int)':
cga.c:(.text+0x37b8): undefined reference to `device_isa8_card_interface::device_isa8_card_interface(machine_config const&, device_t&)'
cga.c:(.text+0x3886): undefined reference to `device_isa8_card_interface::~device_isa8_card_interface()'
../../../../../scripts/mame_mame/libbus.a(cga.o): In function `isa8_cga_device::device_start()':
cga.c:(.text+0x3d0c): undefined reference to `device_isa8_card_interface::set_isa_device()'

alto2cpu.c:(.text+0xc50): undefined reference to `alto2_cpu_device::exit_ether()'
alto2cpu.c:(.text+0xc5c): undefined reference to `alto2_cpu_device::exit_emu()'
../../../../../scripts/mame_mame/liboptional.a(alto2cpu.o): In function `alto2_cpu_device::hard_reset()':
alto2cpu.c:(.text+0x363e): undefined reference to `alto2_cpu_device::init_emu(int)'
alto2cpu.c:(.text+0x364e): undefined reference to `alto2_cpu_device::init_ether(int)'
collect2: error: ld returned 1 exit status