From bug-octave-request at bevo dot che dot wisc dot edu Tue Nov 12 20:42:26 2002 Subject: RE: problem compiling munge-texi on cygwin/gcc-3.2 From: "Billinghurst, David (CRTS)" To: "John W. Eaton" Cc: Date: Wed, 13 Nov 2002 13:40:09 +1100 That seems to work. I now get a failure because there is no file doc/interpreter/debug.txi, although this is referenced in the Makefile. I faked one to get the build restarted. -----Original Message----- From: John W. Eaton [mailto:jwe at bevo dot che dot wisc dot edu] Sent: Wednesday, 13 November 2002 10:08 AM To: Billinghurst, David (CRTS) Cc: bug-octave at bevo dot che dot wisc dot edu Subject: problem compiling munge-texi on cygwin/gcc-3.2 On 26-Aug-2002, Billinghurst, David (CRTS) wrote: | Bug report for Octave 2.1.36 configured for i686-pc-cygwin | | Description: | ----------- | | I am trying to build cvs octave on cygwin with gcc-3.2. | (gcc-3 is still under testing on cygwin, so this may be | a compiler problem, rather than an octave issue.) | | The build fails in doc/interpreter while building munge-texi, | with | | g++ -c -I. -I/usr/local/src/octave/doc/interpreter -I../.. -I../../liboctave -I | ../../src -I../../libcruft/misc -I/usr/local/src/octave -I/usr/local/src/octave/ | liboctave -I/usr/local/src/octave/src -I/usr/local/src/octave/libcruft/misc -I/ | usr/local/src/octave/glob -I../../glob -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall -s | ave-temps /usr/local/src/octave/doc/interpreter/munge-texi.cc -o munge-texi.o | g++ -c -I. -I/usr/local/src/octave/doc/interpreter -I../.. -I../../liboctave -I | ../../src -I../../libcruft/misc -I/usr/local/src/octave -I/usr/local/src/octave/ | liboctave -I/usr/local/src/octave/src -I/usr/local/src/octave/libcruft/misc -I/ | usr/local/src/octave/glob -I../../glob -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall -s | ave-temps /usr/local/src/octave/doc/interpreter/Map-s.cc -o Map-s.o | g++ -I. -I/usr/local/src/octave/doc/interpreter -I../.. -I../../liboctave -I../ | ../src -I../../libcruft/misc -I/usr/local/src/octave -I/usr/local/src/octave/lib | octave -I/usr/local/src/octave/src -I/usr/local/src/octave/libcruft/misc -I/usr | /local/src/octave/glob -I../../glob -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall -save | -temps -L../.. -fPIC -o munge-texi munge-texi.o Map-s.o | munge-texi.o: In function `_GLOBAL__I_main': | /usr/local/src/octave/doc/interpreter/munge-texi.cc:34: undefined reference to ` | __static_initialization_and_destruction_0(int, int)' | munge-texi.o: In function `_GLOBAL__D_main': | /usr/local/src/octave/doc/interpreter/munge-texi.cc:34: undefined reference to ` | __static_initialization_and_destruction_0(int, int)' | collect2: ld returned 1 exit status | make: *** [munge-texi] Error 1 I think this problem is fixed now, by avoiding the use of #pragma interface/implementation on Cygwin systems. If you are still having trouble with the current sources, can you please submit another report? Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------