Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
149 user(s) are online (128 user(s) are browsing Forums)

Members: 1
Guests: 148

AmigaSociety, more...

Support us!

Headlines

 
  Register To Post  

(solved) GetInterface() fails for (68k) ID3tag.library, any ideas?
Home away from home
Home away from home


See User information
I've converted ID3tag.library's 68k headers to OS4 (following same steps that have worked for many other 68k libraries), but find that after OpenLibrary() succeeds, GetInterface() fails.

It could be that I've mucked-up the C headers in their conversion from OS3 to OS4 (although I don't know how), OR maybe I'm doing something else wrong...

Anyone have any suggestions? OR even better, have C includes & test program for ID3tag that compiles & works on OS4?

(Is it possible a recent OS4 SDK broke conversion of 68k headers?)


Edited by ChrisH on 2016/8/31 12:10:18
Edited by ChrisH on 2016/8/31 12:50:24
Edited by ChrisH on 2016/9/2 17:46:48
Author of the PortablE programming language.
Go to top
Re: GetInterface() fails for (68k) ID3tag.library, any ideas?
Just can't stay away
Just can't stay away


See User information
@ChrisH
You mention updating the headers but did you create an external OS4 interface file for the 68k ID3tag.library (e.g. ID3tag.l.main) and place the interface file in LIBS: with ID3tag.library?

Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450

Go to top
Re: GetInterface() fails for (68k) ID3tag.library, any ideas?
Not too shy to talk
Not too shy to talk


See User information
@ChrisH

If you don't want to create it yourself, you can use the id3tag.l.main from this archive: http://aminet.net/package/mus/play/DAPlayer_os4

However, here are instructions how to do it yourself: http://thomas-rapp.homepage.t-online.de/ppclib.html

Go to top
Re: GetInterface() fails for (68k) ID3tag.library, any ideas?
Home away from home
Home away from home


See User information
@thomas
Thanks! Your id3tag.l.main fixed my problem, so I am puzzled why mine does not work. I effectively followed these instructions:
http://www.os4coding.net/blog/kas1e/h ... d-ppc-stubs-68k-libraries

(And my .l.main file is 1.3MB vs your 8KB !)

Author of the PortablE programming language.
Go to top
Re: GetInterface() fails for (68k) ID3tag.library, any ideas?
Not too shy to talk
Not too shy to talk


See User information
@ChrisH

Here is the source code of my version: http://thomas-rapp.homepage.t-online.de/download/id3tag_os4.lha

Maybe you find something by comparing with yours.


Go to top
Re: GetInterface() fails for (68k) ID3tag.library, any ideas?
Home away from home
Home away from home


See User information
@thomas
Thanks. I've now successfully got a working .l.main file using the files I generated. Turns out the script I had written was compiling the wrong file! Not sure how long (or even if) I'd have spotted that, without your example for comparison. The id3tag.c file also had some errors, so having your file for comparison speeded-up fixing them.

Author of the PortablE programming language.
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project