Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69180 - blender-2.28c doesn't compile with gcc-3.4.x
Summary: blender-2.28c doesn't compile with gcc-3.4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 13:08 UTC by iago
Modified: 2004-10-27 23:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iago 2004-10-27 13:08:11 UTC
trying to compile it (emerging the ebuild) I get a linker error saying that there's an unresolved symbol: endl.
Since this is a common C++ i/o modifier perhaps it is a stupid bug. (like a namespace one).

Reproducible: Always
Steps to Reproduce:
1.USE=-mozilla emerge media-gfx/blender
2.
3.

Actual Results:  
waiting for the crash output. I'll include it as soon as it ends.


my system has a stable ppc profile on.
Comment 1 iago 2004-10-27 13:42:37 UTC
these are the last lines of the compilation output.

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intern/iksolver/intern/TNT -I../../intern/iksolver/intern -I../../intern/iksolver/extern -I../../intern/moto/include -I../../intern/memutil -I/usr/include/SDL -I/usr/include/freetype2 -DWITH_FREETYPE2 -I/usr/include -I/usr/include -O3 -mcpu=750 -pipe -funsigned-char -MT IK_QJacobianSolver.lo -MD -MP -MF .deps/IK_QJacobianSolver.Tpo -c intern/IK_QJacobianSolver.cpp  -fPIC -DPIC -DPIC -o IK_QJacobianSolver.o
In file included from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include/g++-v3/backward/strstream:51,
                 from intern/TNT/vec.h:40,
                 from intern/TNT/cmat.h:38,
                 from intern/IK_QJacobianSolver.h:41,
                 from intern/IK_QJacobianSolver.cpp:36:
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from intern/TNT/cmat.h:38,
                 from intern/IK_QJacobianSolver.h:41,
                 from intern/IK_QJacobianSolver.cpp:36:
intern/TNT/vec.h: In function `std::ostream& TNT::operator<<(std::ostream&, const TNT::Vector<T>&)':
intern/TNT/vec.h:299: error: `endl' undeclared (first use this function)
intern/TNT/vec.h:299: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include/g++-v3/backward/strstream:51,
                 from intern/TNT/vec.h:40,
                 from intern/TNT/cmat.h:38,
                 from intern/IK_QChain.h:47,
                 from intern/IK_QChain.cpp:44:
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from intern/TNT/cmat.h:38,
                 from intern/IK_QChain.h:47,
                 from intern/IK_QChain.cpp:44:
intern/TNT/vec.h: In function `std::ostream& TNT::operator<<(std::ostream&, const TNT::Vector<T>&)':
intern/TNT/vec.h:299: error: `endl' undeclared (first use this function)
intern/TNT/vec.h:299: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[3]: *** [IK_QJacobianSolver.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [IK_QChain.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/blender-2.28c/work/blender-2.28c/intern/iksolver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/blender-2.28c/work/blender-2.28c/intern'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/blender-2.28c/work/blender-2.28c'
make: *** [all] Error 2

!!! ERROR: media-gfx/blender-2.28c failed.
!!! Function src_compile, Line 92, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Comment 2 Luca Barbato gentoo-dev 2004-10-27 16:52:12 UTC
I'll mark the latest blender (and yafray) stable soon 
Comment 3 Luca Barbato gentoo-dev 2004-10-27 23:52:47 UTC
Marked the 2.34 version and yafray 0.0.7 ppc

You should not have problems anymore