On Thu, Jun 28, 2007 at 09:45:32AM -0400, Kevin Horton wrote: > I'm trying to make a package for gpstk, on PPC on 10.4: > > http://gpstk.sourceforge.net/ > [skip jam, about which I know nothing] > ============================ > 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.
That symbol is indeed from the gettext lib, but notice that no -lintl flag is being passed to the linker there. Look at the output of ./configure for gettext or intl detection and look at the contents of the config.log file for those same tests to see if there's some the "use -lintl" test that is failing for some weird reason. Try also builddepending on gettext-bin and gettext-tools. As a last resort, you could: SetLDFLAGS: -lintl or somehow else force that flag to be used. > 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? The config.log file will give you the raw compiler error messages from during the getttext tests. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
