On Thu, 18 Mar 1999, Dan wrote:
> Thanks in advance for any help.
> I am running Solaris7 on a Ultra5.
> My first problem occurs when I run the
> script in mysql-3.22.20a
> I get this error:
> checking for restartable system calls... configure: error: can not run
> test program while cross compiling
> What does it mean and what do I do about it?
I've found this means your C++ (ie g++) installation is broken ...
> I have successfully installed the binary
> mysql-3.22.19-sun-solaris2.6-sparc and everything runs as it should,
> except I can not compile any of my own programs.
> with the command
> -L/usr/local/mysql-3.22.19-sun-solaris2.6-sparc/lib myprogram.cc
... and Guess What. It looks like your g++ installation is broken.
I suggest that you spend a little time checking this (Mixing the c++
libraries that the binary version & your g++ uses could cause problems as