On Mon, Apr 7, 2008 at 7:37 PM, Cassy Foesch <puellanivis@...>
wrote:
> 2008/2/16, Alex Smith <alex@...>:
> > On Feb 7, 2008 8:50 PM, Sebastian Biallas <pearpc@...> wrote:
> >
> > > Hi!
> > >
> > > It's been some time since the last update, but today I merged the
> AMD64
> > > branch...
> > >
> > > I guess I broke something so please test.
> > >
> > > Have fun,
> > > Sebastian
> >
> > Finally got round to having a look at it. I just tried compiling for
> i386
> > (I've not got a 64-bit distro installed right now), seems MAP_32BIT
> isn't
> > defined on i386:
> >
> > g++ -DHAVE_CONFIG_H -I. -I../../../.. -I ../../.. -Wundef -Wall
> > -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -g
> -fno-inline
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -I/usr/include/SDL
> > -D_GNU_SOURCE=1 -D_REENTRANT -MT sysfile.o -MD -MP -MF .deps/sysfile.Tpo
> -c
> > -o sysfile.o sysfile.cc
> > sysfile.cc: In function 'void*
> > sys_alloc_read_write_execute(int)':
> > sysfile.cc:275: error: 'MAP_32BIT' was not declared in this scope
> > gmake[5]: *** [sysfile.o] Error 1
> >
>
> As this branch requires an x86-64 processor, it should be disabled
> from compiling on any other architecture.
>
> Is there anyone who know enough automake/autoconf to implement just such a
> test?
Hmm, I didn't make what I meant clear ;) I was trying to compile to 32-bit
version on an i386 distro and got that error, MAP_32BIT was hard-coded in,
which isn't defined for i386.
Thanks,
Alex
|