I'm trying to make a package for gpstk, on PPC on 10.4:

http://gpstk.sourceforge.net/

The source offers two alternate ways to compile: using jam, or using configure, 
make etc.  I've tried both, but neither works.  If I try jam, it fails like:

___cxa_bad_cast
std::basic_istream<char, std::char_traits<char> >::operator>>(double&)
std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> 
>::basic_stringstream(std::_Ios_Openmode)
std::basic_istream<char, std::char_traits<char> >& std::operator>><char, 
std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, 
std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >&)
VTT for std::basic_stringstream<char, std::char_traits<char>, 
std::allocator<char> >
vtable for std::basic_stringstream<char, std::char_traits<char>, 
std::allocator<char> >
std::_List_node_base::unhook()
std::basic_ostream<char, std::char_traits<char> >& std::flush<char, 
std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)
std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::rfind(char, unsigned long) const
std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf()
std::basic_ios<char, std::char_traits<char> >::copyfmt(std::basic_ios<char, 
std::char_traits<char> > const&)
VTT for std::basic_ofstream<char, std::char_traits<char> >
vtable for std::basic_ofstream<char, std::char_traits<char> >
collect2: ld returned 1 exit status
### execution of /var/tmp/tmp.1.MxFkMl failed, exit code 1

============================
If I try the configure, make route, it fails like:

g++ -g -O2 -o rowcheck rowcheck.o -Wl,-bind_at_load  -L/sw/lib 
../../src/.libs/libgpstk.a
/usr/bin/ld: Undefined symbols:
_libintl_gettext
collect2: ld returned 1 exit status
make[2]: *** [rowcheck] Error 1g++ -g -O2 -o rowcheck rowcheck.o 
-Wl,-bind_at_load  -L/sw/lib ../../src/.libs/libgpstk.a
/usr/bin/ld: Undefined symbols:
_libintl_gettext
collect2: ld returned 1 exit status
make[2]: *** [rowcheck] Error 1

I get a similar failure if I BuildDepends on gettext-dev - the only difference 
is that the missing symbol is now _gettext.

=========================
The INSTALL doc says that the software is known to compile with gcc 3.3 and 
3.4.  Could the above failures be a sign of incompatibility with gcc 4?

As near as I can tell, the failure with jam is different than the failure with 
configure, make.  But I have no idea how to diagnose either problem.

Any advice would be appreciated.

Kevin Horton
Ottawa, Canada

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to