[NTLUG:Discuss] libio.h:No file or directory

Kyle_Davenport@compusa.com Kyle_Davenport at compusa.com
Wed Apr 5 17:07:25 CDT 2000


does sound like incompatible headers.  On my RH6.1 box, /usr/include/libio.h is
part of glibc-devel-2.1.2-11 package.

_______________________________________________________




Cameron <hrothgar at endor.hsutx.edu> on 04/05/2000 04:45:06 PM

Please respond to discuss at ntlug.org

To:   discuss at ntlug.org
cc:    (bcc: Kyle Davenport/Is/Corporate/CompUSA)
Subject:  Re: [NTLUG:Discuss] libio.h:No file or directory



* kungfusion at x-net.com [2000.04.05 15:28]:
: ..."Hello World!" program.
:
: In file included from /usr/include/g++-2/iostream.h:31
:                  from testprog.cpp:1:
: /usr/include/g++-2/streambuf.h:36: libio.h: No such file or directory
:
: where can I get libio.h from?
:
: Thanks,
: Brian
:

I have a Mandrake 7.0 install that has gcc-2.95.2 with it.  When I
compile c++ program, I have to pass it a flag so g++ knows to use a
backwards compatible egcs library.  Here's an example:

  g++ -Vegcs-2.91.66 source.cc -o ouput

The "-V" tells g++ to use the "egcs-2.91.66" version library.  To get
what egcs version you have, run `egcs-version`.  Hope this is what the
problem is.

If anyone knows a "better" way to use gcc-2.95.2, please enlighten me.
--
cameron
 ( Do not meddle in the affairs of sysadmins, )
 (  for they are subtle and quick to anger.   )


_______________________________________________
http://ntlug.org/mailman/listinfo/discuss










More information about the Discuss mailing list