From bug-octave-request at bevo dot che dot wisc dot edu Tue Nov 12 17:08:18 2002 Subject: problem compiling munge-texi on cygwin/gcc-3.2 From: "John W. Eaton" To: "Billinghurst, David (CRTS)" Cc: Date: Tue, 12 Nov 2002 17:08:16 -0600 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 -------------------------------------------------------------