vbt
Staff member
about adpcm & sbl, sega didn't provide the sources of the adp library. in order to use it i converted object from coff to elf :
objcopy --remove-leading-char --input-target=coff-sh --output-target=elf32-sh adpmobuf.o adpmobuf.obj
objcopy --remove-leading-char --input-target=coff-sh --output-target=elf32-sh adpstbuf.o adpstbuf.obj
objcopy --remove-leading-char --input-target=coff-sh --output-target=elf32-sh adpunit.o adpunit.obj
renamed .obj to .o
ar -a sega_adp.a *.o
then when i try to use adp function i always fail to build my binary :
saturn/saturn.o: In function `main':
saturn.c
.text.startup+0x208): undefined reference to `ADP_DecMono'
collect2.exe: error: ld returned 1 exit status
any idea what's wrong ?
objcopy --remove-leading-char --input-target=coff-sh --output-target=elf32-sh adpmobuf.o adpmobuf.obj
objcopy --remove-leading-char --input-target=coff-sh --output-target=elf32-sh adpstbuf.o adpstbuf.obj
objcopy --remove-leading-char --input-target=coff-sh --output-target=elf32-sh adpunit.o adpunit.obj
renamed .obj to .o
ar -a sega_adp.a *.o
then when i try to use adp function i always fail to build my binary :
saturn/saturn.o: In function `main':
saturn.c
collect2.exe: error: ld returned 1 exit status
any idea what's wrong ?