Re: [AD] _al_file_size removal |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2006-06-14, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> > *** Error !!! ***
> > symbols missing => DLL binary compatibility broken
> > you need to add the following symbols:
> > _al_file_size
> >
> I was just looking at that when I got the e-mail...
>
> I had to add it to both of these files:
>
> include/allegro/internal/aintern.h
> src/win/wfile.c
Thanks. I think it should be in src/file.c, just to be safe.
> Then the fixdll.sh script finished. I created the DLL with MinGW and
> tried it on some random game I had recently downloaded, and it did
> work.
It ought to be tested on a program containing a file_size call, but I
don't think they'll be any difference :-)
> On a related note, when downloading from SVN (on Linux), what steps
> need to be done to make it easily useable in Windows?
>
> fix.sh mingw32 --utod
> make depend
> sh misc/fixdll.sh
>
> It seems that I have to run "make depend" for every Windows target. Is
> there a better way?
That works for me.
Peter