This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
microblaze-tdep.o in cygwin build error
- From: Hui Zhu <teawater at gmail dot com>
- To: gdb at sourceware dot org
- Date: Sun, 25 Oct 2009 08:29:55 +0800
- Subject: microblaze-tdep.o in cygwin build error
gcc -g -Wl,--stack,8388608 -Wl,--subsystem,console \
-o gdb.exe gdb.o libgdb.a \
../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a -lintl ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a ../libgui/src/libgui.a
-L/home/hzhu/gdb/bgdbno/tk/
win -ltk84 -L/home/hzhu/gdb/bgdbno/tcl/win -ltcl84 -lgdi32
-lcomdlg32 -limm32 -lcomctl32 -lshell32 -lncurses -lz -lm -liconv
-lexpat ../libiberty/libiberty.a -luser32 -limagehlp -lshell32 -lgdi32
-lcomdlg32 -ladvapi32 gnulib/libgnu.a
/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.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'
Info: resolving _LINES by linking to __imp__LINES (auto-import)
Info: resolving _COLS by linking to __imp__COLS (auto-import)
Info: resolving _stdscr by linking to __imp__stdscr (auto-import)
Info: resolving _curscr by linking to __imp__curscr (auto-import)
collect2: ld returned 1 exit status
make: *** [gdb.exe] Error 1
configure --disable-sid --disable-rda --disable-binutils --disable-gas
--disable-ld --disable-gprof --enable-targets=all --enable-64-bits-bfd
CFLAGS=-g
Thanks,
Hui