Re: iff.library iff.l.main stub existing?
Posted: Fri Oct 28, 2011 10:27 pm
Third party stuff belongs in SDK:local and not anywhere else in the SDK. In this case the includes should go in SDK:local/common/include (SDK:include/include_h is for OS includes only).JosDuchIt wrote:@salasso
Thanks, a big step forward.
I did put the OS4/include/proto/iff.h OS4/include/inlines4/iff.h and OS4/include/interfaces/iff.h in the SDK in the include_h/ subdrawers proto/ inlines4/ and interfaces/ respectively and kept
the OS4/Include/iff.h in the same drawer as the source.
Thomas probably used fd2pragma to convert the original fd and clib files into an sfd file for use with fdtrans (to generate the ppc->m68k stub code and an xml file for idltool which generates the proto, interfaces and inline4 include files). In my experience fd2pragma will sometimes skip over a function in an fd file if it doesn't like how it's defined and will print a warning about this, probably this is what happened here.I only have one 'indefined reference' left
/tmp/cc6KBeGa.o: In function `DisplayILBM':
EasyExampleOS4.c:(.text+0x554): undefined reference to `IFFL_CloseIFF'
Doing a search for IFFL_CloseIFF i find that it is only present in
os4/fd/iff_lib.fd
whereas other functions appear also in
OS4/include/inlines4/iff.h
OS4/include/interfaces/iff.h
OS4/Include/iff.h
as IFFL_CloseIFF is the first function listed in the autodoc, i guess something went wring with the generation of the stub?
I don't see how to complete those files manually
If somebody has them ?
Thomas?