This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problem with "type and size of dynamic symbol `foo' are not defined"


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]