delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/08/08:16:45

Newsgroups: comp.os.msdos.djgpp
From: Elliott Oti <oti AT phys DOT uu DOT nl>
Subject: Re: XWinAllegro
Sender: usenet AT phys DOT uu DOT nl (News system Tijgertje)
Message-ID: <Pine.OSF.3.95.980908134347.4699A-100000@ruunat.phys.uu.nl>
In-Reply-To: <20n28b1emz.fsf@Sky.inp.nsk.su>
Date: Tue, 8 Sep 1998 11:48:52 GMT
References: <Pine DOT OSF DOT 3 DOT 95 DOT 980907144536 DOT 23461C-100000 AT ruunf0 DOT phys DOT uu DOT nl> <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

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?"


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019