Re: [AD] Re: linux compile fix

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


On Fri, 2006-03-24 at 12:18 +0100, Milan Mimica wrote:
> On 23/03/06, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
> > Allegro 4.2 SVN fails to compile on linux. It complains about PAGE_SIZE,
> > perror and mprotect in src/i386/icsprite.c. Patch attached.
> 
> Actually, the real problem is in src/i386/opcodes.h, line 27. There is
> no guarantee ALLEGRO_LINUX will be defined if making a linux build.
> ALLEGRO_LINUX refers to linux console drivers. The user could build a
> X-only version and ALLEGRO_LINUX won't be defined.
> 

So the patch shouldn't get applied?

(In any case, I'll leave it to someone else to deal with this, since I
don't know much about the console stuff. Or, is there a simple test-case
somewhere which shows the problem?)

-- 
Elias Pschernig





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