Re: [AD] 4.2.0 Beta 3 woes

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2005-06-03, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> > The problem is modex.c's #if-checking.. it's an absolute mess and nearly 
> > impossible to account for all cases (so as to make sure the function is 
> > compiled to do nothing instead of skipped out-right). And on top of the 
> > different cases,that code is compiled twice (once for the base lib, and 
> > again for the module) so it becomes that much harder to avoid 
> > duplicating the function. Plus, it seems non-Linux can't have VGA/ModeX 
> > in a module so it has that special case too.
> > 
> 
> So, removing that one check, as I said in my previous post, should fix
> it. I attached a patch.

No, that code should not be compiled if VGA support is disabled.

I thought of the OP's problem: he's using Solaris, so modex.c is not
even listed in makefile.lst for his platform.  The dummy definition of
split_modex_screen() will never be compiled, leading to the missing
symbol error.  We need either to move modex.c into ALLEGRO_SRC_FILES in
makefile.lst (ugly) or otherwise move the dummy definition into a new
file.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/