[Bug target/28968] New: gcc/config/i386/winnt-stubs.c is not linked in -> build fails

mkoeppe at gmx dot de gcc-bugzilla@gcc.gnu.org
Wed Sep 6 23:02:00 GMT 2006


When configuring gcc-{4.1.0,4.1.1} as

$ CC=gcc-4.1 ../gcc-4.1.1/configure --target=i586-pc-interix3 \
        --enable-languages=c \
        --enable-threads=no \
        --with-stabs \
        --enable-nls \
        --disable-shared \
        --disable-libssp \
        --with-gnu-as \
        --with-gnu-ld

the subsequent

$ make

fails with the following linker error:

gcc/config/i386/winnt.c:
symbols i386_pe_type_dllexport_p and i386_pe_type_dllimport_p are undefined!

Modifying winnt.c to
#include "winnt-stubs.c"
works around the problem.


-- 
           Summary: gcc/config/i386/winnt-stubs.c is not linked in -> build
                    fails
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mkoeppe at gmx dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i586-pc-interix3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28968



More information about the Gcc-bugs mailing list