I'm getting a linker error when compiling P96-aware code. I only get this with VBCC, with Bebbo's GCC cross-platform chain it compiles just fine. I'm kind of tearing my hair out over this (which isn't good, considering the available stock of that commodity). I've tried copying the various includes and whatnot into the VBCC/ndk39/Include/ etc folders; I've tried plopping a p96 folder down in vbcc/p96, and using -I and -L in the vbcc config.
Code
- Error 21: tmp.0.o (CODE+0x68): Reference to undefined symbol _p96GetRTGDataTags.
- vlink -bamigahunk -x -Bstatic -Cvbcc -nostdlib -mrel "$VBCC/targets/m68k-amigaos/lib/startup.o" "/var/tmp/tmp.0.o" "/var/tmp/tmp.1.o" "/var/tmp/tmp.2.o" "/var/tmp/tmp.3.o" "/var/tmp/tmp.4.o" "/var/tmp/tmp.5.o" "/var/tmp/tmp.6.o" "/var/tmp/tmp.7.o" "/var/tmp/tmp.8.o" "/var/tmp/tmp.9.o" "/var/tmp/tmp.10.o" "/var/tmp/tmp.11.o" "/var/tmp/tmp.12.o" "/var/tmp/tmp.13.o" "/var/tmp/tmp.14.o" "/var/tmp/tmp.15.o" -lauto -lamiga -L"$VBCC/targets/m68k-amigaos/lib" -L"$VBCC/ndk39/Include/linker_libs" -L"$VBCC/p96/Lib" -lvc -o build_vbcc/wb2k failed