Menu

#4 Couple of problems building 0.7.1 on linux

closed-fixed
nobody
general (3)
5
2003-11-28
2003-11-12
Anonymous
No

Hi,

Found the following problems:

1. When running extconf.rb the line

$CFLAGS+="-funroll-loops " if !mswin32

needs to be changed to

$CFLAGS+=" -funroll-loops " if !mswin32

(add a space before -funroll-loops)

otherwise the tests run by extconf fail cause the
command line ends up with -fPIC-funroll-loops on it and
it give an 'unrecognised flag error.

2. rudl_video_surface.c line 61 should be:

__inline__ void setMasksFromBPP(Uint32 bpp, bool
alphaWanted, Uint32* Rmask, Uint32* Gmask, Uint32*
Bmask, Uint32* Amask)

the second parameter had a type of boolean which is not
a valid C keyword.

Other than that it compiled fine! Thanks for the good work,

regards,

Martin

Discussion

  • Nobody/Anonymous

    Logged In: NO

    In extconf.rb I also added a space before the -Wall flag.

    regards,

    Martin

     
  • Nobody/Anonymous

    Logged In: NO

    In extconf.rb I also added a space before the -Wall flag.

    regards,

    Martin

     
  • Renne Nissinen

    Renne Nissinen - 2003-11-28

    Logged In: YES
    user_id=870555

    I incorporated these changes in the code. Thanks for
    reporting them :)

     
  • Renne Nissinen

    Renne Nissinen - 2003-11-28
    • status: open --> closed-fixed
     
  • Jerome Zago

    Jerome Zago - 2004-05-30

    Logged In: YES
    user_id=25537

    Hi, I confirm these two problems on Mandrake Linux release 10.0
    (Official) for i586 [actually Athlon XP].

    It's 6 months since this problem has been fixed in the main branch.
    Maybe it's time for a new release (0.7.2) ?

    Thanks for your time.

     

Log in to post a comment.