Re: August Rel. compiling errors




Jan

I got nearly the same set of messages with my Mandrake 7.0.  What
distribution, gcc, and version are you using?

My comments are mixed in.

On Thu, 24 Aug 2000, Jan wrote:
> Hello to all,
> 
> I tried to compile the src-code of the august release.  Under you can find
> my err.log.  Has anyone have a clue?
> 
> Thanks,
> 
> Jan.
> 
> Rcserr.log:
> 
> gnumake: Command not found.

Will tells me that this is a command that looks for a specific command
that only exists on some OS's.  You can ignore this.

[I wanted to include a test to see if gnumake was on the system. On all the
newer linux systems the "make" command runs the GNU version of make, but on our
older SUN workstations if you want the GNU version of make you need to run "gnumake".
If you run "make" you may get the SUN version of "make" which is incompatible
with our makefiles.

After the script tries to run "gnumake" and fails it will run "make", so
this is not a problem. Except hopefully some day I'll clean up the script
so this message doesn't appear.]

> /usr/X11R6/bin/makedepend: warning:  _mathprnt.c (reading
> /usr/local/nist/augsrc2000/rcslib/plat/linux_2_0_36/include/mathprnt.h, line
> 30): cannot find include file "iostream.h"
>  not in
<directories searched for iostream snipped>

I found iostream in an older library RPM on my release disk.  I haven't had
time to try it but will said.

Will said:
[iostream.h is found at    /usr/include/g++-2/iostream.h on my system.

Aparantly g++/gcc know to look here without needing an explicit -I flag
added to CFLAGS, but makedepend doesn't. 

You can safely ignore the warning, but if you want to get rid of it 
edit rtlinux_2_2.def and linux_2_2_14.def  to add something like
-I/usr/include/g++-2 to the CFLAGS.

If iostream.h isn't in the same directory on your system you can use
either of these commands to find it.

Method 1.

create test.cc with one line

#include <iostream.h>

g++ -M test.cc | grep iostream


or 

Method 2.

find / -xdev -name iostream.h

-- Will]

> /usr/X11R6/bin/makedepend: warning:  rtlnml.c, line 50: cannot find include
> file "mbuff.h"
<mbuff.h search directories snipped> 

Not finding mbuff.h will trash the compile.  It is a realtime file so
search your realtime directory.  Mine is /usr/src/rtlinux-2.2.  Just copy
mbuff.h into one of the directories that was reported to be searched by
make and you should get past that problem.

Good luck.

Ray




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact