Newsgroups: comp.os.msdos.djgpp From: Elliott Oti Subject: Re: XWinAllegro Sender: usenet AT phys DOT uu DOT nl (News system Tijgertje) Message-ID: In-Reply-To: <20n28b1emz.fsf@Sky.inp.nsk.su> Date: Tue, 8 Sep 1998 11:48:52 GMT Content-Type: TEXT/PLAIN; charset=US-ASCII References: <20n28b1emz DOT fsf AT Sky DOT inp DOT nsk DOT su> Mime-Version: 1.0 Organization: Physics and Astronomy, University of Utrecht, The Netherlands Lines: 59 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 8 Sep 1998 M DOT A DOT Bukin AT inp DOT nsk DOT su wrote: [snip description of solving XwinAlleg keyboard problems] I used the xwkbdcfg program as you suggested and it worked; I should RTFM the next time. Compilation: Errors: ex22.c: At top level: ex22.c:183: `quad' redeclared as different kind of symbol /usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2.3/include/sys/types.h:487: previous declaration of `quad' --I renamed quad as xquad in ex22.c Warnings: grabber.c:47: warning: `NAME_MAX' redefined /usr/include/sys/syslimits.h:69: warning: this is the location of the previous definition --I redefined NAME_MAX in grabber.c allegro.h:216: warning: cast to pointer from integer of different size allegro.h:216: warning: cast to pointer from integer of different size allegro.h: In function `movedatab': allegro.h:222: warning: cast to pointer from integer of different size allegro.h:222: warning: cast to pointer from integer of different size allegro.h: In function `movedataw': allegro.h:228: warning: cast to pointer from integer of different size allegro.h:228: warning: cast to pointer from integer of different size allegro.h: In function `movedatal': allegro.h:234: warning: cast to pointer from integer of different size -- I let these ride. My compilation script (after correcting errors and warnings) #!/bin/ksh chmod +x configure config.sub config.guess chmod +x install-sh mkinstalldirs configure --disable-oss-digi --prefix=alleg make CFLAGS="-O3 -fomit-frame-pointer -ffast-math" LDFLAGS=-s Except for the sound (which I don't have and haven't tested) everything works fine. Cheers, Elliott Oti http://www.fys.ruu.nl/~oti "Q: What did the elephant say to the naked man? A: It's cute but can you pick up peanuts with it?"