delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/08/12:16:34

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: va_list problem
Date: Mon, 08 Jul 2002 16:45:14 +0100
Lines: 32
Message-ID: <3D29B38A.F3ED581E@phekda.freeserve.co.uk>
References: <web-87250710 AT mail01 DOT infosat DOT net>
NNTP-Posting-Host: modem-233.alaska.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: news8.svr.pol.co.uk 1026143494 26830 62.137.53.233 (8 Jul 2002 15:51:34 GMT)
NNTP-Posting-Date: 8 Jul 2002 15:51:34 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

# # wrote:
> I am having trouble building the Allegro library package.
> Could you please help me.
> The compiler gives me the following output:
> 
> *********************************************
> 
> C:\djgpp\allegro>make
> Compiling Allegro for djgpp, optimised. Please wait...
> gcc -DALLEGRO_SRC -Wall -Wno-unused -mcpu=pentium -O2
> -funroll-loops -ffast-math
>  -fomit-frame-pointer -I. -I./include -o
> obj/djgpp/alleg/allegro.o -c src/allegr
> o.c
> In file included from include/allegro/base.h:26,
>                  from include/allegro.h:27,
>                  from src/allegro.c:23:
> c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110:
> conflicting types for `va_list'
> c:/djgpp/include/stdio.h:35: previous declaration of
> `va_list'
> make.exe: *** [obj/djgpp/alleg/allegro.o] Error 1
> 
> C:\djgpp\allegro>

Read the section at the end of the gcc 3.1 readme file for the DJGPP port. See
gnu/gcc-3.1/readme.DJGPP off your DJGPP directory.

HTH,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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