W3C home > Mailing lists > Public > www-amaya-dev@w3.org > November 2002

Re: compilation trouble using Dev-C++ IDE and GNU mingw32 compiler

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Mon, 25 Nov 2002 12:41:55 +0100
To: Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org>
Cc: www-amaya-dev@w3.org
Message-Id: <20021125124155.4b5b601a.irene.vatton@inrialpes.fr>

Hi Brant,

You have to check that the libwww and amaya are compiled with the same options
The best is to use the WorkSpace (.dsw) to be sure.

On Wed, 13 Nov 2002 17:40:15 -0500
Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org> wrote:

> Dev-C++ beta will read .dsp files (Amaya Website seems to address using 
> ..dsw but not .dsp), but I am having trouble.  It appears it will not 
> load multi-project projects such as Amaya so I have to compile each part 
> separately.  I follow the following steps:
> 1. Import WindowsGL/zlib/zlib.dsp.
> 2. In Project Options, I make the following changes:
>     Uncheck Compile as C++
>     Select Win32 Static Library
> 3. Click Execute > Rebuild All.
> 
> Result: Compilation Successful
> 
> 1. Rename zlib.a to zlib.lib and move it up a directory.
> 2. Import WindowsGL/libwww/libwww.dsp
> 3. I set the same Project Options as before.
> 4. Click Execute > Rebuild All.
> 
> Result:
> Building Makefile: "F:\cvs\Amaya\WindowsGL\libwww\Makefile.win"
> (Find dependencies)
> Executing  make clean
> rm -f ../../../Libwww/Modules/Expat/Xmlparse/hashtable.o 
> .../../../libwww/Library/src/HTAABrow.o 
> .../../../libwww/Library/src/HTAAUtil.o 
> .../../../libwww/Library/src/HTAccess.o 
> .../../../libwww/Library/src/HTAlert.o 
> .../../../libwww/Library/src/HTAnchor.o 
> .../../../libwww/Library/src/HTANSI.o 
> .../../../libwww/Library/src/HTArray.o 
> .../../../libwww/Library/src/HTAssoc.o 
> .../../../libwww/Library/src/HTAtom.o 
> .../../../libwww/Library/src/HTBind.o 
> .../../../libwww/Library/src/HTBInit.o 
> .../../../libwww/Library/src/HTBound.o 
> .../../../libwww/Library/src/HTBTree.o 
> .../../../libwww/Library/src/HTBufWrt.o 
> .../../../libwww/Library/src/HTCache.o 
> .../../../libwww/Library/src/HTChannl.o 
> .../../../libwww/Library/src/HTChunk.o 
> .../../../libwww/Library/src/HTConLen.o 
> .../../../libwww/Library/src/HTDAV.o 
> .../../../libwww/Library/src/HTDemux.o 
> .../../../libwww/Library/src/HTDescpt.o 
> .../../../libwww/Library/src/HTDialog.o 
> .../../../libwww/Library/src/HTDigest.o 
> .../../../libwww/Library/src/HTDir.o ../../../libwww/Library/src/HTDNS.o 
> .../../../libwww/Library/src/HTEPtoCl.o 
> .../../../libwww/Library/src/HTError.o 
> .../../../libwww/Library/src/HTEscape.o 
> .../../../libwww/Library/src/HTEvent.o 
> .../../../libwww/Library/src/HTEvtLst.o 
> .../../../libwww/Library/src/HTFile.o 
> .../../../libwww/Library/src/HTFilter.o 
> .../../../libwww/Library/src/HTFormat.o 
> .../../../libwww/Library/src/HTFSave.o 
> .../../../libwww/Library/src/HTFTP.o 
> .../../../libwww/Library/src/HTFTPDir.o 
> .../../../libwww/Library/src/HTFWrite.o 
> .../../../libwww/Library/src/HTGopher.o 
> .../../../libwww/Library/src/HTGuess.o 
> .../../../Libwww/Library/Src/HTHash.o 
> .../../../libwww/Library/src/HTHeader.o 
> .../../../libwww/Library/src/HTHInit.o 
> .../../../libwww/Library/src/HTHist.o 
> .../../../libwww/Library/src/HTHome.o 
> .../../../libwww/Library/src/HTHost.o 
> .../../../libwww/Library/src/HTIcons.o 
> .../../../libwww/Library/src/HTInet.o 
> .../../../libwww/Library/src/HTInit.o ../../../libwww/Library/src/HTLib.o 
> .../../../libwww/Library/src/HTLink.o 
> .../../../libwww/Library/src/HTList.o 
> .../../../libwww/Library/src/HTLocal.o 
> .../../../libwww/Library/src/HTLog.o 
> .../../../libwww/Library/src/HTMemLog.o 
> .../../../libwww/Library/src/HTMemory.o 
> .../../../libwww/Library/src/HTMerge.o 
> .../../../libwww/Library/src/HTMethod.o 
> .../../../libwww/Library/src/HTMIME.o 
> .../../../libwww/Library/src/HTMIMERq.o 
> .../../../libwww/Library/src/HTMIMImp.o 
> .../../../libwww/Library/src/HTMIMPrs.o 
> .../../../libwww/Library/src/HTML.o ../../../libwww/Library/src/HTMLGen.o 
> .../../../libwww/Library/src/HTMLPDTD.o 
> .../../../libwww/Library/src/HTMulti.o 
> .../../../libwww/Library/src/HTMuxCh.o 
> .../../../libwww/Library/src/HTMuxTx.o 
> .../../../libwww/Library/src/HTNDir.o ../../../libwww/Library/src/HTNet.o 
> .../../../libwww/Library/src/HTNetTxt.o 
> .../../../libwww/Library/src/HTNews.o 
> .../../../libwww/Library/src/HTNewsLs.o 
> .../../../libwww/Library/src/HTNewsRq.o 
> .../../../libwww/Library/src/HTNoFree.o 
> .../../../libwww/Library/src/HTParse.o 
> .../../../libwww/Library/src/HTPEP.o 
> .../../../libwww/Library/src/HTPlain.o 
> .../../../libwww/Library/src/HTProfil.o 
> .../../../libwww/Library/src/HTProt.o 
> .../../../libwww/Library/src/HTProxy.o 
> .../../../Libwww/Library/Src/HTRDF.o 
> .../../../libwww/Library/src/HTReader.o 
> .../../../libwww/Library/src/HTReqMan.o 
> .../../../libwww/Library/src/HTResponse.o 
> .../../../libwww/Library/src/HTRules.o 
> .../../../libwww/Library/src/HTSChunk.o 
> .../../../libwww/Library/src/HTSocket.o 
> .../../../libwww/Library/src/HTStream.o 
> .../../../libwww/Library/src/HTString.o 
> .../../../libwww/Library/src/HTStyle.o 
> .../../../libwww/Library/src/HTTChunk.o 
> .../../../libwww/Library/src/HTTCP.o ../../../libwww/Library/src/HTTee.o 
> .../../../libwww/Library/src/HTTelnet.o 
> .../../../libwww/Library/src/HTTeXGen.o 
> .../../../libwww/Library/src/HTTimer.o ../../../libwww/Library/src/HTTP.o 
> .../../../libwww/Library/src/HTTPGen.o 
> .../../../libwww/Library/src/HTTPReq.o 
> .../../../libwww/Library/src/HTTPRes.o 
> .../../../libwww/Library/src/HTTPServ.o 
> .../../../libwww/Library/src/HTTrace.o 
> .../../../libwww/Library/src/HTTrans.o 
> .../../../libwww/Library/src/HTUser.o 
> .../../../libwww/Library/src/HTUTree.o ../../../libwww/Library/src/HTUU.o 
> .../../../libwww/Library/src/HTWriter.o 
> .../../../libwww/Library/src/HTWSRC.o 
> .../../../libwww/Library/src/HTWWWStr.o 
> .../../../Libwww/Library/Src/HTXML.o 
> .../../../libwww/Library/src/HTXParse.o 
> .../../../libwww/Library/src/HTZip.o ../../../libwww/modules/md5/md5.o 
> .../../../libwww/Library/src/SGML.o 
> .../../../Libwww/Modules/Expat/Xmlparse/xmlparse.o 
> .../../../Libwww/Modules/Expat/Xmltok/xmlrole.o 
> .../../../Libwww/Modules/Expat/Xmltok/xmltok.o ../zlib.o  libwww.a
> 
> gcc.exe -c ../../../Libwww/Modules/Expat/Xmlparse/hashtable.c -o 
> .../../../Libwww/Modules/Expat/Xmlparse/hashtable.o 
> -I"F:/Dev-Cpp/include"  -I"../../../libwww/modules/md5"  
> -I"../../../libwww/modules/expat/xmlparse"  
> -I"../../../libwww/modules/expat/xmltok"  
> -I"../../../libwww/Library/src"  -I"../../libpng/zlib"  -D__GNUWIN32__ 
> -W -DNDEBUG -DHT_DAV -DHT_ZLIB -DWWW_WIN_ASYNC -DWIN32 -D_WINDOWS_ -D_GL 
> -D_SVGLIB -D_SVGANIM -fexceptions -fverbose-asm -pg -g3 -O3 
> -fexpensive-optimizations
> 
> (errors start appearing here)
> 
> gcc.exe -c ../../../libwww/Library/src/HTAABrow.c -o 
> .../../../libwww/Library/src/HTAABrow.o -I"F:/Dev-Cpp/include"  
> -I"../../../libwww/modules/md5"  
> -I"../../../libwww/modules/expat/xmlparse"  
> -I"../../../libwww/modules/expat/xmltok"  
> -I"../../../libwww/Library/src"  -I"../../libpng/zlib"  -D__GNUWIN32__ 
> -W -DNDEBUG -DHT_DAV -DHT_ZLIB -DWWW_WIN_ASYNC -DWIN32 -D_WINDOWS_ -D_GL 
> -D_SVGLIB -D_SVGANIM -fexceptions -fverbose-asm -pg -g3 -O3 
> -fexpensive-optimizations
> 
> In file included from ../../../libwww/Library/src/HTLib.h:29,
>                  from ../../../libwww/Library/src/WWWCore.h:60,
> 
>                  from ../../../libwww/Library/src/WWWLib.h:75,
> 
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTUser.h:137: parse error before 
> `HTUserProfile_timezone'
> .../../../libwww/Library/src/HTUser.h:137: warning: data definition has 
> no type or storage class
> .../../../libwww/Library/src/HTUser.h:138: parse error before `time_t'
> In file included from ../../../libwww/Library/src/HTAnchor.h:74,
>                  from ../../../libwww/Library/src/HTFormat.h:77,
>                  from ../../../libwww/Library/src/HTReq.h:72,
>                  from ../../../libwww/Library/src/WWWCore.h:73,
>                  from ../../../libwww/Library/src/WWWLib.h:75,
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTResponse.h:109: parse error before 
> `HTResponse_retryTime'
> 
> .../../../libwww/Library/src/HTResponse.h:109: warning: data definition 
> has no type or storage class
> .../../../libwww/Library/src/HTResponse.h:110: parse error before `time_t'
> 
> .../../../libwww/Library/src/HTResponse.h:280: parse error before 
> `HTResponse_maxAge'
> .../../../libwww/Library/src/HTResponse.h:280: warning: data definition 
> has no type or storage class
> In file included from ../../../libwww/Library/src/HTFormat.h:77,
>                  from ../../../libwww/Library/src/HTReq.h:72,
>                  from ../../../libwww/Library/src/WWWCore.h:73,
>                  from ../../../libwww/Library/src/WWWLib.h:75,
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTAnchor.h:603: parse error before 
> `HTAnchor_date'
> .../../../libwww/Library/src/HTAnchor.h:603: warning: data definition has 
> no type or storage class
> .../../../libwww/Library/src/HTAnchor.h:604: parse error before `date'
> .../../../libwww/Library/src/HTAnchor.h:614: parse error before 
> `HTAnchor_lastModified'
> .../../../libwww/Library/src/HTAnchor.h:614: warning: data definition has 
> no type or storage class
> .../../../libwww/Library/src/HTAnchor.h:615: parse error before `lm'
> .../../../libwww/Library/src/HTAnchor.h:642: parse error before 
> `HTAnchor_age'
> .../../../libwww/Library/src/HTAnchor.h:642: warning: data definition has 
> no type or storage class
> .../../../libwww/Library/src/HTAnchor.h:643: parse error before `age'
> .../../../libwww/Library/src/HTAnchor.h:651: parse error before 
> `HTAnchor_expires'
> .../../../libwww/Library/src/HTAnchor.h:651: warning: data definition has 
> no type or storage class
> .../../../libwww/Library/src/HTAnchor.h:652: parse error before `exp'
> In file included from ../../../libwww/Library/src/HTChannl.h:43,
>                  from ../../../libwww/Library/src/HTIOStream.h:38,
>                  from ../../../libwww/Library/src/HTTrans.h:60,
>                  from ../../../libwww/Library/src/HTNet.h:57,
>                  from ../../../libwww/Library/src/HTReq.h:75,
>                  from ../../../libwww/Library/src/WWWCore.h:73,
>                  from ../../../libwww/Library/src/WWWLib.h:75,
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTHost.h:406: parse error before 
> `HTHost_persistTimeout'
> .../../../libwww/Library/src/HTHost.h:406: warning: data definition has 
> no type or storage class
> .../../../libwww/Library/src/HTHost.h:407: parse error before `timeout'
> .../../../libwww/Library/src/HTHost.h:414: parse error before `time_t'
> .../../../libwww/Library/src/HTHost.h:415: parse error before 
> `HTHost_persistExpires'
> .../../../libwww/Library/src/HTHost.h:415: warning: data definition has 
> no type or storage class
> In file included from ../../../libwww/Library/src/HTIOStream.h:38,
>                  from ../../../libwww/Library/src/HTTrans.h:60,
>                  from ../../../libwww/Library/src/HTNet.h:57,
>                  from ../../../libwww/Library/src/HTReq.h:75,
>                  from ../../../libwww/Library/src/WWWCore.h:73,
>                  from ../../../libwww/Library/src/WWWLib.h:75,
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTChannl.h:62: parse error before `FILE'
> .../../../libwww/Library/src/HTChannl.h:98: parse error before `*'
> .../../../libwww/Library/src/HTChannl.h:98: warning: data definition has 
> no type or storage class
> .../../../libwww/Library/src/HTChannl.h:99: parse error before `FILE'
> In file included from ../../../libwww/Library/src/HTNet.h:61,
>                  from ../../../libwww/Library/src/HTReq.h:75,
> 
>                  from ../../../libwww/Library/src/WWWCore.h:73,
>                  from ../../../libwww/Library/src/WWWLib.h:75,
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTDNS.h:58: parse error before `timeout'
> .../../../libwww/Library/src/HTDNS.h:59: parse error before `HTDNS_timeout'
> .../../../libwww/Library/src/HTDNS.h:59: parse error before `timeout'
> .../../../libwww/Library/src/HTDNS.h:59: warning: data definition has no 
> type or storage class
> In file included from ../../../libwww/Library/src/WWWCore.h:73,
>                  from ../../../libwww/Library/src/WWWLib.h:75,
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTReq.h:832: parse error before `HTRequest_date'
> .../../../libwww/Library/src/HTReq.h:832: warning: data definition has no 
> type or storage class
> .../../../libwww/Library/src/HTReq.h:833: parse error before `time_t'
> In file included from ../../../libwww/Library/src/WWWCore.h:161,
>                  from ../../../libwww/Library/src/WWWLib.h:75,
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTWWWStr.h:160: parse error before `*'
> .../../../libwww/Library/src/HTWWWStr.h:171: parse error before `*'
> .../../../libwww/Library/src/HTWWWStr.h:187: parse error before `HTParseTime'
> .../../../libwww/Library/src/HTWWWStr.h:187: warning: data definition has 
> no type or storage class
> In file included from ../../../libwww/Library/src/HTInet.h:30,
>                  from ../../../libwww/Library/src/WWWCore.h:339,
> 
>                  from ../../../libwww/Library/src/WWWLib.h:75,
> 
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTHstMan.h:61: parse error before `time_t'
> .../../../libwww/Library/src/HTHstMan.h:61: warning: no semicolon at end 
> of struct or union
> .../../../libwww/Library/src/HTHstMan.h:70: parse error before `expires'
> .../../../libwww/Library/src/HTHstMan.h:70: warning: data definition has 
> no type or storage class
> .../../../libwww/Library/src/HTHstMan.h:110: parse error before `}'
> In file included from ../../../libwww/Library/src/WWWCore.h:339,
>                  from ../../../libwww/Library/src/WWWLib.h:75,
>                  from ../../../libwww/Library/src/HTAABrow.c:71:
> .../../../libwww/Library/src/HTInet.h:93: parse error before 
> `HTGetTimeZoneOffset'
> .../../../libwww/Library/src/HTInet.h:93: warning: data definition has no 
> type or storage class
> .../../../libwww/Library/src/HTAABrow.c: In function `make_template':
> .../../../libwww/Library/src/HTAABrow.c:133: warning: initialization 
> makes pointer from integer without a cast
> 
> make.exe: *** [../../../libwww/Library/src/HTAABrow.o] Error 1
> 
> Execution terminated
> 
> 
> Am I missing something?
> 
> -- 
> Brant Langer Gurganus
> http://troop545.cjb.net/brant.htm
> 
> 


-- 
     Irene.
Received on Monday, 25 November 2002 06:42:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:48 UTC