Originally Posted By Kaylee
I get this while compiling the Latest SVN, but only if I use OSD=winui

Code:
make TARGET=mess OSD=winui
Compiling src/mess/video/pdp1.c...
src/mess/video/pdp1.c: In function 'void pdp1_draw_panel(running_machine*, bitmap_t*)':
src/mess/video/pdp1.c:306: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [obj/winui/mess/mess/video/pdp1.o] Error 1

Compiles fine if I drop the OSD=winui


I think you use XP 32-bit too.
Do you have any problems to (clean) compile the tools ?

My results:

make TARGET=MESS tools

Quote:
C:\Emulator\Mess\SVN\Bin\mess>make TARGET=MESS tools
Linking messtest.exe...
obj/windows/MESS/libemu.a(driver.o):driver.c:(.text+0x33): undefined reference t
o `drivers'
obj/windows/MESS/libemu.a(driver.o):driver.c:(.text+0x5a): undefined reference t
o `drivers'
obj/windows/MESS/libemu.a(driver.o):driver.c:(.text+0x82): undefined reference t
o `drivers'
obj/windows/MESS/libemu.a(driver.o):driver.c:(.text+0xaa): undefined reference t
o `drivers'
obj/windows/MESS/libemu.a(driver.o):driver.c:(.text+0xd2): undefined reference t
o `drivers'
obj/windows/MESS/libemu.a(driver.o):driver.c:(.text+0xfa): more undefined refere
nces to `drivers' follow
obj/windows/MESS/libemu.a(ldpr8210.o):ldpr8210.c:(.text+0x5c5): undefined refere
nce to `I8049'
obj/windows/MESS/libemu.a(ldpr8210.o):ldpr8210.c:(.text+0x6a5): undefined refere
nce to `I8748'
obj/windows/MESS/libemu.a(ldv1000.o):ldv1000.c:(.text+0x6d5): undefined referenc
e to `Z80'
obj/windows/MESS/libemu.a(ldvp931.o):ldvp931.c:(.text+0x515): undefined referenc
e to `I8049'
obj/windows/MESS/libemu.a(z80ctc.o):z80ctc.c:(.text+0xb96): undefined reference
to `device_config_z80daisy_interface::device_config_z80daisy_interface(machine_c
onfig const&, device_config&)'
obj/windows/MESS/libemu.a(z80ctc.o):z80ctc.c:(.text+0xc86): undefined reference
to `device_config_z80daisy_interface::device_config_z80daisy_interface(machine_c
onfig const&, device_config&)'
obj/windows/MESS/libemu.a(z80ctc.o):z80ctc.c:(.text+0xd55): undefined reference
to `device_z80daisy_interface::device_z80daisy_interface(running_machine&, devic
e_config const&, device_t&)'
obj/windows/MESS/libemu.a(z80ctc.o):z80ctc.c:(.text+0xf65): undefined reference
to `device_z80daisy_interface::device_z80daisy_interface(running_machine&, devic
e_config const&, device_t&)'
obj/windows/MESS/libemu.a(z80ctc.o):z80ctc.c:(.text+0x15f3): undefined reference
to `device_config_z80daisy_interface::device_config_z80daisy_interface(machine_
config const&, device_config&)'
obj/windows/MESS/libemu.a(z80ctc.o):z80ctc.c:(.text$_ZN20z80ctc_device_configD1E
v[z80ctc_device_config::~z80ctc_device_config()]+0x55): undefined reference to `
device_config_z80daisy_interface::~device_config_z80daisy_interface()'
obj/windows/MESS/libemu.a(z80ctc.o):z80ctc.c:(.text$_ZN20z80ctc_device_configD0E
v[z80ctc_device_config::~z80ctc_device_config()]+0x55): undefined reference to `
device_config_z80daisy_interface::~device_config_z80daisy_interface()'
obj/windows/MESS/libemu.a(z80ctc.o):z80ctc.c:(.text$_ZN13z80ctc_deviceD0Ev[z80ct
c_device::~z80ctc_device()]+0x50): undefined reference to `device_z80daisy_inter
face::~device_z80daisy_interface()'
obj/windows/MESS/libemu.a(z80ctc.o):z80ctc.c:(.text$_ZN13z80ctc_deviceD1Ev[z80ct
c_device::~z80ctc_device()]+0x50): undefined reference to `device_z80daisy_inter
face::~device_z80daisy_interface()'
collect2: ld returned 1 exit status
make: *** [messtest.exe] Error 1


make TARGET=mess tools

Quote:
C:\Emulator\Mess\SVN\Bin\mess>make TARGET=mess tools
Linking messtest.exe...
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0xc5a): undefined refere
nce to `jaguar_shared_ram'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0xdbd): undefined refere
nce to `jaguar_gpu_clut'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0xebf): undefined refere
nce to `jaguar_gpu_ram'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0x10f4): undefined refer
ence to `jaguar_dsp_ram'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0x16ed): undefined refer
ence to `jaguar_gpu_ram'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0x1a51): undefined refer
ence to `jaguar_shared_ram'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0x1e00): undefined refer
ence to `jaguar_shared_ram'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0x1e23): undefined refer
ence to `jaguar_shared_ram'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0x22c6): undefined refer
ence to `jaguar_shared_ram'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0x24a3): undefined refer
ence to `jaguar_shared_ram'
obj/windows/mess/mess/atari.a(jaguar.o):jaguar.c:(.text+0x252c): more undefined
references to `jaguar_shared_ram' follow
obj/windows/mess/mess/nec.a(pce.o):pce.c:(.text+0x151): undefined reference to `
machine_reset_pce(running_machine*)'
obj/windows/mess/mess/nec.a(pce.o):pce.c:(.text+0x813): undefined reference to `
machine_reset_pce(running_machine*)'
obj/windows/mess/mess/nec.a(pce.o):pce.c:(.text+0x1681): undefined reference to
`pce_user_ram'
obj/windows/mess/mess/nec.a(pce.o):pce.c:(.text+0x18e2): undefined reference to
`pce_joystick_w(address_space*, unsigned int, unsigned char)'
obj/windows/mess/mess/nec.a(pce.o):pce.c:(.text+0x18f7): undefined reference to
`pce_joystick_r(address_space*, unsigned int)'
obj/windows/mess/mess/nec.a(pce.o):pce.c:(.text+0x1bd8): undefined reference to
`pce_user_ram'
obj/windows/mess/mess/nec.a(pce.o):pce.c:(.text+0x1d78): undefined reference to
`pce_joystick_w(address_space*, unsigned int, unsigned char)'
obj/windows/mess/mess/nec.a(pce.o):pce.c:(.text+0x1d8d): undefined reference to
`pce_joystick_r(address_space*, unsigned int)'
obj/windows/mess/mess/nec.a(pce.o):pce.c:(.rdata+0x220): undefined reference to
`driver_init_pce(running_machine*)'
obj/windows/mess/mess/philips.a(cdi.o):cdi.c:(.text+0x293): undefined reference
to `layout_cdi'
obj/windows/mess/mess/sega.a(sms.o):sms.c:(.text+0x1cd): undefined reference to
`machine_reset_sms(running_machine*)'
obj/windows/mess/mess/sega.a(sms.o):sms.c:(.text+0x978): undefined reference to
`machine_reset_sms(running_machine*)'
obj/windows/mess/mess/sega.a(sms.o):sms.c:(.text+0xd68): undefined reference to
`machine_reset_sms(running_machine*)'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2714): undefined refere
nce to `stv_workram_l'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2bcb): undefined refere
nce to `stv_workram_h'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2da7): undefined refere
nce to `minit_boost'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2db1): undefined refere
nce to `sinit_boost'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2dbb): undefined refere
nce to `minit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2dc1): undefined refere
nce to `minit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2dc7): undefined refere
nce to `minit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2dcc): undefined refere
nce to `minit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2dd2): undefined refere
nce to `sinit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2dd8): undefined refere
nce to `sinit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2dde): undefined refere
nce to `sinit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x2de3): undefined refere
nce to `sinit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x36be): undefined refere
nce to `stv_enable_slave_sh2'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x3784): undefined refere
nce to `stv_workram_l'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x37a1): undefined refere
nce to `stv_workram_h'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x3e2a): undefined refere
nce to `stv_enable_slave_sh2'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x565c): undefined refere
nce to `stv_workram_h'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x5679): undefined refere
nce to `stv_workram_l'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x57e8): undefined refere
nce to `stv_enable_slave_sh2'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x5849): undefined refere
nce to `stv_enable_slave_sh2'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x5959): undefined refere
nce to `minit_boost'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x59bf): undefined refere
nce to `minit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x59c8): undefined refere
nce to `minit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x59d1): undefined refere
nce to `minit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x59da): undefined refere
nce to `minit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x5ea9): undefined refere
nce to `sinit_boost'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x5f0f): undefined refere
nce to `sinit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x5f18): undefined refere
nce to `sinit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x5f21): undefined refere
nce to `sinit_boost_timeslice'
obj/windows/mess/mess/sega.a(saturn.o):saturn.c:(.text+0x5f2a): undefined refere
nce to `sinit_boost_timeslice'
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x3da): undefined referenc
e to `layout_neogeo'
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x19f6): undefined referen
ce to `neogeo_unmapped_r(address_space*, unsigned int, unsigned short)'
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x1aef): undefined referen
ce to `neogeo_unmapped_r(address_space*, unsigned int, unsigned short)'
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x1beb): undefined referen
ce to `neogeo_unmapped_r(address_space*, unsigned int, unsigned short)'
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x1cc6): undefined referen
ce to `neogeo_unmapped_r(address_space*, unsigned int, unsigned short)'
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x1e04): undefined referen
ce to `neogeo_unmapped_r(address_space*, unsigned int, unsigned short)'
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x1e45): more undefined re
ferences to `neogeo_unmapped_r(address_space*, unsigned int, unsigned short)' fo
llow
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x3d5b): undefined referen
ce to `neogeo_set_main_cpu_bank_address(address_space*, unsigned int)'
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x4a13): undefined referen
ce to `neogeo_set_main_cpu_bank_address(address_space*, unsigned int)'
obj/windows/mess/mess/snk.a(ng_aes.o):ng_aes.c:(.text+0x5802): undefined referen
ce to `neogeo_set_main_cpu_bank_address(address_space*, unsigned int)'
obj/windows/mess/mess/mame.a(atari.o):atari.c:(.text+0x47): undefined reference
to `atari_input_disabled()'
obj/windows/mess/mess/mame.a(atari.o):atari.c:(.text+0x87): undefined reference
to `atari_input_disabled()'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x1714): undefined refere
nce to `cojag_is_r3000'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x17b2): undefined refere
nce to `cojag_is_r3000'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x7311): undefined refere
nce to `cojag_is_r3000'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x73b2): undefined refere
nce to `cojag_is_r3000'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x747f): undefined refere
nce to `cojag_is_r3000'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x76b2): more undefined r
eferences to `cojag_is_r3000' follow
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x8c41): undefined refere
nce to `jaguar_gpu_clut'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x8cd2): undefined refere
nce to `jaguar_gpu_clut'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x8d03): undefined refere
nce to `jaguar_gpu_clut'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x8e6e): undefined refere
nce to `jaguar_gpu_clut'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x9006): undefined refere
nce to `jaguar_gpu_clut'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x9127): more undefined r
eferences to `jaguar_gpu_clut' follow
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x2d): undefined referenc
e to `jaguar_wave_rom'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x59): undefined referenc
e to `jaguar_wave_rom'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x66): undefined referenc
e to `jaguar_wave_rom'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x73): undefined referenc
e to `jaguar_wave_rom'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0x80): undefined referenc
e to `jaguar_wave_rom'
obj/windows/mess/mess/mame.a(jaguar.o):jaguar.c:(.text+0xb6): more undefined ref
erences to `jaguar_wave_rom' follow
obj/windows/mess/mess/mame.a(dc.o):dc.c:(.text+0x24c8): undefined reference to `
jvsboard_type'
obj/windows/mess/mess/mame.a(dc.o):dc.c:(.text+0x2855): undefined reference to `
jvsboard_type'
obj/windows/mess/mess/mame.a(dc.o):dc.c:(.text+0x290a): undefined reference to `
jvsboard_type'
obj/windows/mess/mess/mame.a(neogeo.o):neogeo.c:(.text+0x757): undefined referen
ce to `neogeo_unmapped_r(address_space*, unsigned int, unsigned short)'
obj/windows/mess/mess/mame.a(neogeo.o):neogeo.c:(.text+0x5d6): undefined referen
ce to `neogeo_set_display_counter_lsb(address_space*, unsigned short)'
obj/windows/mess/mess/mame.a(neogeo.o):neogeo.c:(.text+0x5f6): undefined referen
ce to `neogeo_set_display_counter_msb(address_space*, unsigned short)'
obj/windows/mess/mess/mame.a(neogeo.o):neogeo.c:(.text+0x63b): undefined referen
ce to `neogeo_set_display_position_interrupt_control(running_machine*, unsigned
short)'
obj/windows/mess/mess/mame.a(neogeo.o):neogeo.c:(.text+0x6b9): undefined referen
ce to `neogeo_acknowledge_interrupt(running_machine*, unsigned short)'
obj/windows/mess/mess/mame.a(neoprot.o):neoprot.c:(.text+0x30b): undefined refer
ence to `neogeo_set_main_cpu_bank_address(address_space*, unsigned int)'
obj/windows/mess/mess/mame.a(neoprot.o):neoprot.c:(.text+0x48c): undefined refer
ence to `neogeo_set_main_cpu_bank_address(address_space*, unsigned int)'
obj/windows/mess/mess/mame.a(neoprot.o):neoprot.c:(.text+0x4f0): undefined refer
ence to `neogeo_set_main_cpu_bank_address(address_space*, unsigned int)'
obj/windows/mess/mess/mame.a(neoprot.o):neoprot.c:(.text+0x568): undefined refer
ence to `neogeo_set_main_cpu_bank_address(address_space*, unsigned int)'
obj/windows/mess/mess/mame.a(neoprot.o):neoprot.c:(.text+0x5d8): undefined refer
ence to `neogeo_set_main_cpu_bank_address(address_space*, unsigned int)'
obj/windows/mess/mess/mame.a(neoprot.o):neoprot.c:(.text+0x63c): more undefined
references to `neogeo_set_main_cpu_bank_address(address_space*, unsigned int)' f
ollow
obj/windows/mess/mess/mame.a(naomibd.o):naomibd.c:(.text+0x6af): undefined refer
ence to `actel_id'
collect2: ld returned 1 exit status
make: *** [messtest.exe] Error 1



If it is working for you, I will make a ultra clean compile (delete scr + obj folder).