pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

devel/ogre and NetBSD amd64



Hello everyone,

I'm think that someone have already ask for help for the same issue as
I'm about to do, but I found nothing conclusive using google, so I
came to you because while trying to compile devel/ogre on NetBSD amd64
(pkgsrc-2009Q4) with the native gcc (4.1.3) it trow

ld: .libs/OgreAnimable.o: relocation R_X86_64_PC32 against undefined
symbol `_ZNSsD1Ev' can not be used when making a shared object;
recompile with -fPIC

but I checked the Makefile and -fPIC is already in the CFLAGS

and with the lastest gcc (lang/gcc44) with this three variables in my
/etc/mk.conf:
CC=/usr/pkg/gcc44/bin/gcc
CXX=/usr/pkg/gcc44/bin/g++
CPP=/usr/pkg/gcc44/bin/cpp

I get this error:
.libs/OgreBspLevel.o: In function
`Ogre::BspLevel::isLeafVisible(Ogre::BspNode const*, Ogre::BspNode
const*) const':
OgreBspLevel.cpp:(.text+0x33b): undefined reference to `_Unwind_Resume'
.libs/OgreBspLevel.o: In function
`Ogre::BspLevel::initQuake3Patches(Ogre::Quake3Level const&,
Ogre::VertexDeclaration*)':
OgreBspLevel.cpp:(.text+0x5f7): undefined reference to `_Unwind_Resume'
.libs/OgreBspLevel.o: In function
`Ogre::BspLevel::calculateLoadingStages(Ogre::SharedPtr<Ogre::DataStream>&)':
OgreBspLevel.cpp:(.text+0x70f): undefined reference to `_Unwind_Resume'
OgreBspLevel.cpp:(.text+0x722): undefined reference to `_Unwind_Resume'
.libs/OgreBspLevel.o: In function
`Ogre::BspLevel::tagNodesWithMovable(Ogre::BspNode*,
Ogre::MovableObject const*, Ogre::Vector3 const&)':
OgreBspLevel.cpp:(.text+0x98b): undefined reference to `_Unwind_Resume'
.libs/OgreBspLevel.o:OgreBspLevel.cpp:(.text+0xd15): more undefined
references to `_Unwind_Resume' follow

the package is not mark as broken on amd64, so there is a solution to
compile, can someone help me?


Home | Main Index | Thread Index | Old Index