help-octave
[Top][All Lists]
Advanced

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

octave-3.0.0 could not be built on updated mingw


From: Tatsuro MATSUOKA
Subject: octave-3.0.0 could not be built on updated mingw
Date: Sat, 5 Jan 2008 14:40:08 +0900 (JST)

Hello

I have updated mingw by MinGW-5.1.3.exe.
MinGW-5.1.3.exe is resemble to the cygwin setup.
It will install newer version of mingw components.

I tried rebuild octave-3.0.0 on this environment.
However I could not build it.

g++ -c -I/mingw/include -I/usr/local/octave-3.0.0/include -I/GnuWin32/include
-Ic:/progra~1/Pcre/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc  
-DHAVE_CONFIG_H
-mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 lo-sysdep.cc -o lo-sysdep.o
lo-sysdep.cc: In function `pid_t octave_popen2(const std::string&, const 
string_vector&, bool, int*,
std::string&)':
lo-sysdep.cc:114: error: `PROCESS_INFORMATION' was not declared in this scope
lo-sysdep.cc:114: error: expected `;' before "pi"
lo-sysdep.cc:115: error: `STARTUPINFO' was not declared in this scope
lo-sysdep.cc:115: error: expected `;' before "si"
lo-sysdep.cc:117: error: `HANDLE' was not declared in this scope
lo-sysdep.cc:117: error: expected `;' before "hProcess"
lo-sysdep.cc:118: error: `DWORD' was not declared in this scope
lo-sysdep.cc:118: error: expected `;' before "pipeMode"
lo-sysdep.cc:120: error: `pi' was not declared in this scope
lo-sysdep.cc:120: error: `ZeroMemory' was not declared in this scope
lo-sysdep.cc:121: error: `si' was not declared in this scope
lo-sysdep.cc:124: error: `childRead' was not declared in this scope
lo-sysdep.cc:124: error: `parentWrite' was not declared in this scope
lo-sysdep.cc:124: error: `CreatePipe' was not declared in this scope
lo-sysdep.cc:125: error: `hProcess' was not declared in this scope
lo-sysdep.cc:125: error: `TRUE' was not declared in this scope
lo-sysdep.cc:125: error: `DUPLICATE_SAME_ACCESS' was not declared in this scope
lo-sysdep.cc:125: error: `DUPLICATE_CLOSE_SOURCE' was not declared in this scope
lo-sysdep.cc:125: error: `DuplicateHandle' was not declared in this scope
lo-sysdep.cc:124: warning: unused variable 'parentWrite'
lo-sysdep.cc:124: warning: unused variable 'CreatePipe'
lo-sysdep.cc:125: warning: unused variable 'TRUE'
lo-sysdep.cc:125: warning: unused variable 'DUPLICATE_SAME_ACCESS'
lo-sysdep.cc:125: warning: unused variable 'DUPLICATE_CLOSE_SOURCE'
lo-sysdep.cc:125: warning: unused variable 'DuplicateHandle'
lo-sysdep.cc:130: error: `parentRead' was not declared in this scope
lo-sysdep.cc:130: error: `childWrite' was not declared in this scope
lo-sysdep.cc:130: error: `CreatePipe' was not declared in this scope
lo-sysdep.cc:131: error: `hProcess' was not declared in this scope
lo-sysdep.cc:131: error: `TRUE' was not declared in this scope
lo-sysdep.cc:131: error: `DUPLICATE_SAME_ACCESS' was not declared in this scope
lo-sysdep.cc:131: error: `DUPLICATE_CLOSE_SOURCE' was not declared in this scope
lo-sysdep.cc:131: error: `DuplicateHandle' was not declared in this scope
lo-sysdep.cc:130: warning: unused variable 'parentRead'
lo-sysdep.cc:130: warning: unused variable 'CreatePipe'
lo-sysdep.cc:131: warning: unused variable 'TRUE'
lo-sysdep.cc:131: warning: unused variable 'DUPLICATE_SAME_ACCESS'
lo-sysdep.cc:131: warning: unused variable 'DUPLICATE_CLOSE_SOURCE'
lo-sysdep.cc:131: warning: unused variable 'DuplicateHandle'
lo-sysdep.cc:138: error: `pipeMode' was not declared in this scope
lo-sysdep.cc:138: error: `PIPE_NOWAIT' was not declared in this scope
lo-sysdep.cc:139: error: `parentRead' was not declared in this scope
lo-sysdep.cc:139: error: `SetNamedPipeHandleState' was not declared in this 
scope
lo-sysdep.cc:140: error: `parentWrite' was not declared in this scope
lo-sysdep.cc:138: warning: unused variable 'PIPE_NOWAIT'
lo-sysdep.cc:139: warning: unused variable 'parentRead'
lo-sysdep.cc:140: warning: unused variable 'parentWrite'
lo-sysdep.cc:142: error: `parentRead' was not declared in this scope
lo-sysdep.cc:143: error: `parentWrite' was not declared in this scope
lo-sysdep.cc:144: error: `STARTF_USESTDHANDLES' was not declared in this scope
lo-sysdep.cc:145: error: `childRead' was not declared in this scope
lo-sysdep.cc:146: error: `childWrite' was not declared in this scope
lo-sysdep.cc:153: error: `TRUE' was not declared in this scope
lo-sysdep.cc:153: error: `CreateProcess' was not declared in this scope
lo-sysdep.cc:153: warning: unused variable 'TRUE'
lo-sysdep.cc:153: warning: unused variable 'CreateProcess'
lo-sysdep.cc:160: error: `CloseHandle' was not declared in this scope
lo-sysdep.cc:114: warning: unused variable 'PROCESS_INFORMATION'
lo-sysdep.cc:115: warning: unused variable 'STARTUPINFO'
lo-sysdep.cc:117: warning: unused variable 'HANDLE'
lo-sysdep.cc:118: warning: unused variable 'DWORD'
lo-sysdep.cc:142: warning: unused variable 'parentRead'
lo-sysdep.cc:143: warning: unused variable 'parentWrite'
lo-sysdep.cc:144: warning: unused variable 'STARTF_USESTDHANDLES'

>From the errors 

lo-sysdep.cc:130: error: `parentRead' was not declared in this scope
lo-sysdep.cc:130: error: `childWrite' was not declared in this scope
lo-sysdep.cc:130: error: `CreatePipe' was not declared in this scope
lo-sysdep.cc:131: error: `hProcess' was not declared in this scope
lo-sysdep.cc:131: error: `TRUE' was not declared in this scope
lo-sysdep.cc:131: error: `DUPLICATE_SAME_ACCESS' was not declared in this scope
lo-sysdep.cc:131: error: `DUPLICATE_CLOSE_SOURCE' was not declared in this scope
lo-sysdep.cc:131: error: `DuplicateHandle' was not declared in this scope
lo-sysdep.cc:142: error: `parentRead' was not declared in this scope
lo-sysdep.cc:143: error: `parentWrite' was not declared in this scope
lo-sysdep.cc:144: error: `STARTF_USESTDHANDLES' was not declared in this scope
lo-sysdep.cc:145: error: `childRead' was not declared in this scope
lo-sysdep.cc:146: error: `childWrite' was not declared in this scope
lo-sysdep.cc:153: error: `TRUE' was not declared in this scope
lo-sysdep.cc:153: error: `CreateProcess' was not declared in this scope
lo-sysdep.cc:160: error: `CloseHandle' was not declared in this scope

It seems that win32 api functions might be not detected.  Perhaps something is 
missing.
What's I should to do.  Unfortunately I deleted the previous system completely.
I cannot come back at the moment.  

Anyway with a new mingw system, Octave cannot be build at all.
I have to resolve it.

Can anyone help me?

Regards

Tatsuro





--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/


reply via email to

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