Subject: undefined references
To: None <port-dreamcast@netbsd.org>
From: Hartmut Surmann <Hartmut.Surmann@ais.fraunhofer.de>
List: port-dreamcast
Date: 07/25/2002 11:57:39
Hi,

i have problems compiling a dreamcast applications. Any hints?

Thanks=20
Hartmut


/dreamcast/sh-linux-gnu/bin/sh-linux-gnu-gcc -Wall -g -ml -m4-single-only=
 -O2=20
-fno-builtin -fno-strict-aliasing -fomit-frame-pointer=20
-fno-optimize-sibling-calls -ml -m4-single-only -nostartfiles -nostdlib=20
-Wl,-Ttext=3D0x8c010000 -o photo.elf=20
/dreamcast/kos-1.1.7-dc-bin/kernel/arch/dreamcast/kernel/startup.o \
        photo.o romdisk_boot.o  -L/dreamcast/kos-1.1.7-dc-bin/lib -ljpeg =
-lpng=20
-lz -ldcutils -lkallisti -lgcc -lm
/dreamcast/kos-1.1.7-dc-bin/kernel/arch/dreamcast/kernel/startup.o: In=20
function `main_addr':
/dreamcast/kos-1.1.7-dc-bin/kernel/arch/dreamcast/kernel/startup.o(.text+=
0xbc):=20
undefined reference to `_arch_main'
/dreamcast/kos-1.1.7-dc-bin/kernel/arch/dreamcast/kernel/startup.o: In=20
function `fpscr_addr':
/dreamcast/kos-1.1.7-dc-bin/kernel/arch/dreamcast/kernel/startup.o(.text+=
0xc4):=20
undefined reference to `___set_fpscr'
photo.o: In function `main':
/dreamcast/slideshow/photo.c:685: undefined reference to `romdisk_boot'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jdinput.o): In function=20
`per_scan_setup':
/dreamcast/kos-1.1.7/addons/libjpeg/jdinput.c:152: undefined reference to=
=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jdsample.o): In function=20
`jinit_upsampler':
/dreamcast/kos-1.1.7/addons/libjpeg/jdsample.c:453: undefined reference t=
o=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7/addons/libjpeg/jdsample.c:442: undefined reference t=
o=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jquant1.o): In function=20
`select_ncolors':
/dreamcast/kos-1.1.7/addons/libjpeg/jquant1.c:227: undefined reference to=
=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jquant1.o): In function=20
`output_value':
/dreamcast/kos-1.1.7/addons/libjpeg/jquant1.c:255: undefined reference to=
=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jquant1.o): In function=20
`largest_input_value':
/dreamcast/kos-1.1.7/addons/libjpeg/jquant1.c:265: undefined reference to=
=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jquant1.o):/dreamcast/kos-1.1.7=
/addons/libjpeg/jquant1.c:285:=20
more undefined references to `__sdivsi3_i4' follow
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jmemmgr.o): In function=20
`alloc_sarray':
/dreamcast/kos-1.1.7/addons/libjpeg/jmemmgr.c:409: undefined reference to=
=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jmemmgr.o): In function=20
`alloc_barray':
/dreamcast/kos-1.1.7/addons/libjpeg/jmemmgr.c:457: undefined reference to=
=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jmemmgr.o): In function=20
`realize_virt_arrays':
/dreamcast/kos-1.1.7/addons/libjpeg/jmemmgr.c:610: undefined reference to=
=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7/addons/libjpeg/jmemmgr.c:610: undefined reference to=
=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jdcoefct.o): In function=20
`decompress_data':
/dreamcast/kos-1.1.7/addons/libjpeg/jdcoefct.c:353: undefined reference t=
o=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jdcoefct.o): In function=20
`decompress_smooth_data':
/dreamcast/kos-1.1.7/addons/libjpeg/jdcoefct.c:666: undefined reference t=
o=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7/addons/libjpeg/jdcoefct.c:491: undefined reference t=
o=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jdmainct.o): In function=20
`alloc_funny_pointers':
/dreamcast/kos-1.1.7/addons/libjpeg/jdmainct.c:191: undefined reference t=
o=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jdmainct.o): In function=20
`make_funny_pointers':
/dreamcast/kos-1.1.7/addons/libjpeg/jdmainct.c:234: undefined reference t=
o=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jdmainct.o): In function=20
`set_wraparound_pointers':
/dreamcast/kos-1.1.7/addons/libjpeg/jdmainct.c:262: undefined reference t=
o=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jdmainct.o): In function=20
`set_bottom_pointers':
/dreamcast/kos-1.1.7/addons/libjpeg/jdmainct.c:289: undefined reference t=
o=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7/addons/libjpeg/jdmainct.c:289: undefined reference t=
o=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libjpeg.a(jdmainct.o): In function=20
`jinit_d_main_controller':
/dreamcast/kos-1.1.7/addons/libjpeg/jdmainct.c:500: undefined reference t=
o=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libpng.a(pngget.o): In function=20
`png_get_IHDR':
/dreamcast/kos-1.1.7/addons/libpng/pngget.c:576: undefined reference to=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libpng.a(pngrtran.o): In function=20
`png_do_unshift':
/dreamcast/kos-1.1.7/addons/libpng/pngrtran.c:1473: undefined reference t=
o=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libpng.a(pngrutil.o): In function=20
`png_handle_sPLT':
/dreamcast/kos-1.1.7/addons/libpng/pngrutil.c:1079: undefined reference t=
o=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libpng.a(pngrutil.o): In function=20
`png_read_finish_row':
/dreamcast/kos-1.1.7/addons/libpng/pngrutil.c:2804: undefined reference t=
o=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libpng.a(pngrutil.o): In function=20
`png_read_start_row':
/dreamcast/kos-1.1.7/addons/libpng/pngrutil.c:2946: undefined reference t=
o=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7/addons/libpng/pngrutil.c:2863: undefined reference t=
o=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libpng.a(pngset.o): In function=20
`png_set_IHDR':
/dreamcast/kos-1.1.7/addons/libpng/pngset.c:246: undefined reference to=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libdcutils.a(pvrutils.o): In function=20
`txr_twiddle_copy_general':
/dreamcast/kos-1.1.7/addons/libdcutils/pvrutils.c:79: undefined reference=
 to=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7/addons/libdcutils/pvrutils.c:106: undefined referenc=
e to=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7/addons/libdcutils/pvrutils.c:93: undefined reference=
 to=20
`__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(malloc.o): In function=20
`sYSTRIm':
/dreamcast/kos-1.1.7/kernel/mm/malloc.c:1741: undefined reference to=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(malloc.o): In function=20
`mEMALIGn':
/dreamcast/kos-1.1.7/kernel/mm/malloc.c:2714: undefined reference to=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(pvr_mem_core.o): In functio=
n=20
`sYSTRIm':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/pvr/pvr_mem_core.c:17=
55:=20
undefined reference to `__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(pvr_mem_core.o): In functio=
n=20
`mEMALIGn':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/pvr/pvr_mem_core.c:27=
28:=20
undefined reference to `__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(thread.o): In function=20
`thd_create':
/dreamcast/kos-1.1.7/kernel/thread/thread.c:253: undefined reference to=20
`irq_restore'
/dreamcast/kos-1.1.7/kernel/thread/thread.c:253: undefined reference to=20
`irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(thread.o): In function=20
`thd_destroy':
/dreamcast/kos-1.1.7/kernel/thread/thread.c:301: undefined reference to=20
`irq_restore'
/dreamcast/kos-1.1.7/kernel/thread/thread.c:301: undefined reference to=20
`irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(timer.o): In function=20
`timer_prime':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/timer.c:40: undefined=20
reference to `__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(stdio.o): In function `frea=
d':
/dreamcast/kos-1.1.7/libc/stdio/stdio.c:233: undefined reference to=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(stdio.o): In function `fwri=
te':
/dreamcast/kos-1.1.7/libc/stdio/stdio.c:277: undefined reference to=20
`__udivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(dbgio.o): In function=20
`dbgio_init':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/dbgio.c:70: undefined=20
reference to `__sdivsi3_i4'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(irq.o): In function=20
`irq_dump_regs':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/irq.c:69: undefined=20
reference to `irq_srt_addr'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(irq.o): In function=20
`irq_handle_exception':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/irq.c:142: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/irq.c:142: undefined=20
reference to `irq_srt_addr'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/irq.c:142: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(irq.o): In function=20
`irq_set_context':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/irq.c:161: undefined=20
reference to `irq_srt_addr'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(irq.o): In function=20
`irq_get_context':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/irq.c:166: undefined=20
reference to `irq_srt_addr'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(irq.o): In function `irq_in=
it':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/irq.c:259: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(main.o): In function=20
`arch_auto_init':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/main.c:52: undefined=20
reference to `irq_enable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(main.o): In function=20
`arch_auto_shutdown':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/main.c:95: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/main.c:95: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(main.o): In function=20
`arch_main':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/main.c:126: undefined=20
reference to `_bss_start'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(main.o): In function=20
`arch_return':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/main.c:197: undefined=20
reference to `arch_real_exit'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(main.o): In function=20
`arch_abort':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/main.c:232: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/main.c:232: undefined=20
reference to `arch_real_exit'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(main.o): In function=20
`arch_reboot':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/main.c:244: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(maple_queue.o): In function=
=20
`maple_queue_frame':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/maple/maple_queue.c:8=
5:=20
undefined reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/maple/maple_queue.c:8=
5:=20
undefined reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(maple_queue.o): In function=
=20
`maple_queue_remove':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/maple/maple_queue.c:1=
12:=20
undefined reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/maple/maple_queue.c:1=
12:=20
undefined reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(maple_queue.o): In function=
=20
`maple_frame_lock':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/maple/maple_queue.c:1=
72:=20
undefined reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/maple/maple_queue.c:1=
72:=20
undefined reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(syscall.o): In function=20
`syscall_init':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/kernel/syscall.c:53: undefined=
=20
reference to `syscall_entry'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(entry.o): In function=20
`hdl_except':
entry.o(.text+0x1130): undefined reference to `_irq_handle_exception'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_printk':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:53: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:53: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:53: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:53: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_open':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:92: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:92: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:92: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:92: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:84: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:84: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_close':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:109: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:109: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:109: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:109: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_read':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:127: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:127: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:127: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:127: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_write':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:141: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:141: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:141: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:141: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_seek':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:155: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:155: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:155: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:155: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_tell':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:169: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:169: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:169: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:169: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_total':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:186: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:186: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:186: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:186: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_readdir':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:217: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:217: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:217: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:217: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_rename':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:239: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:239: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:239: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:239: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`dcload_unlink':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:254: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:254: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:254: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:254: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`fs_dcload_init':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:301: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:301: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:301: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:301: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(fs_dcload.o): In function=20
`fs_dcload_shutdown':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:324: undefined=20
reference to `dcloadsyscall'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:324: undefined=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:324: undefined=20
reference to `irq_disable'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/fs/fs_dcload.c:324: undefined=20
reference to `irq_enable_exc'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_read_8':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:64: undefined=
=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:64: undefined=
=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_write_8':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:73: undefined=
=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:73: undefined=
=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_read_16':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:85: undefined=
=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:85: undefined=
=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_write_16':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:94: undefined=
=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:94: undefined=
=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_read_32':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:106: undefine=
d=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:106: undefine=
d=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_write_32':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:115: undefine=
d=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:115: undefine=
d=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_read_block_8':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:129: undefine=
d=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:129: undefine=
d=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_write_block_8':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:143: undefine=
d=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:143: undefine=
d=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_read_block_32':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:157: undefine=
d=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:157: undefine=
d=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libkallisti.a(g2bus.o): In function=20
`g2_write_block_32':
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:171: undefine=
d=20
reference to `irq_restore'
/dreamcast/kos-1.1.7/kernel/arch/dreamcast/hardware/g2bus.c:171: undefine=
d=20
reference to `irq_disable'
/dreamcast/kos-1.1.7-dc-bin/lib/libm.a(w_pow.o): In function `pow':
/dreamcast/kos-1.1.7/libm/math/w_pow.c:120: undefined reference to `errno=
'
collect2: ld returned 1 exit status
make: *** [photo.elf] Fehler 1