This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Undefined reference after cgen re-org? [was Re: microblaze-tdep.o in cygwin build error]


Hui Zhu wrote:

> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
> warning: auto-importing has been activated without
> --enable-auto-import specified on the command line.
> This should work unless it involves constant data structures
> referencing symbols from auto-imported
> DLLs.

  This bit is cygwin specific, and happens because you're using an old
toolset.  Modern versions of cygwin binutils have that feature enabled
automatically; you'll need to add it to the LDFLAGS manually to avoid the
warning message.

> libgdb.a(microblaze-tdep.o): In function
> `microblaze_analyze_prologue':
> /home/hzhu/gdb/bgdbno/gdb/../../src/gdb/microblaze-tdep.c:265:
> undefined reference to `_microblaze_decode_insn'
> /home/hzhu/gdb/bgdbno/gdb/../../src/gdb/microblaze-tdep.c:281:
> undefined reference to `_microblaze_decode_insn'

  This is a separate problem, and not cygwin-related; it's very likely to be
more fallout from the recent CGEN re-organisation.  Doug, you out there?

    cheers,
      DaveK


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