Irritating build warnings
Mark Thornber
mark.thornber at gmail.com
Wed Oct 24 14:39:18 CEST 2012
gnutls 3.1.1 (but problems are still there in 3.1.3)
Solaris 10
gcc 3.4.6 installed from sunfreeware
Warning 1
/<quote>
CC ecc_projective_add_point.lo
In file included from ./../gnutls_int.h:27,
from ecc.h:25,
from ecc_projective_add_point.c:25:
../../config.h:2460:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/sys/int_types.h:34,
from /usr/include/sys/stdint.h:17,
from /usr/include/stdint.h:17,
from ./../../gl/stdint.h:78,
from /usr/local/include/nettle/nettle-stdint.h:11,
from /usr/local/include/nettle/nettle-types.h:29,
from ecc.h:22,
from ecc_projective_add_point.c:25:
/usr/include/sys/feature_tests.h:188:1: warning: this is the location
of the previous definition
CC ecc_projective_add_point_ng.lo
</quote>
This warning occurs many times
Warning 2
<quote>
CCLD gnutls-serv
ld: warning: global symbol `_END_' has non-global binding:
(file /usr/local/lib/libiconv.so value=LOCL);
ld: warning: global symbol `_START_' has non-global binding:
(file /usr/local/lib/libiconv.so value=LOCL);
CC cli.o
</quote>
This warning occurs many times. However I wonder if this is an
artifact of linking on Solaris 10.
Warning 3 (C and C++)
<quote>
CCLD certtool
ld: warning: file
/export/home/thornbem/work/gnutls/gnutls-3.1.1/lib/.libs/libgnutls.so:
linked to ../lib/.libs/libgnutls.so: attempted multiple inclusion of
file
</quote>
<quote>
CXXLD ex-cxx
ld: warning: file
/export/home/thornbem/work/gnutls/gnutls-3.1.1/lib/.libs/libgnutls.so:
linked to ../../lib/.libs/libgnutls.so: attempted multiple inclusion
of file
ld: warning: global symbol `_END_' has non-global binding:
(file /usr/local/lib/libiconv.so value=LOCL);
ld: warning: global symbol `_START_' has non-global binding:
(file /usr/local/lib/libiconv.so value=LOCL);
ld: warning: file /usr/local/lib/libstdc++.so: attempted multiple
inclusion of file
</quote>
--
Mark Thornber
More information about the Gnutls-devel
mailing list