Displaying 2 results from an estimated 2 matches for "r_xdr".
Did you mean:
e_hdr
2014 Dec 15
1
R build failure under gcc 4.9's link time optimization
...PPFLAGS) $(BZLIB_CPPFLAGS) $(PCRE_CPPFLAGS) \
R_ZLIBS = @BUILD_ZLIB_TRUE@ ../extra/zlib/libz.a
R_BZLIBS = @BUILD_BZLIB_TRUE@ ../extra/bzip2/libbz2.a
R_PCRE = @BUILD_PCRE_TRUE@ ../extra/pcre/libpcre.a
-R_TRE = @BUILD_TRE_TRUE@ ../extra/tre/libtre.a
+R_TRE = @BUILD_TRE_TRUE@ `ls ../extra/tre/*.o`
R_XDR = @BUILD_XDR_TRUE@ ../extra/xdr/libxdr.a
R_XZ = @BUILD_XZ_TRUE@ ../extra/xz/liblzma.a
R_LIBINTL = @BUILD_LIBINTL_TRUE@ ../extra/intl/libintl.a
According the gcc changes doc, setting $AR is probably better. (untested).
Here is the relevant excerpt from https://gcc.gnu.org/gcc-4.9/changes.html...
2001 Nov 18
1
Configuration: libpng needs zlib, but ...
...egment
......
This is because zlib is not included in the command line (-lz). And this
has to do
with the order of calls in configure in: libz is looked for AFTER the
bitmap libs, so it
is not in $(LIBS) yet:
......
## Bitmap headers and libraries.
R_BITMAPS
## XDR headers and library routines.
R_XDR
## zlib headers and libraries.
R_ZLIB
## POSIX times.
R_USES_LEAPSECONDS
......
I think either the order in configure.in should be changed or in R.m4
the zlib
should be included into the OTHER-LIBRARIES branch of the macro.
--
Thomas Hoffmann Telephone:
49-3...