From owner-help-octave at bevo dot che dot wisc dot edu Wed Jan 22 08:41:46 1997 Subject: Re: Install Octave 2.0.1 on Sparc20 And MkLinux From: "Jay J. Williams" To: "John W. Eaton" cc: help-octave at bevo dot che dot wisc dot edu Date: Wed, 22 Jan 1997 08:41:37 -0600 (CST) On Tue, 21 Jan 1997, John W. Eaton wrote: > : Under MkLinux I'm lost here: > > : /usr/lib/libm.a(cabs.o): In function `z_abs': > : cabs.o(.text+0x268): multiple definition of `z_abs' > : /usr/lib/libF77.a(z_abs.o)(.text+0x4): first defined here > > Apparently libm and libF77 both define z_abs. I don't know if they > are the same function or if they are even supposed to do the same > thing. If they are compatible, it would probably be best to remove > the z_abs function from libF77 (you need libm to use that anyway, I > think). > > : octave.o: In function `str_vec_compare(void const *, void const *)': > : /home/beta/src/octave-2.0.1/src/../liboctave/str-vec.h:38: undefined > : reference to `basic_string > : >::compare(basic_string > const &, > : unsigned long, unsigned long) const' > : octave.o: In function `initialize_globals(basic_string : string_char_traits > const &)': > : /home/beta/src/octave-2.0.1/src/octave.cc:199: undefined reference to > : `basic_string >::rfind(char, unsigned > : long) const' > : octave.o: In function `initialize_globals(basic_string : string_char_traits< > : char> > const &)': > > I don't know why > > string::compare (const string&, unsigned long, unsigned long) const > string::rfind (char, unsigned long) const > > would be missing from libstdc++ on your system. What does > > nm /path/to/libstdc++.a | c++filt | grep compare > > show? Hi John, nm /path/to/libstdc++.a | c++filt | grep compare shows the following: [jjw at oktoberfest| lib]$ nm libstdc++ dot a | c++filt lib]$ nm libstdc++.a | c++filt | grep compare 00001fb8 T basic_string >::compare(char const *, unsigned int) const 000011bc T basic_string >::compare(char const *, unsigned int, unsigned int) const 000010bc T basic_string >::compare(basic_string > const &, unsigned int, unsigned int) const 000000c0 T string_char_traits::compare(char const *, char const *, unsigne d int) 0000021c T __fast_compare(char const *, char const *) 000005b0 T __attr_type_info::__rtti_compare(type_info const &) const 00000704 T __ptmd_type_info::__rtti_compare(type_info const &) const 000002d8 T __user_type_info::__rtti_compare(type_info const &) const 000001a8 T __builtin_type_info::__rtti_compare(type_info const &) const 000004b4 T __pointer_type_info::__rtti_compare(type_info const &) const 0000002c T type_info::__rtti_compare(type_info const &) const I haven't had time to look at the SPARC20 problems yet, but I'll report back soon:) Take care. )|( (o o) ------------------------------------------ooO-(_)-Ooo------------------------- Jay J. Williams '||' \\|// E-Mail: jjw at nwu dot edu| | || .... .... ... - - Northwestern University || '' .|| '|. | (o o) EECS Department || .|' || '|.| J 2145 Sheridan Road || .|' '|..'|' '| - Evanston, IL 60208-3118 ''' .. | \_/ Voice: (847) 467-1949 '' FAX: (847) 491-4455 URL -> http://www.eecs.nwu.edu/~jjw ** This Message Was Printed On 100% Recycled Electronics ** ============ooO=(-)=Ooo==================ooO=======Ooo======================== (o o) )|(