octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: link error of liboctave (MinGW build)


From: Tatsuro MATSUOKA
Subject: Re: link error of liboctave (MinGW build)
Date: Fri, 8 Jan 2010 10:46:31 +0900 (JST)

Hello

--- Tatsuro MATSUOKA wrote:

> I will try the code you mentioned in the gnulib ML as a temporal trial. 
> 
> http://gcc.gnu.org/viewcvs/trunk/libgfortran/intrinsics/getlog.c?view=markup
> in
> http://old.nabble.com/getlogin-on-Windows-systems-to27055535.html 

I have found a file 'getlogin.c' for windows on the other software site.

http://trac.cipherdyne.org/trac/fwknop-c/browser/trunk/win32

(Project page http://trac.cipherdyne.org/trac/fwknop-c/wiki)

I have manually complied getlogin.c and add getlogin.o to libgnu.a and try to 
link liboctave.dll.

The error related getlogin disappeared. However, there remained one error. (In 
the previous, I have
misled of number of errors. )

Creating library file: .libs/liboctave.dll.a
c:/programs/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../libmingwex.a(mbrtowc.o):mbrtowc.c:(.text+0x1d0):
multiple definition of `mbsrtowcs'
c:/programs/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../libmsvcp60.a(dczhs00003.o):(.text+0x0):
 first
defined here

It seemed a problem of MinGW system.  I will ask the above in MinGW ML.

Regards

Tatsuro



--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]