Problem Compiling on Mac OS X
Posted: 2008-04-22T10:42:55-07:00
I am having a problem running make install on my machine (Mac OS X 10.4.11) and am not sure what's wrong. Any advice is appreciated. I am running all commands as root:
Because I have installed libjpeg and libpng using Fink, I ran configure like so:
All the appropriate libaries were detected, so I then ran make. Running it gave me:
Code: Select all
sudo -s
Code: Select all
CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/lib" ./configure --enable-hdri=yes
Code: Select all
make install-am
/bin/sh ./libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -W -D_THREAD_SAFE -no-undefined -export-symbols-regex ".*" -module -avoid-version -L/sw/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lfreetype -L/sw/lib -o coders/exr.la -rpath /usr/local/lib/ImageMagick-6.4.0/modules-Q16/coders coders/coders_exr_la-exr.lo magick/libMagickCore.la -lm -L/sw/lib -lIlmImf -lImath -lHalf -lIex -lIlmThread -lz
/usr/bin/ld: Undefined symbols:
__Unwind_Resume
__gnu_cxx::__exchange_and_add(int volatile*, int)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned long)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
std::ios_base::Init::Init()
std::ios_base::Init::~Init()
typeinfo for std::exception
vtable for __cxxabiv1::__si_class_type_info
operator delete(void*)
operator new(unsigned long)
___cxa_allocate_exception
___cxa_begin_catch
___cxa_end_catch
___cxa_throw
___dynamic_cast
___gxx_personality_v0
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_terminal
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
std::exception::~exception()
std::__throw_logic_error(char const*)
vtable for __cxxabiv1::__class_type_info
vtable for __cxxabiv1::__vmi_class_type_info
___cxa_call_unexpected
std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)
std::locale::~locale()
std::ios_base::~ios_base()
std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)
VTT for std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >
vtable for std::basic_streambuf<char, std::char_traits<char> >
vtable for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >
vtable for std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >
vtable for std::basic_ios<char, std::char_traits<char> >
operator delete[](void*)
operator new[](unsigned long)
___cxa_rethrow
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_leak_hard()
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)
std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()
std::basic_ostream<char, std::char_traits<char> >::operator<<(long)
std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned long)
std::_Rb_tree_decrement(std::_Rb_tree_node_base*)
std::_Rb_tree_increment(std::_Rb_tree_node_base const*)
std::_Rb_tree_increment(std::_Rb_tree_node_base*)
std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)
std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)
VTT for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >
vtable for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >
___cxa_guard_abort
___cxa_guard_acquire
___cxa_guard_release
___cxa_pure_virtual
std::basic_istream<char, std::char_traits<char> >::operator>>(float&)
std::basic_ostream<char, std::char_traits<char> >::operator<<(double)
std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char)
std::__throw_bad_alloc()
std::__throw_length_error(char const*)
std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned long) const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, unsigned long)
std::__throw_out_of_range(char const*)
std::_List_node_base::hook(std::_List_node_base*)
std::_List_node_base::unhook()
std::basic_istream<char, std::char_traits<char> >::read(char*, int)
std::basic_istream<char, std::char_traits<char> >::seekg(std::fpos<__mbstate_t>)
std::basic_istream<char, std::char_traits<char> >::tellg()
std::basic_ostream<char, std::char_traits<char> >::seekp(std::fpos<__mbstate_t>)
std::basic_ostream<char, std::char_traits<char> >::tellp()
std::basic_ostream<char, std::char_traits<char> >::write(char const*, int)
std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(char const*, std::_Ios_Openmode)
std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char const*, std::_Ios_Openmode)
std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)
std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)
std::basic_iostream<char, std::char_traits<char> >::~basic_iostream()
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long)
collect2: ld returned 1 exit status
make[1]: *** [coders/exr.la] Error 1
make: *** [install] Error 2