[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkdir in libgnu seemed to be ignored in building liboctave (Developm
From: |
Tatsuro MATSUOKA |
Subject: |
Re: mkdir in libgnu seemed to be ignored in building liboctave (Development Branch) |
Date: |
Mon, 28 Dec 2009 15:51:18 +0900 (JST) |
Hello
--- Tatsuro MATSUOKA wrote:
> Hello
>
> Sorry for the separated post.
>
> Platform MinGW, gcc-4.4.0 (windows XP).
>
> libtool: compile: g++ -shared-libgcc -DHAVE_CONFIG_H -I.
> -I../../../hg/octave-work/liboctave
> -I..
> -I../../../hg/octave-work/libgnu -I../../../hg/octave-work/libcruft/misc
> -Ic:/Programs/OctaveBuild/include
> -Ic:/Programs/WinDevTools/include-Ic:/Programs/GnuWin32/include
> -IC:/Programs/GnuWin32/include -O3 -fomit-frame-pointer -DHAVE_CONFIG_H
> -mieee-fp
> -I/WinDevTools/bin/../include/freetype2 -I/WinDevTools/bin/../include
> -IC:/Programs/WinDevTools/include -Wall -W -Wshadow -Wold-style-cast -Wformat
> -O3
> -fomit-frame-pointer
> -O3 -fomit-frame-pointer -MT liboctave_la-file-ops.lo -MD -MP -MF
> .deps/liboctave_la-file-ops.Tpo -c
> ../../../hg/octave-work/liboctave/file-ops.cc -DDLL_EXPORT -DPIC -o
> .libs/liboctave_la-file-ops.o
> c:\programs\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/io.h: In
> static member
> function
> 'static int file_ops::mkdir(const std::string&, mode_t, std::string&)':
> c:\programs\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/io.h:176:
> error: too many
> arguments
> to function 'int mkdir(const char*)'
> ../../../hg/octave-work/liboctave/file-ops.cc:111: error: at this point in
> file
> ../../../hg/octave-work/liboctave/file-ops.cc: In static member function
> 'static int
> file_ops::mkfifo(const std::string&
> , mode_t, std::string&)':
> ../../../hg/octave-work/liboctave/file-ops.cc:142: error: '::mkfifo' has not
> been declared
> ../../../hg/octave-work/liboctave/file-ops.cc: At global scope:
> ../../../hg/octave-work/liboctave/file-ops.cc:163: warning: unused parameter
> 'old_name'
> ../../../hg/octave-work/liboctave/file-ops.cc:163: warning: unused parameter
> 'new_name'
> ../../../hg/octave-work/liboctave/file-ops.cc:195: warning: unused parameter
> 'old_name'
> ../../../hg/octave-work/liboctave/file-ops.cc:195: warning: unused parameter
> 'new_name'
> ../../../hg/octave-work/liboctave/file-ops.cc:228: warning: unused parameter
> 'path'
> ../../../hg/octave-work/liboctave/file-ops.cc:228: warning: unused parameter
> 'result'
>
>
>
> This post is related to the previous post
> http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2009-December/014421.html
>
> and also might be related to the following post
>
http://old.nabble.com/link-error-during-liboctave-on-MinGW-in-the-development-branch-(symbols-of-in-libgnu.a--)-to26911900.html
>
> In both cases information of libgnu seemed not to be reflected for liboctave
> building.
> Perhaps a flag for '-I../libgnu' is missing for compiling sources for
> liboctave.
>
Sorry in the mkdir case, the above seems not to be correct. However,
file-ops.cc should be related
to the header file which is related to mkdir in gnulib but not to io.h in
gcc-4.4.0 of MinGW.
What should I do for correct linkage ?
Regards
Tatsuro
--------------------------------------
Get Disney character's mail address on Yahoo! Mail
http://pr.mail.yahoo.co.jp/disney/