Frank Mash stated:
< Thanks stevel and bochnig but adding the environment variables didn't help as 
I still get the same errors.
< 
< Seanmcg, per your suggestion I was able to narrow it down to this line:
< 
< > /usr/local/mysql/bin/mysql_config --cflags
< -I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none
< 
< I have asked my SA to install CC but in the meantime is it possible to 
translate the above "--cflags" for cc to gcc so I can compile with GCC? Or does 
it mean that I cannot link MySQL (compiled with cc) with gcc?
< 

  Change the mysql_config script itself ?  Its a hack, but would work.

  Reminds me of trying to compile perl modules with gcc, when perl wants
  to use Sun C..

  btw, looks like your mysql was compiled with a rather old version of the
  Sun C compiler (the FORTEC defined).  I'd still try the newer compiler,
  unless theres a specific reason to use gcc..

  /insert plug !/
    -- even if there is theres the cooltools, gcc frontend with the Sun C
  compiler backend for better optimisation etc.. :-)
  /end plug !/

Regards,

< Thanks guys,
< Frank
<  
<  
< This message posted from opensolaris.org
< _______________________________________________
< opensolaris-discuss mailing list
< [email protected]

-- 
Sean.
.
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to