AIX compilation problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

AIX compilation problem

Dr. G. Buerger-2
Hello,

I am trying to build the new 2.0.14 octave on our AIX 4.2.2 machine,
without success. I remember having solved the same problem earlier but
I can't remember how.

Here it is, in the src directory:

________________
c++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../dlfcn -I../dlfcn -I../glob -I../glob -DHAVE_CONFIG_H -mno-fp-in-toc -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall -rdynamic \
-L..    -g -o octave \
octave.o builtins.o  balance.o  besselj.o  betainc.o  chol.o  colloc.o  dassl.o  det.o  eig.o  expm.o  fft.o  fft2.o  filter.o  find.o  fsolve.o  gammainc.o  getgrent.o  getpwent.o  getrusage.o  givens.o  hess.o  ifft.o  ifft2.o  inv.o  log.o  lpsolve.o  lsode.o  lu.o  minmax.o  pinv.o  qr.o  quad.o  qzval.o  rand.o  schur.o  sort.o  svd.o  syl.o  time.o \
-L../liboctave -L../libcruft -L../src  \
../src/liboctinterp.a ../liboctave/liboctave.a  ../libcruft/libcruft.a  ../readline/libreadline.a ../kpathsea/libkpathsea.a ../glob/libglob.a ../dlfcn/libdlfcn.a -ll -lld \
-lxlf90 -lxlf -lm  -lncurses -lm
c++: unrecognized option `-rdynamic'
collect2: ld returned 8 exit status
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::compare(basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> > const &, unsigned long, unsigned long) const
ld: 0711-317 ERROR: Undefined symbol: basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::nilRep
ld: 0711-317 ERROR: Undefined symbol: .clone__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i03Rep
ld: 0711-317 ERROR: Undefined symbol: .__dl__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i03RepPv
ld: 0711-317 ERROR: Undefined symbol: .complex<double> sqrt<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> log<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> operator/<double>(complex<double> const &, complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> operator/<double>(complex<double> const &, double)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> sin<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> cos<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> sinh<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> cosh<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::replace(unsigned long, unsigned long, char const *, unsigned long)
ld: 0711-317 ERROR: Undefined symbol: .ostream & operator<<<char, string_char_traits<char>, __default_alloc_template<false, 0> >(ostream &, basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> > const &)
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::alloc(unsigned long, bool)
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::resize(unsigned long, char)
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::replace(unsigned long, unsigned long, basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> > const &, unsigned long, unsigned long)
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::rfind(char, unsigned long) const
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::find(char, unsigned long) const
ld: 0711-317 ERROR: Undefined symbol: ._IO_getc
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::find(char const *, unsigned long, unsigned long) const
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::compare(char const *, unsigned long, unsigned long) const
ld: 0711-317 ERROR: Undefined symbol: .complex<double> & __doadv<double>(complex<double> *, complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> exp<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> operator/<double>(double, complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .ostream & operator<<<double>(ostream &, complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .istream & operator>><double>(istream &, complex<double> &)
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::replace(unsigned long, unsigned long, unsigned long, char)
ld: 0711-317 ERROR: Undefined symbol: ._IO_putc
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::find_first_of(char const *, unsigned long, unsigned long) const
ld: 0711-317 ERROR: Undefined symbol: .basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::find_first_not_of(char const *, unsigned long, unsigned long) const
ld: 0711-317 ERROR: Undefined symbol: .complex<double> pow<double>(complex<double> const &, double)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> pow<double>(double, complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> pow<double>(complex<double> const &, complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: .complex<double> pow<double>(complex<double> const &, int)
ld: 0711-317 ERROR: Undefined symbol: complex<double> cos<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: complex<double> cosh<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: complex<double> exp<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: complex<double> log<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: complex<double> sin<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: complex<double> sinh<double>(complex<double> const &)
ld: 0711-317 ERROR: Undefined symbol: complex<double> sqrt<double>(complex<double> const &)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake: *** [octave] Error 1
_________________

Any help?

        Gerd


Reply | Threaded
Open this post in threaded view
|

AIX compilation problem

Dr. G. Buerger-2
Hi octave,

the recently posted problem about the AIX compilation has been
resolved. It appeared that there was a malfunctioning of gcc on my
side.

Now octave works fine with AIX 4.2.

Regards,

        G. B├╝rger