[csw-maintainers] zlibCompileFlags symbol missing on sparcv9
dam at opencsw.org
Tue Nov 3 17:11:51 CET 2009
Am 03.11.2009 um 17:02 schrieb Maciej (Matchek) Blizinski:
> Before I invest larger chunks of time in debugging this issue, I'm
> going to ask here. I'm trying to compile MySQL 5 on build8s, and I'm
> getting an error during the configure phase. It only happens with the
> sparcv9 modulation.
> configure:21806: checking for zlib compression library
> configure:21974: /opt/studio/SOS11/SUNWspro/bin/cc -o conftest -xO3
> -xarch=v9 -mt -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__
> -I/opt/csw/include -I/opt/csw/mysql5/include -D_FILE_OFFSET_BITS=64
> -I/opt/csw/include -I/opt/csw/include -I/opt/csw/mysql5/include
> -xarch=v9 -L/opt/csw/mysql5/lib/64 -L/opt/csw/mysql5/lib//mysql/64
> conftest.c -lposix4 -lresolv -lgen -lsocket -lnsl -lm -L/opt/csw/lib
> -lz >&5
> "conftest.c", line 147: warning: statement not reached
> Undefined first referenced
> symbol in file
> zlibCompileFlags conftest.o
> ld: fatal: Symbol referencing errors. No output written to conftest
> Has anyone run into this problem before? Any ideas why does it work
> fine on sparcv8, but not on sparcv9?
> If anyone wants to reproduce it:
> svn co https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/mysql5/branches/mysql-5.0.x/
> cd mysql-5.0.x
> gmake package
You are using some pathes that are unsuitable for 64 bit compilation.
the fix and repost the delta/revision.
More information about the maintainers