bugCal3D - 3d character animation library - Bugs: bug #12237, doesnt compile by gcc-4.3.1 on...

 
 
Show feedback again

bug #12237: doesnt compile by gcc-4.3.1 on gentoo x86_64 / latest / ebuild: media-libs/cal3d-0.12-r493

Submitted by:  None
Submitted on:  Wed 27 Aug 2008 04:17:37 PM UTC  
 
Category: NoneSeverity: 5 - Blocker
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 16 Sep 2008 09:28:01 PM UTC, comment #1:

Not sure if this is the right place to post this. If not please excuse me. I had this problem too and made two patches to fix it. Mainly both patches just include two header files.

--- loader.cpp.orig 2008-09-08 09:33:46.000000000 +0000
+++ loader.cpp 2008-09-08 09:34:27.000000000 +0000
@@ -34,6 +34,8 @@
#include "cal3d/streamsource.h"
#include "cal3d/buffersource.h"

+#include <memory> // added for auto_ptr
+
using namespace cal3d;

int CalLoader::loadingMode;

This one fixes the auto_ptr problem. And this one

--- cal3d_converter.cpp.orig 2008-09-08 09:37:06.000000000 +0000
+++ cal3d_converter.cpp 2008-09-08 09:38:45.000000000 +0000
@@ -11,6 +11,8 @@

#include "cal3d/cal3d.h"

+#include <string.h> // added for strcasecmp
+
#define SKELETON 0
#define MESH 1
#define ANIMATION 2

fixes a problem with strcasecmp I had after the auto_ptr problem

Fabian <aiwendil>
Wed 27 Aug 2008 04:17:37 PM UTC, original submission:

[ebuild N ] media-libs/cal3d-0.12-r493 USE="-16bit-indices -debug"

(...)

libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -march=native -Os -mmmx -msse -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer -pipe -fno-rtti -MT quaternion.lo -MD -MP -MF .deps/quaternion.Tpo -c quaternion.cpp -fPIC -DPIC -o .libs/quaternion.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -march=native -Os -mmmx -msse -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer -pipe -fno-rtti -MT renderer.lo -MD -MP -MF .deps/renderer.Tpo -c renderer.cpp -fPIC -DPIC -o .libs/renderer.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -march=native -Os -mmmx -msse -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer -pipe -fno-rtti -MT saver.lo -MD -MP -MF .deps/saver.Tpo -c saver.cpp -fPIC -DPIC -o .libs/saver.o
loader.cpp: In static member function 'static CalCoreBone* CalLoader::loadCoreBones(CalDataSource&)':
loader.cpp:851: error: 'auto_ptr' is not a member of 'std'
loader.cpp:851: error: expected primary-expression before '>' token
loader.cpp:851: error: 'pCoreBone' was not declared in this scope
loader.cpp: In static member function 'static CalCoreSubmesh* CalLoader::loadCoreSubmesh(CalDataSource&)':
loader.cpp:1084: error: 'auto_ptr' is not a member of 'std'
loader.cpp:1084: error: expected primary-expression before '>' token
loader.cpp:1084: error: 'pCoreSubmesh' was not declared in this scope
loader.cpp: In static member function 'static CalCoreTrack* CalLoader::loadCoreTrack(CalDataSource&, CalCoreSkeleton*, float, int)':
loader.cpp:1354: error: 'auto_ptr' is not a member of 'std'
loader.cpp:1354: error: expected primary-expression before '>' token
loader.cpp:1354: error: 'pCoreTrack' was not declared in this scope
loader.cpp: In static member function 'static CalCoreMeshPtr CalLoader::loadXmlCoreMesh(cal3d::TiXmlDocument&)':
loader.cpp:2088: error: 'auto_ptr' is not a member of 'std'
loader.cpp:2088: error: expected primary-expression before '>' token
loader.cpp:2088: error: 'pCoreSubmesh' was not declared in this scope
loader.cpp: In static member function 'static CalCoreSkeletonPtr CalLoader::loadXmlCoreSkeleton(cal3d::TiXmlDocument&)':
loader.cpp:2629: error: 'auto_ptr' is not a member of 'std'
loader.cpp:2629: error: expected primary-expression before '>' token
loader.cpp:2629: error: 'pCoreBone' was not declared in this scope
make[3]: *** [loader.lo] Błąd 1
make[3]: *** Oczekiwanie na niezakończone zadania....
mv -f .deps/saver.Tpo .deps/saver.Plo
mv -f .deps/platform.Tpo .deps/platform.Plo
mv -f .deps/quaternion.Tpo .deps/quaternion.Plo
mv -f .deps/renderer.Tpo .deps/renderer.Plo
make[3]: Opuszczenie katalogu `/home/var/tmp/portage/media-libs/cal3d-0.12-r493/work/cal3d/src/cal3d'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/home/var/tmp/portage/media-libs/cal3d-0.12-r493/work/cal3d/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/var/tmp/portage/media-libs/cal3d-0.12-r493/work/cal3d'
make: *** [all] Błąd 2

  • ERROR: media-libs/cal3d-0.12-r493 failed.
  • Call stack:
  • ebuild.sh, line 49: Called src_compile
  • environment, line 170: Called die
  • The specific snippet of code:
  • emake || die
  • The die message:
  • (no error message)
  • If you need support, post the topmost build error, and the call stack if relevant.
  • A complete build log is located at '/home/var/tmp/portage/media-libs/cal3d-0.12-r493/temp/build.log'.
  • The ebuild environment file is located at '/home/var/tmp/portage/media-libs/cal3d-0.12-r493/temp/environment'.
  • This ebuild is from an overlay: '/usr/local/portage/layman/zugaina/'
  • Messages for package media-libs/cal3d-0.12-r493:
  • ERROR: media-libs/cal3d-0.12-r493 failed.
  • Call stack:
  • ebuild.sh, line 49: Called src_compile
  • environment, line 170: Called die
  • The specific snippet of code:
  • emake || die
  • The die message:
  • (no error message)
  • If you need support, post the topmost build error, and the call stack if relevant.
  • A complete build log is located at '/home/var/tmp/portage/media-libs/cal3d-0.12-r493/temp/build.log'.
  • The ebuild environment file is located at '/home/var/tmp/portage/media-libs/cal3d-0.12-r493/temp/environment'.
  • This ebuild is from an overlay: '/usr/local/portage/layman/zugaina/'

gcc (Gentoo 4.3.1-r1 p1.1) 4.3.1
Linux hp 2.6.26-hardened-r1 #4 SMP PREEMPT Tue Aug 26 13:28:03 CEST 2008 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux

Anonymous

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by aiwendil (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup