This is the mail archive of the insight@sourceware.org mailing list for the Insight 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]

about build insight 6.4 by mingw


hi, all
 I want cross build insight 6.4 in my gentoo.
 I fllowed http://www.libsdl.org/extras/win32/cross/README.txt
 when i build gdb.exe, i meet some error like:

.......
make[2]: Entering directory `/root/mingw/insight-6.4/gdb'
rm -f gdb.exe
i386-mingw32-gcc -static  -g -O2        \
       -o gdb.exe gdb.o libgdb.a \
          ../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a  ../libiberty/libiberty.a    ../libgui/src/libgui.a
-L/root/mingw/insight-6.4/itcl/itcl -litcl3.2
-L/root/mingw/insight-6.4/itcl/itk -litk3.2
-L/root/mingw/insight-6.4/tk/win -ltk84
-L/root/mingw/insight-6.4/tcl/win -ltcl84    -lgdi32 -lcomdlg32
-limm32 -lcomctl32 -lshell32 -L
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2 -lgcc -lm
../libiberty/libiberty.a -lws2_32 -lkernel32 -lpsapi
collect2: ld terminated with signal 11 [Segmentation fault]
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x110):crtstuff.c:
multiple definition of `_atexit'
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2/../../../../i386-mingw32/lib/crt2.o(.text+0x40):crt1.c:
first defined here
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x140):crtstuff.c:
multiple definition of `__onexit'
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2/../../../../i386-mingw32/lib/crt2.o(.text+0x60):crt1.c:
first defined here
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x170):crtstuff.c:
multiple definition of `___do_frame_init'
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2/crtbegin.o(.text+0x0):crtstuff.c:
first defined here
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x1a0):crtstuff.c:
multiple definition of `___do_frame_fini'
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2/crtbegin.o(.text+0x30):crtstuff.c:
first defined here
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x1c0):
In function `DllEntryPoint':
/root/mingw/insight-6.4/itcl/itcl/win/dllEntryPoint.c:87: multiple
definition of `_DllEntryPoint@0'
../libgui/src/libgui.a(tkTable.o)(.text+0x6210):/root/mingw/insight-6.4/libgui/src/tkTable.c:3874:
first defined here
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.rdata+0x2550):/root/mingw/source/gcc-3.4.2-20040916-1/gcc/libgcc2.c:
multiple definition of `___EH_FRAME_BEGIN__'
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2/crtbegin.o(.eh_frame+0x0):crtstuff.c:
first defined here
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x14360):/root/mingw/source/gcc-3.4.2-20040916-1/gcc/libgcc2.c:
multiple definition of `_strncmp'
../libiberty/libiberty.a(strncmp.o)(.text+0x0):/root/mingw/insight-6.4/libiberty/.././libiberty/strncmp.c:20:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x0):crtstuff.c:
multiple definition of `_DllMainCRTStartup@12'
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x0):crtstuff.c:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x110):crtstuff.c:
multiple definition of `_atexit'
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2/../../../../i386-mingw32/lib/crt2.o(.text+0x40):crt1.c:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x140):crtstuff.c:
multiple definition of `__onexit'
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2/../../../../i386-mingw32/lib/crt2.o(.text+0x60):crt1.c:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x170):crtstuff.c:
multiple definition of `___do_frame_init'
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2/crtbegin.o(.text+0x0):crtstuff.c:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x1a0):crtstuff.c:
multiple definition of `___do_frame_fini'
/usr/local/cross-tools/lib/gcc/i386-mingw32/3.4.2/crtbegin.o(.text+0x30):crtstuff.c:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x1c0):
In function `DllEntryPoint':
/root/mingw/insight-6.4/itcl/itk/win/dllEntryPoint.c:45: multiple
definition of `_DllEntryPoint@0'
../libgui/src/libgui.a(tkTable.o)(.text+0x6210):/root/mingw/insight-6.4/libgui/src/tkTable.c:3874:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x702d):
In function `Itk_InitStubs':
/root/mingw/insight-6.4/itcl/itk/generic/itkStubLib.c:73: multiple
definition of `_Tcl_InitStubs'
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x12c9d):/root/mingw/insight-6.4/itcl/itcl/generic/itcl_util.c:1332:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x7220):
In function `Tk_InitStubs':
/root/mingw/insight-6.4/tk/win/../.././tk/win/../generic/tkStubLib.c:110:
multiple definition of `_DllMain@12'
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x12d80):/root/mingw/insight-6.4/itcl/itcl/generic/itcl_util.c:1332:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x7230):
In function `Tk_InitStubs':
/root/mingw/insight-6.4/tk/win/../.././tk/win/../generic/tkStubLib.c:110:
multiple definition of `___do_global_dtors'
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x12d90):/root/mingw/insight-6.4/itcl/itcl/generic/itcl_util.c:1332:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x7260):
In function `Tk_InitStubs':
/root/mingw/insight-6.4/tk/win/../.././tk/win/../generic/tkStubLib.c:110:
multiple definition of `___do_global_ctors'
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x12dc0):/root/mingw/insight-6.4/itcl/itcl/generic/itcl_util.c:1332:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x72c0):
In function `Tk_InitStubs':
/root/mingw/insight-6.4/tk/win/../.././tk/win/../generic/tkStubLib.c:110:
multiple definition of `___main'
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x12e20):/root/mingw/insight-6.4/itcl/itcl/generic/itcl_util.c:1332:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x7330):
In function `Tk_InitStubs':
/root/mingw/insight-6.4/tk/win/../.././tk/win/../generic/tkStubLib.c:110:
multiple definition of `__pei386_runtime_relocator'
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x12e90):/root/mingw/insight-6.4/itcl/itcl/generic/itcl_util.c:1332:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x7540):
In function `__register_frame_info_bases':
/root/mingw/source/gcc-3.4.2-20040916-1/gcc/unwind-dw2-fde.c:100:
multiple definition of `___register_frame_info_bases'
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x130a0):/root/mingw/source/gcc-3.4.2-20040916-1/gcc/unwind-dw2-fde.c:100:
first defined here
/root/mingw/insight-6.4/itcl/itk/libitk3.2.a(itk3.2.so)(.text+0x7590):
In function `__register_frame_info':
/root/mingw/source/gcc-3.4.2-20040916-1/gcc/unwind-dw2-fde.c:126:
multiple definition of `___register_frame_info'
/root/mingw/insight-6.4/itcl/itcl/libitcl3.2.a(libitcl3.2.so)(.text+0x130f0):/root/mingw/source/gcc-3.4.2-20040916-1/gcc/unwind-dw2-fde.c:126:
first defined here
......

how can i fixed it?
and what's the best way build insight 6.3(for win32) ?,  is there a
link about this?

thanks


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