Alan W. Irwin writes:
> Got this privately from Don Spong.
>
> [...]
> gcc -shared -o .libs/libplplotcxx.so.5 plstream.o -Wl,-bnolibpath
> -Wl,-blibpath:/home/spongda/plplot-5.2.0/src/.libs:/home/spongda/plplot-5.2.0/lib:/usr/lib:/lib
> -L/home/spongda/plplot-5.2.0/src
> -L/home/spongda/plplot-5.2.0/src/.libs -lplplot -lc -Wl,-bnoentry
> -Wl,-bexport:.libs/libplplotcxx.exp
> ld: 0711-317 ERROR: Undefined symbol: cerr
> ld: 0711-317 ERROR: Undefined symbol: .ostream::operator<<(char const *)
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
>
> Seems that cerr (and some other .ostream function?) used by our C++ front
> end is missing from AIX.
>
> For now, I have suggested the workaround of disabling our C++ front end to
> Don, but does anybody have any ideas about a permanent solution that would
> allow building our C++ front end on AIX?
Maybe add -lstdc++ to the link line. This is not necessary on my RH7.3 box,
but I don't know about other gcc installations.
--
Maurice LeBrun mj...@ga...
Research Organization for Information Science and Technology of Japan (RIST)
|