compile error (+solution) with GNU gcc version 3.3 in SuSE 8.2

Peter-Henry Mander erlang@REDACTED
Mon Jun 9 11:31:49 CEST 2003

Hi SuSE+Erlang people,

I've stumbled across a compilation problem with R9B-1 due to a
deprecated file which is missing from gcc v3.3 as distributed in
SuSE-8.2 (it was still there in gcc v3.2 of SuSE-8.1 and 8.0, albeit
with a warning about deprecated/antiquated headers, and may be included
in an update from SuSE which I haven't installed. I've included it in
case you happen to need it)

Along with numerous additional signed/unsigned comparison warnings 
compared to SuSE-8.2/gcc-3.2, I get a single error while 'make' visits 
the lib/orber/c_src directory:

In file included from
InitialReference.hh:28:23: strstream.h: No such file or directory

followed by other errors directly related to this one.

After a quick look into /usr/include/g++/backward I found that the file
strstream.h is missing in the SuSE-8.2 distribution, but not strstream,
so it looks as if it's a SuSE problem, not a gcc problem.

Putting the missing strtream.h file back into /usr/include/g++/backward
solves the compilation problem, and everything installs successfully.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strstream.h
URL: <>

More information about the erlang-questions mailing list