[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upgrading to XFree86 4.0.1



Lee Elliott wrote:
> 
> Hans Wilmer wrote:
> >
> > Hi,
> >
> > how can I upgrade the XFree86 3.3.6 that comes with the Debian 2.2
> > distribution to XFree86 4.0.1? Which packages would I have to
> > download? Do I need a 2.4.x kernel to get DRI working with my Matrox
> > G400? Is there maybe a FAQ available that deals with this issue?
> >
> > Thanks in advance for any help!
> >
> > GH
> > --
> > Nieder mit der Mineralölsteuer!! Senkt die Benzinpreise!!
> >
> I've recently moved from 3.3.6 to 4.0.1 and haven't been able to get DRI
> working on my G400...  ...Yet.  I'm using a 2.4.0-test5 kernel and it
> looks like the DRI modules included with it (v1) are incompatible with
> the X 4.0.1 .debs, which seem to need v2.  I've just downloaded the
> 2.4.0-test11 kernel source and (what I think is) the latest DRI source
> from dri.sourceforge.net and will have a go at getting them working.
> 
Bad habit, replying to your own e-mails but...  I downloaded
dri-snapshot-current.tar.gz, unpacked it ok, made a build tree ok and
ran make World >& World.LOG, as TFM suggested.  Although the make seemed
to run ok, there were errors reported in the log and no mga.o in
~/dri/build/xc/programs/Xserver/hw/xfree86/os-support/linux/drm

The first error in the log was:- 

make[4]: *** [GLwDrawA.o] Error 1

I'm not a developer and haven't done any programming for years, but
things seem to go pear shaped near the start of the compilation for
GLwDraw - from the log:

making all in lib/GLw...
make[4]: Entering directory `/usr/src/dri/build/xc/lib/GLw'
rm -f GLwDrawA.o
gcc -c -O2  -ansi -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pipe -g  
-I.  -I../.. -I../../exports/include  -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE  -D_GNU_SOURCE    -DFUNCPROTO=15 -DNARROWPROTO    
GLwDrawA.c
In file included from GLwDrawA.c:46:
GLwDrawAP.h:57: X11/IntrinsicP.h: No such file or directory
GLwDrawA.c:47: X11/IntrinsicP.h: No such file or directory
GLwDrawA.c:48: X11/StringDefs.h: No such file or directory
In file included from GLwDrawAP.h:58,
                 from GLwDrawA.c:46:
../../exports/include/GL/GLwDrawA.h:180: parse error before
`glwDrawingAreaWidgetClass'
../../exports/include/GL/GLwDrawA.h:180: warning: type defaults to `int'
in declaration of `glwDrawingAreaWidgetClass'
../../exports/include/GL/GLwDrawA.h:180: warning: data definition has no
type or storage class
../../exports/include/GL/GLwDrawA.h:202: parse error before `Dimension'
../../exports/include/GL/GLwDrawA.h:202: warning: no semicolon at end of
struct or union
../../exports/include/GL/GLwDrawA.h:203: warning: type defaults to `int'
in declaration of `GLwDrawingAreaCallbackStruct'
../../exports/include/GL/GLwDrawA.h:203: warning: data definition has no
type or storage class
../../exports/include/GL/GLwDrawA.h:210: parse error before `w'
../../exports/include/GL/GLwDrawA.h:210: warning: function declaration
isn't a prototype
../../exports/include/GL/GLwDrawA.h:211: parse error before `w'
../../exports/include/GL/GLwDrawA.h:211: warning: function declaration
isn't a prototype
In file included from GLwDrawA.c:46:
GLwDrawAP.h:78: parse error before `CoreClassPart'
GLwDrawAP.h:78: warning: no semicolon at end of struct or union
GLwDrawAP.h:80: parse error before `}'
GLwDrawAP.h:80: warning: type defaults to `int' in declaration of
`GLwDrawingAreaClassRec'
GLwDrawAP.h:80: warning: data definition has no type or storage class
GLwDrawAP.h:82: parse error before `glwDrawingAreaClassRec'
GLwDrawAP.h:82: warning: type defaults to `int' in declaration of
`glwDrawingAreaClassRec'
GLwDrawAP.h:82: warning: data definition has no type or storage class
GLwDrawAP.h:89: parse error before `Boolean'
GLwDrawAP.h:89: warning: no semicolon at end of struct or union
GLwDrawAP.h:90: warning: type defaults to `int' in declaration of
`myVisual'
GLwDrawAP.h:90: warning: data definition has no type or storage class
GLwDrawAP.h:91: parse error before `installColormap'
GLwDrawAP.h:91: warning: type defaults to `int' in declaration of
`installColormap'
GLwDrawAP.h:91: warning: data definition has no type or storage class
GLwDrawAP.h:92: parse error before `allocateBackground'
GLwDrawAP.h:92: warning: type defaults to `int' in declaration of
`allocateBackground'
GLwDrawAP.h:92: warning: data definition has no type or storage class
.
.
.

Are those parse errors critical?

Can anyone give me a clue as to what is wrong and what I should do about
it, as I'm not sure where to go from here.

TIA

LeeE




Reply to: