This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
problem with "type and size of dynamic symbol `foo' are not defined"
- To: GNU Binutils mailing list <binutils at sourceware dot cygnus dot com>
- Subject: problem with "type and size of dynamic symbol `foo' are not defined"
- From: "David O'Brien" <obrien at freebsd dot org>
- Date: Tue, 16 May 2000 12:00:14 -0700
- Organization: The NUXI BSD group
- Reply-To: obrien at freebsd dot org
I am writing the configuration bits for FreeBSD/Alpha. However I get
behavior I don't on FreeBSD/i386. I don't know if my problem is with my
bfd, gas, or ld configuration. Both platforms use GCC 2.95.2 and have
since it was released.
On the Alpha with the Binutils HEAD branch I get the below. I don't for
our 2.9.1 Binutils (bmaked and not in standard GNU configure form).
/usr/libexec/elf/ld: warning: type and size of dynamic symbol `__sF'
are not defined
/usr/libexec/elf/ld: warning: type and size of dynamic symbol
`sys_errlist' are not defined
The definitions from /usr/include/stdio.h are:
typedef struct __sFILE {
..snip..
} FILE;
__BEGIN_DECLS
extern FILE __sF[];
__END_DECLS
#define stdin (&__sF[0])
#define stdout (&__sF[1])
#define stderr (&__sF[2])
extern __const char *__const sys_errlist[];
Any ideas where I have gone astray?
--
-- David (obrien@FreeBSD.com)