delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/25/16:39:19

Date: Tue, 25 Jan 2000 10:15:49 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Kerstin & Peter Karp <karpfenteich AT gmx DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: Re[2]: valarray: header file missing/false_name
In-Reply-To: <Q.20000124205827.C70.2.1DAD@mail.gmx.net>
Message-ID: <Pine.A41.4.05.10001251005100.132838-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Mon, 24 Jan 2000, Kerstin & Peter Karp wrote:

> Hi Andris,
> 
> thank you very much for taking the time to help me with my problem :-)
> 
> 
> > I renamed valarray_meta.h to _valarray_meta.h to avoid filename 
> > conflict in 2 cases:
> > 	non LFN systems (eg. plain DOS)
> > 	Win9X when NameNumericTails=1 in Windows registry
> 
> So the original name is valarray_meta.h? I wonder how I got the other
> name _valarray_meta.h?
> 
> I tried your suggestion and posted the output like you've asked me to
> do.
> 
> Here's a copy of the post:
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> [problems with #include <valarray>
>  error message stated missing file valarray_meta.h
>  To please the compiler I renamed _valarray_meta.h to valarray_meta.h]
> 
> In a private e-mail Andris asked me to try: 
> 
> 	redir -eo gcc -v -c vectom.cpp >output.lst
> 
> and to post the message.
> 
> Here are the results of output.lst:
> 
> ------------------------
> with original filename _valarray_meta.h:
> 
> Reading specs from d:/progra~1/djgpp/lib/specs

Here we see the problem. You have specs file from earlier DJGPP version
(2.02 or earlier) in DJGPP lib directory:

Please do one of the following:
	
	- RECOMMENDED: upgrade to DJGPP v2.03 (released recently). It
	  doesn't have specs file in lib directory (note: uninstall
          djdev202.zip before that) 

	- remove specs file from d:/progra~1/djgpp/lib

DJGPP port of gcc-2.95.2 should use it's own specs file
(lib/gcc-lib/djgpp/2.952/specs) , not one from djdev202.zip or earlier.

Also consider installing DJGPP in non LFN directory (this is not related
to current problem though)

Andris


> gcc version 2.95.2 19991024 (release)
>  d:/progra~1/djgpp/lib/gcc-lib/djgpp/2.952/cpp.exe -lang-c++ -v
> -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Dunix
> -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=2 -D__unix__ -D__i386__
> -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=2 -D__unix
> -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=2
> -D__EXCEPTIONS vectom.cpp d:/progra~1/djgpp/tmp\cc6muBH8.ii
> GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
> #include "..." search starts here:
> #include <...> search starts here:
>  d:/progra~1/djgpp/lang/cxx
>  d:/progra~1/djgpp/include
>  d:/progra~1/djgpp/lang/cxx
>  d:/progra~1/djgpp/lib/gcc-lib/djgpp/2.952/include
>  d:/progra~1/djgpp/include
> End of search list.
> The following default directories have been omitted from the search
> path:
>  $DJDIR/lib/gcc-lib/djgpp/2.952/../../../../djgpp/include
> End of omitted list.
> In file included from d:/progra~1/djgpp/lang/cxx/valarray:6,
>                  from vectom.cpp:3:
> d:/progra~1/djgpp/lang/cxx/std/std_valarray.h:113:
> std/valarray_meta.h: No such file or directory (ENOENT)
> 

- Raw text -


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