From: Richard Dawe 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: NNTP-Posting-Host: modem-233.alaska.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/ ]