[lug] RH 9.x and g++ compiles

Peter Hutnick peter-lists at hutnick.com
Sat May 31 19:08:09 MDT 2003


Michael J. Hammel said:

> Here is the partial output from the start of the build.  As you can see,
> it fails in the linking phase.
>
> c++ -m32 -g -Wall -c -O2 `gimptool --cflags` `gimptool --cflags`   -c -o
> fixer.o fixer.cc
> gcc -m32  -o fixer fixer.o `gimptool --libs`
> fixer.o(.text+0x5c): In function `operator+(Patch const&, Patch
> const&)':

Are you (or your make file, or build script, or whatever) using the
command "gcc" or "g++"?  The command gcc will try to build your C++ file
as a C file, and /minimally/ fail because the C++ standard library won't
be available.

Or it could be something else . . .

-Peter





More information about the LUG mailing list