[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #30186] Octave/mingw links to both libmingwex.
From: |
Joel Parker |
Subject: |
[Octave-bug-tracker] [bug #30186] Octave/mingw links to both libmingwex.a and libmsvcp60.a without -Wl, --allow-multiple-definition |
Date: |
Mon, 21 Jun 2010 17:48:49 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729; .NET4.0E) |
URL:
<http://savannah.gnu.org/bugs/?30186>
Summary: Octave/mingw links to both libmingwex.a and
libmsvcp60.a without -Wl,--allow-multiple-definition
Project: GNU Octave
Submitted by: jjkparker
Submitted on: Mon 21 Jun 2010 05:48:49 PM GMT
Category: Configuration and Build System
Severity: 3 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Microsoft Windows
_______________________________________________________
Details:
I get the following error when building on mingw 3.18/gcc 4.5.0/Vista32:
libtool: link: g++ -shared -nostdlib
c:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../dllcrt2.o
c:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/crtbegin.o
DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.o
-Wl,--whole-archive ../libcruft/.libs/libranlib.a ../libgnu/.libs/libgnu.a
-Wl,--no-whole-archive -L/home/<>/octave/octave/liboctave/.libs
-L/home/<>/octave/octave/libcruft/.libs ./.libs/liboctinterp.dll.a
-L/projetos/gcc/build/mingw32/winsup/mingw
-L/projetos/gcc/build/mingw32/winsup/w32api/lib
-L/projetos/gcc/build/mingw32/libstdc++-v3/src
-L/projetos/gcc/build/mingw32/libstdc++-v3/src/.libs
-Lc:/progra~1/FreeType/lib -LD:/Progra~1/GnuWin32/lib
-Lc:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0
/home/<>/octave/octave/liboctave/.libs/liboctave.dll.a -lopengl32 -lglu32
../liboctave/.libs/liboctave.dll.a
/home/<>/octave/octave/libcruft/.libs/libcruft.dll.a -lreadline
../libcruft/.libs/libcruft.dll.a -llapack -lblas
/mingw/lib/gcc/mingw32/4.5.0/libgfortran.dll.a -luser32 -lkernel32 -luser32
-lkernel32 -lfreetype -lz -lintl -lwsock32 -lole32 -luuid -lmsvcp60 -liberty
-lpthread -luser32 -lkernel32 -lgdi32 -lws2_32 -luser32 -lkernel32
-Lc:/users/<>/software/mingw/bin/../lib/gcc
-Lc:/users/<>/software/octave/lapack-3.2.1 -Lc:/Users/<>/Software/gnuwin32/lib
-Lc:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/lib
-Lc:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../..
/mingw/lib/gcc/mingw32/4.5.0/libstdc++.dll.a -lmingw32 -lgcc_s -lgcc
-lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32
-lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt
c:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/crtend.o -mieee-fp
-Wl,-s -o DLD-FUNCTIONS/.libs/fltk_backend-0.dll
-Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
DLD-FUNCTIONS/.libs/fltk_backend.dll.a
Creating library file:
DLD-FUNCTIONS/.libs/fltk_backend.dll.ac:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../libmingwex.a(mbrtowc.o):mbrtowc.c:(.text+0x1d0):
multiple definition of `mbsrtowcs'
c:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../libmsvcp60.a(dczhs00003.o):(.text+0x0):
first defined here
collect2: ld returned 1 exit status
make[3]: *** [DLD-FUNCTIONS/fltk_backend.la] Error 1
make[3]: Leaving directory `/home/<>/octave/octave/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/<>/octave/octave/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/<>/octave/octave'
make: *** [all] Error 2
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30186>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #30186] Octave/mingw links to both libmingwex.a and libmsvcp60.a without -Wl, --allow-multiple-definition,
Joel Parker <=