help-octave
[Top][All Lists]
Advanced

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

compling machar.c failes mingw


From: Tatsuro MATSUOKA
Subject: compling machar.c failes mingw
Date: Fri, 21 Sep 2007 10:32:09 +0900 (JST)

Compling machar.c failes mingw.

The results are after '*************'.
quit.h:43: error: syntax error before "extern"

quit.h:43: CRUFT_API extern void w32_sigint_init (void);   /* setup */

CRUFT_API seemed  not to be recognized.

Tatsuro

*******************
Octave is now configured for i686-pc-mingw32

  Source directory:     .
  Installation prefix:  C:/Programs/msys/1.0/local/octave-2.9.14
  C compiler:           gcc  -mieee-fp  -Wall -W -Wshadow -g -O2
  C++ compiler:         g++  -mieee-fp  -Wall -W -Wshadow -Wold-style-cast -g 
-O2
  Fortran compiler:     g77 -funroll-all-loops -mieee-fp
  Fortran libraries:     -LC:/Programs/MinGW/lib 
-LC:/Programs/msys/1.0/local/lib
-LC:/Programs/GnuWin32/lib -LC:/Programs/MinGW/bin/../lib/gcc/mingw32/3.4.2
-LC:/Programs/MinGW/bin/../lib/gcc
-LC:/Programs/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/lib
-LC:/Programs/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../.. -lhdf5 -lz -lm 
-lfrtbegin -lg2c -lmingw32
-lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32
  BLAS libraries:       -llapack -ltmglib -lblas -lcblas
  FFTW libraries:       -lfftw3
  GLPK libraries:       -lglpk
  UMFPACK libraries:    -lumfpack
  AMD libraries:        -lamd
  CAMD libraries:       -lcamd
  COLAMD libraries:     -lcolamd
  CCOLAMD libraries:    -lccolamd
  CHOLMOD libraries:    -lcholmod
  CXSPARSE libraries:   -lcxsparse
  HDF5 libraries:       -lhdf5
  CURL libraries:       -lcurl
  REGEX libraries:      -lpcre
  QHULL libraries:      -lqhull
  LIBS:                 -lreadline  -ltermcap -lhdf5 -lz -lm  -lws2_32 
-lkernel32
  Default pager:        less
  gnuplot:              pgnuplot

  Do internal array bounds checking:  false
  Build static libraries:             false
  Build shared libraries:             true
  Dynamic Linking:                    true (LoadLibrary)
  Include support for GNU readline:   true
  64-bit array dims and indexing:     false

**********************************
gcc -c -IC:/Programs/MinGW/include -IC:/Programs/msys/1.0/local/include
-IC:/Programs/MinGW/include/c++/3.4.2 -IC:/Programs/GnuWin32/include -I. 
-I../.. -I../../liboctave
-I../../src -I../../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W
-Wshadow -g   -DDP machar.c -o machar.o
In file included from f77-fcn.h:27,
                 from machar.c:8:
quit.h:43: error: syntax error before "extern"
quit.h:44: error: syntax error before "extern"
quit.h:45: error: syntax error before "extern"
quit.h:46: error: syntax error before "extern"
quit.h:64: error: syntax error before "extern"
quit.h:66: error: syntax error before "extern"
quit.h:68: error: syntax error before "extern"
quit.h:70: error: syntax error before "extern"
quit.h:70: error: syntax error before "GCC_ATTR_NORETURN"
quit.h:70: warning: type defaults to `int' in declaration of `GCC_ATTR_NORETURN'
quit.h:70: warning: data definition has no type or storage class
quit.h:72: error: syntax error before "extern"
quit.h:74: error: syntax error before "extern"
quit.h:83: error: syntax error before "extern"
quit.h:90: error: syntax error before "extern"
quit.h:92: error: syntax error before "extern"
quit.h:94: error: syntax error before "extern"
quit.h:96: error: syntax error before "extern"
quit.h:98: error: syntax error before "extern"
quit.h:98: error: syntax error before "GCC_ATTR_NORETURN"
quit.h:98: warning: type defaults to `int' in declaration of `GCC_ATTR_NORETURN'
quit.h:98: warning: data definition has no type or storage class
quit.h:100: error: syntax error before "extern"
quit.h:100: error: syntax error before "GCC_ATTR_NORETURN"
quit.h:100: warning: type defaults to `int' in declaration of 
`GCC_ATTR_NORETURN'
quit.h:100: warning: data definition has no type or storage class
In file included from machar.c:8:
f77-fcn.h:81: error: syntax error before "extern"
f77-fcn.h:224: error: syntax error before "int"
f77-fcn.h:226: error: syntax error before "GCC_ATTR_NORETURN"
f77-fcn.h:226: warning: type defaults to `int' in declaration of 
`GCC_ATTR_NORETURN'
f77-fcn.h:226: warning: data definition has no type or storage class
machar.c:374: error: `F77_FUNC' declared as function returning a function
machar.c: In function `F77_FUNC':
machar.c:374: warning: type of "machar" defaults to "int"
machar.c:374: warning: type of "MACHAR" defaults to "int"
machar.c:390: error: `eps' undeclared (first use in this function)
machar.c:390: error: (Each undeclared identifier is reported only once
machar.c:390: error: for each function it appears in.)
machar.c:390: error: `epsneg' undeclared (first use in this function)
machar.c:390: error: `xmin' undeclared (first use in this function)
machar.c:390: error: `xmax' undeclared (first use in this function)
machar.c:393: error: `log10_ibeta' undeclared (first use in this function)
machar.c: At top level:
machar.c:374: warning: unused parameter 'machar'
machar.c:374: warning: unused parameter 'MACHAR'
make[3]: *** [machar.o] Error 1
make[3]: Leaving directory `/home/octaves/octave-2.9.14/libcruft/misc'
make[2]: *** [misc] Error 2
make[2]: Leaving directory `/home/octaves/octave-2.9.14/libcruft'
make[1]: *** [libcruft] Error 2
make[1]: Leaving directory `/home/octaves/octave-2.9.14'
make: *** [all] Error 2

--------------------------------------
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]