Makefile -lm

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
rcracer
Posts: 2
Joined: Mon Nov 03, 2008 9:45 am

Makefile -lm

Post by rcracer »

Short question:

Where exactly in this makefile do i have to add the -lm to link the math libary

Code: Select all

CC=ee-gcc
AS=ee-as
LD=ee-elf-ld


OBJ_DIR = obj
CFLAGS = -Wall -W -EL -G0 -O0 -mips3 -nostdlib -DPS2_EE 

C_SRC = g2.c demo1.c
S_SRC = crt0.s ps2_asm.s dma_asm.s gs_asm.s

C_OBJ = $(addprefix $(OBJ_DIR)/, $(C_SRC:.c=.o))
S_OBJ = $(addprefix $(OBJ_DIR)/, $(S_SRC:.s=.o))

demo1.elf: $(C_OBJ) $(S_OBJ)
	@echo "-------------------------------------------------"
	$(CC) $(CFLAGS) -Tlinkfile -o demo1.elf $(C_OBJ) $(S_OBJ) -Wl,-Map,demo1.map

$(OBJ_DIR)/%.o: %.c
	@echo "-------------------------------------------------"
	$&#40;CC&#41; -c $&#40;CFLAGS&#41; $< -o $@ 

$&#40;OBJ_DIR&#41;/%.o&#58; %.s
	@echo "-------------------------------------------------"
	$&#40;CC&#41; -xassembler-with-cpp -c $&#40;CFLAGS&#41; $< -o $@ 

clean&#58;
	rm -f $&#40;C_OBJ&#41; $&#40;S_OBJ&#41; *.map *.elf
thank you
yoshi314
Posts: 36
Joined: Sat Jul 26, 2008 11:19 pm

Post by yoshi314 »

my guess is that here:

Code: Select all

$&#40;CC&#41; $&#40;CFLAGS&#41; -Tlinkfile -o demo1.elf $&#40;C_OBJ&#41; $&#40;S_OBJ&#41; -Wl,-Map,demo1.map 
rcracer
Posts: 2
Joined: Mon Nov 03, 2008 9:45 am

Post by rcracer »

i have tried each position and with this:

Code: Select all

$&#40;CC&#41; $&#40;CFLAGS&#41; -Tlinkfile -o demo1.elf $&#40;C_OBJ&#41; $&#40;S_OBJ&#41; -lm -Wl,-Map,demo1.map
it seems math is linked but new errors:

Code: Select all

ee-gcc -Wall -W -EL -G0 -O0 -mips3 -nostdlib -DPS2_EE  -Tlinkfile -o demo1.elf obj/g2.o obj/demo1.o obj/crt0.o obj/ps2_asm.o obj/dma_asm.o obj/gs_asm.o -lm -Wl,-Map,demo1.map
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0xbc&#41;&#58; In function `__ieee754_rem_pio2'&#58;
../../../../../newlib/libm/math/e_rem_pio2.c&#58;104&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0xe8&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;106&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0xfc&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;111&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x10c&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;111&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x134&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;109&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x158&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;115&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x184&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;117&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x198&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;122&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x1a8&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;122&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x1d0&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;120&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x214&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;166&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x258&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;174&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x260&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;174&#58; undefined reference to `litodp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x274&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;175&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x288&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;175&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x2b8&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;177&#58; undefined reference to `dpcmp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x304&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;182&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x318&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;182&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x340&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;129&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x354&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;129&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x360&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;129&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x36c&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;130&#58; undefined reference to `litodp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x384&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;131&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x394&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;131&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x3ac&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;132&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x3e4&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;154&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x3fc&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;158&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x40c&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;158&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x430&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;159&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x454&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;138&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x488&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;143&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x49c&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;144&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x4b8&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;145&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x4cc&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;145&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x4dc&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;145&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x4ec&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;145&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x500&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;146&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x530&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;151&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x544&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;152&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x55c&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;153&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x570&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;153&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x580&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;153&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;e_rem_pio2.o&#41;&#40;.text+0x590&#41;&#58;../../../../../newlib/libm/math/e_rem_pio2.c&#58;153&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x4c&#41;&#58; In function `__kernel_cos'&#58;
../../../../../newlib/libm/math/k_cos.c&#58;78&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x6c&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;80&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x84&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x98&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0xa8&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0xbc&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0xcc&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0xe0&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0xf0&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x104&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x114&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x128&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x138&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;81&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x164&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;83&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x178&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;83&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x18c&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;83&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x19c&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;83&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x1ac&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;83&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x1c0&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;83&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x23c&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;90&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x24c&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;90&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x264&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;91&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x278&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;92&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x28c&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;92&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x29c&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;92&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_cos.o&#41;&#40;.text+0x2ac&#41;&#58;../../../../../newlib/libm/math/k_cos.c&#58;92&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0xc0&#41;&#58; In function `__kernel_rem_pio2'&#58;
../../../../../newlib/libm/math/k_rem_pio2.c&#58;186&#58; undefined reference to `litodp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x140&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;190&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x150&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;190&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x1ac&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;197&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x1b8&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;197&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x1c0&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;197&#58; undefined reference to `litodp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x1d8&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;198&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x1e8&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;198&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x1f4&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;198&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x20c&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;199&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x23c&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;204&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x25c&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;204&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x26c&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;204&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x27c&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;205&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x288&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;206&#58; undefined reference to `litodp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x298&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;206&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x38c&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;241&#58; undefined reference to `dpcmp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x48c&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;248&#58; undefined reference to `litodp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x4c0&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;249&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x4d0&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;249&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x518&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;258&#58; undefined reference to `dpcmp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x5a0&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;274&#58; undefined reference to `litodp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x5b0&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;274&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x5c8&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;274&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x624&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;279&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x634&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;279&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x6ac&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;293&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x6d8&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;294&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x6f0&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;295&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x714&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;296&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x740&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;297&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x7b4&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;287&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x7e0&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;288&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x824&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;301&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x838&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;302&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x848&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;302&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x884&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;306&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x898&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;307&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x8a8&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;307&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x8ec&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;310&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x938&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;314&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x950&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;314&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x968&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;314&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x9ac&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;263&#58; undefined reference to `dpcmp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x9d8&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;264&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x9e4&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;264&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0x9ec&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;264&#58; undefined reference to `litodp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0xa00&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;265&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0xa10&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;265&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0xa1c&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;265&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0xa2c&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;265&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0xa58&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;235&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0xa80&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;236&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_rem_pio2.o&#41;&#40;.text+0xae4&#41;&#58;../../../../../newlib/libm/math/k_rem_pio2.c&#58;214&#58; undefined reference to `dpcmp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x4c&#41;&#58; In function `__kernel_sin'&#58;
../../../../../newlib/libm/math/k_sin.c&#58;71&#58; undefined reference to `dptoli'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x68&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;72&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x7c&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;73&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x94&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;74&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0xa8&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;74&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0xb8&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;74&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0xcc&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;74&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0xdc&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;74&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0xf0&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;74&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x100&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;74&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x114&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;74&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x130&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;75&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x144&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;75&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x154&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;75&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x164&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;75&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x1a4&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;76&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x1b8&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;76&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x1c8&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;76&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x1d8&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;76&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x1e8&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;76&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x200&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;76&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x210&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;76&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;k_sin.o&#41;&#40;.text+0x220&#41;&#58;../../../../../newlib/libm/math/k_sin.c&#58;76&#58; undefined reference to `dpsub'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_floor.o&#41;&#40;.text+0x6c&#41;&#58; In function `floor'&#58;
../../../../../newlib/libm/math/s_floor.c&#58;107&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_floor.o&#41;&#40;.text+0x7c&#41;&#58;../../../../../newlib/libm/math/s_floor.c&#58;107&#58; undefined reference to `dpcmp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_floor.o&#41;&#40;.text+0x108&#41;&#58;../../../../../newlib/libm/math/s_floor.c&#58;99&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_floor.o&#41;&#40;.text+0x118&#41;&#58;../../../../../newlib/libm/math/s_floor.c&#58;99&#58; undefined reference to `dpcmp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_floor.o&#41;&#40;.text+0x184&#41;&#58;../../../../../newlib/libm/math/s_floor.c&#58;114&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_floor.o&#41;&#40;.text+0x1b8&#41;&#58;../../../../../newlib/libm/math/s_floor.c&#58;118&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_floor.o&#41;&#40;.text+0x1c8&#41;&#58;../../../../../newlib/libm/math/s_floor.c&#58;118&#58; undefined reference to `dpcmp'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_scalbn.o&#41;&#40;.text+0x58&#41;&#58; In function `scalbn'&#58;
../../../../../newlib/libm/common/s_scalbn.c&#58;84&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_scalbn.o&#41;&#40;.text+0x90&#41;&#58;../../../../../newlib/libm/common/s_scalbn.c&#58;87&#58; undefined reference to `dpmul'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_scalbn.o&#41;&#40;.text+0x198&#41;&#58;../../../../../newlib/libm/common/s_scalbn.c&#58;101&#58; undefined reference to `dpadd'
/cygdrive/c/ps2dev/ee/bin/../lib/gcc-lib/ee/3.2.2/../../../../ee/lib/libm.a&#40;s_sin.o&#41;&#40;.text+0x48&#41;&#58; In function `sin'&#58;
../../../../../newlib/libm/math/s_sin.c&#58;117&#58; undefined reference to `dpsub'
collect2&#58; ld returned 1 exit status
"make"&#58; *** &#91;demo1.elf&#93; Error 1
any idea what is missing?
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

You should use the "sdk" makefile. An example is like the NeoCD emulator:

Code: Select all

#     _  ___  ___   ___  ___     ____    ___ ___ 
# |\  | |___ |   | |        |  /  ___|  |    ___|
# | \_| |___ |___| |___  ___| /  |   ___|   |___  Neocd/Ps2 Project.
#----------------------------------------------------------------------
# Copyright 2004 - Olivier "evilo" Biot <[email protected]>
# Released under GNU license
# Review neocd/ps2 COPYING & LICENSE files for further details.
#---------------------------------------------------------------------- 
# Cygwin Env
# GCC 3.2.2
# PS2SDK 1.2
#---------------------------------------------------------------------- 
# Compilation Flags
# -DCPU68K_USE_MUSASHI   use musashi 68k core &#40;working core&#41;
# -DCPU68K_USE_C68K	 use stef 68k core &#40;wip, not working&#41;
#
# -DCPUZ80_MAMEZ80_CORE  use mame z80 core &#40;working core&#41;
# -DCPUZ80_CZ80_CORE	 use stef z80 core &#40;wip, not working&#41;
#
#---------------------------------------------------------------------- 

EE_BIN = neocd.elf
	    
EE_OBJS =  neocd.o pd4990a.o \
	   cpu_68k/cpu68k.o \
	   cpu_z80/z80intrf.o cpu_z80/cz80/cz80.o cpu_z80/mamez80/z80.o \
	   misc/misc.o misc/timer.o \
	   input/input.o \
	   memory/memory.o \
	   save/mc.o save/ngcdIcn.o \
	   gui/menu.o gui/ps2print.o \
	   sound/sound.o sound/2610intf.o sound/ay8910.o \
	   sound/fm.o sound/ymdeltat.o \
	   sound/timer.o static/isjpcmIrx.o sound/sjpcm_rpc.o \
	   video/video.o video/draw_fix.o \
	   cdrom/cdrom.o static/cdvdIrx.o cdrom/cdvd_rpc.o cdaudio/cdaudio.o \
	   gs/gfxpipe.o gs/hw.o gs/gs.o

EE_CFLAGS  += -funroll-loops -finline-functions -freorder-blocks -funsigned-char \
	     -fno-exceptions -mhard-float -EL -ffast-math -DINLINE="inline" -DLSB_FIRST \
	     -DCPU68K_USE_MUSASHI -DCPUZ80_MAMEZ80_CORE

EE_INCS    += -I. -I$&#40;PS2SDK&#41;/sbv/include/
	     
EE_LDFLAGS += -L$&#40;PS2SDK&#41;/sbv/lib -L./cpu_68k -L./cdrom
EE_LIBS    += -lpatches -lcpu_68k -lcdvdfs -lc -lm -lcdvd -lmc -lpad -lgcc


CP_CMD    = cp
BIN_DIR =../bin


all&#58; $&#40;EE_BIN&#41; 
	$&#40;EE_STRIP&#41; $&#40;EE_BIN&#41;
	$&#40;CP_CMD&#41; $&#40;EE_BIN&#41; $&#40;BIN_DIR&#41;/$&#40;EE_BIN&#41;

clean&#58;
	rm -f -R $&#40;EE_BIN&#41; $&#40;EE_OBJS&#41;
	
reset &#58;
	ps2client -h 192.168.1.110 reset

run &#58;
	ps2client -h 192.168.1.110 execee host&#58;$&#40;EE_BIN&#41;
	

include $&#40;PS2SDK&#41;/samples/Makefile.pref
include $&#40;PS2SDK&#41;/samples/Makefile.eeglobal
Notice that it includes various sdk makefiles (pref and eeglobal). Notice that those then use the various EE_ variables, like EE_LIBS (which is where you put things like -lm).
Post Reply