From bug-octave-request at bevo dot che dot wisc dot edu Thu Dec 3 10:34:12 1998 Subject: Undefined symbols towards end of compilation From: "John W. Eaton" To: Nick Youd Cc: bug-octave at bevo dot che dot wisc dot edu, nick@merton.logica.co.uk Date: Thu, 3 Dec 1998 10:32:42 -0600 (CST) On 3-Dec-1998, Nick Youd wrote: | Bug report for Octave 2.0.13 configured for sparc-sun-sunos4.1.4 | | Description: | ----------- | | The change in signal.h worked fine (I also needed to change | sys/signal.h) | | Nearly through the compilation, there are some undefined symbols. | I'd appreciate any suggestions. | | Thanks | Nick | | | Repeat-By: | --------- | c++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-rtti -fno-implicit-templates -g -O2 -Wall -L.. -fPIC -g -o octave \ | octave.o builtins.o \ | -L../liboctave -L../libcruft -L../src -L/packages/octave/lib/octave-2.0.13 \ | -loctinterp -loctave -lcruft ../readline/libreadline.a ../kpathsea/libkpathsea.a ../glob/libglob.a \ | -ltermcap -lm -ldl | collect2: ld returned 2 exit status | ld: Undefined symbol | _z_div | _i_indx | _s_wsfe | _s_stop | _s_cmp These are symbols from the f2c run-time library. When you installed f2c, did you also install libf2c somewhere that the compiler could find it? If so, configure should have set FLIBS to -lf2c. | Fortran compiler: | FFLAGS: | F2C: f2c | F2CFLAGS: | FLIBS: