From bug-octave-request at bevo dot che dot wisc dot edu Mon Dec 20 14:20:52 1999 Subject: Re: Octave-2.1.23 build with Cygnus gcc 2.95.2 From: christopher dot kennedy at gecm dot com To: bug-octave at bevo dot che dot wisc dot edu, wdkirby@ix.netcom.com Date: Mon, 20 Dec 1999 14:20:50 -0600 (CST) >On 20-Dec-1999, William D Kirby wrote: > >| I get two errors. The first is the gcc option of -rdynamic, and missing >| Fquad_t. The makefile was created using configure. >| >| >| Error output message >| >| c++: unrecognized option `-rdynamic' >| builtins.o: In function `install_quad_fcns(void)': >| /d/progs/octave-2.1.23/src/builtins.cc:1037: undefined reference to >| `Fquad_t(octave_value_list const &, int)' >| collect2: ld returned 1 exit status >| make[2]: *** [octave] Error 1 >| make[1]: *** [src] Error 2 >| make: *** [all] Error 2 > >I need more info. > >You can safely ignore the -rdynamic `problem'. > >I don't know what would mangle Fquad to be Fquad_t. > >What is at or near line 1037 in your copy of builtins.cc? What >symbols are in quad.o? > >jwe > > > >--------------------------------------------------------------------- >Octave is freely available under the terms of the GNU GPL. > >Octave's home on the web: http://www.che.wisc.edu/octave/octave.html >How to fund new projects: http://www.che.wisc.edu/octave/funding.html >Subscription information: http://www.che.wisc.edu/octave/archive.html >--------------------------------------------------------------------- I am also building Octave with "Cygnus gcc 2.95.2" and have had the same "quad" problem in "builtins.cc" with all the recent "Bleeding Edge" Octave Versions. I have avoided the problem by expanding the first "XDEFUN_DLD_INTERNAL" in:- " static void install_quad_fcns (void) { XDEFUN_DLD_INTERNAL ( quad , args , nargout , 0 , "-*- texinfo -*-\n at deftypefn {Loadable Function} ...... XDEFUN_DLD_INTERNAL ( quad_options , args , , 0 , "-*- texinfo -*-\n at deftypefn {Loadable Function} ...... } " by hand after "builtins.cc" has been generated. The second "XDEFUN_DLD_INTERNAL ( quad_options , ...." has never given any problem and is translated successfully As to why this problem only arises with "quad" and none of the others, well ...... Best Regards, Chris Kennedy. ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------