delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/08/01/10:30:30

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Sun, 01 Aug 2004 09:25:49 -0500
Date: Sun, 01 Aug 2004 10:26:21 -0400
From: Robert McCrea <robmccrea AT adelphia DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Upgraded DJ now have va_list conflicts
Message-ID: <g8OdnZd1zJ_wYJHcRVn-sw@adelphia.com>
Lines: 67
NNTP-Posting-Host: 69.170.195.252
X-Trace: sv3-mXKw/TxuWRQ1aGSttKjeGsWSRuqP/4uzjDv9R7VXx2t1NMVx1Nges7lKYE9orty/CenTyD7T6DvAxA+!pp9ozh3/7HeOjnEiz58S/l73Uba6JujKgXREHf3MxHTzV6dNcYjph87y12YB+diI1E/o7nwHELKb!cENf+aX8/x+kLLeiQBQ=
X-Complaints-To: abuse AT adelphia DOT net
X-DMCA-Complaints-To: copyright AT adelphia DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

It seems I have an old error.

On Win98SE, I upgraded gcc from 2.953 to 3.41, and all packages given by 
DJ's Zip Picker.  Ran make on my project and got the same error I 
recieve while now trying to make allegro.


*****makingAllegro*****
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/allegro.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from ./include/allegro/base.h:26,
                  from ./include/allegro.h:29,
                  from src/allegro.c:23:
D:/DJ/BIN/../lib/gcc/djgpp/3.41/include/stdarg.h:105: error: conflicting 
types f
or 'va_list'
d:/dj/include/stdio.h:35: error: previous declaration of 'va_list' was here
make.exe: *** [obj/djgpp/alleg/allegro.o] Error 1
*****


The Allegro FAQ mentions this error:

*****allegroFAQ*****
  When I run make, it says "conflicting types for va_list".

     As the error message suggests, there is a conflict between newer
     versions of gcc and older versions of the libc. You must upgrade your
     djdevxxx.zip package to the latest update (timestamp 11 August 2002)
     of DJGPP-2.03 or above.
*****

I've installed the following files to a new directory, and reconfigured 
my environment variables.

djdev203.zip
all403.zip
bnu215b.zip
fil41b.zip
gcc341b.zip
gdb611b.zip
gpp341b.zip
mak3791b.zip
txi47b.zip
sed409b.zip

http://www.delorie.com/djgpp/bugs/show.cgi?000352 mentions that only 
version 3.1 had this problem.  After more scouring I also removed my 
/bin and re-extracted.  Problem still existed.  Now, installed to new 
directory, change my environment variables, and still have the va_list 
conflict.

Any help is appreciated.  Since I believe I effectively downloaded from 
sratch, now, I can't believe that either I'm the only one with this 
problem, or that I can't find the answer.

Thanks,
Rob




- Raw text -


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