[AD] Allegro WIP 3.9.33 problems

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


Hi, its just me again, the guy with all odd problems :)

I've used multiple versions of the WIP series of Allegro under both DOS
and Linux, last time i compiled
WIP 3.9.33 under the RedHat distribution with some odd errors about X11
headers missing, which i told
George about, i later on removed Redhat 6 from my system. Now im running
Redhat 7 and decided to
try out the X11 version of Allegro, since i found nice drivers for my
Geforce 2 MX :)
Anyway, a clean 
./configure
make

spits out this after a couple of successfully compiles:

gcc -DHAVE_CONFIG_H -Iinclude -Iinclude/allegro -I./include
-I./include/allegro -I.  -I/usr/X11R6/include  -O3 -ffast-math
-fomit-frame-pointer -Wall -fPIC -DALLEGRO_SHARED -c ./src/linux/fbcon.c
-o obj/unix/shared/alleg/fbcon.o
./src/linux/fbcon.c: In function `fb_init':
./src/linux/fbcon.c:347: `FB_VBLANK_HAVE_STICKY' undeclared (first use
in this function)
./src/linux/fbcon.c:347: (Each undeclared identifier is reported only
once
./src/linux/fbcon.c:347: for each function it appears in.)
./src/linux/fbcon.c: In function `fb_vsync':
./src/linux/fbcon.c:455: `FB_VBLANK_HAVE_STICKY' undeclared (first use
in this function)
./src/linux/fbcon.c:463: `FB_VBLANK_STICKY' undeclared (first use in
this function)
make: *** [obj/unix/shared/alleg/fbcon.o] Error 1

I do not know what to do now :) i looked at fbcon.c for include files;

#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <linux/fb.h>
#include <sys/mman.h>

in linux/fb.h these are defined (amog with lots of other stuff of
course):

#define FB_VBLANK_VBLANKING	0x001	/* currently in a vertical blank */
#define FB_VBLANK_HBLANKING	0x002	/* currently in a horizontal blank */
#define FB_VBLANK_HAVE_VBLANK	0x004	/* vertical blanks can be detected
*/
#define FB_VBLANK_HAVE_HBLANK	0x008	/* horizontal blanks can be detected
*/
#define FB_VBLANK_HAVE_COUNT	0x010	/* global retrace counter is
available */
#define FB_VBLANK_HAVE_VCOUNT	0x020	/* the vcount field is valid */
#define FB_VBLANK_HAVE_HCOUNT	0x040	/* the hcount field is valid */
#define FB_VBLANK_VSYNCING	0x080	/* currently in a vsync */
#define FB_VBLANK_HAVE_VSYNC	0x100	/* verical syncs can be detected */

but not the ones that gives warnings above....

since wip 3.9.33 has been out a while, maybe this is already fixed... ?
/anarko



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