We're using Forte Developer 7 C 5.4 running on Solaris 9 (Sparc) and ran into a problem while compiling the mysql 4.0.17 source.
While I understand their is a pre-built package for my platform, that package doesn't have built in support for SSL, which is the reason we need to re-compile the source.


Can someone assist us in this matter and forgive me if this is the wrong forum to be posting this question.

Thanks,

Jay

(configured with the following options)
CC=cc CFLAGS="-Xa -fast -xstrconst -mt" \
CXX=CC CXXFLAGS="-noex -mt" \
ASFLAGS="-xarch=v9" \
./configure --prefix=/usr/local/mysql-4.0.17 \
           --with-extra-charsets=complex \
           --enable-thread-safe-client \
           --enable-local-infile \
           --enable-assembler \
           --with-named-z-libs=no \
           --enable-thread-safe-client \
           --disable-shared \
           --with-openssl \
           --with-openssl-libs=/usr/local/ssl/lib \
           --with-openssl-includes=/usr/local/ssl/include

(running "make" eventually loads the following error)
...
...
/bin/cp ./thr_alarm.c ./test_thr_alarm.c
/bin/bash ../libtool --mode=link cc -O -DDBUG_OFF -Xa -fast -xstrconst -mt -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -o test_thr_alarm -DDEFAULT_BASEDIR=\"/usr/local/mysql-4.0.17\" -DDATADIR="\"/usr/local/mysql-4.0.17/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql-4.0.17\"" -DSHAREDIR="\"/usr/local/mysql-4.0.17/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I../include -I.. -I. -O -DDBUG_OFF -Xa -fast -xstrconst -mt -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -DMAIN ./test_thr_alarm.c libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lthread -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread
cc -O -DDBUG_OFF -Xa -fast -xstrconst -mt -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -o test_thr_alarm -DDEFAULT_BASEDIR=\"/usr/local/mysql-4.0.17\" -DDATADIR=\"/usr/local/mysql-4.0.17/var\" -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql-4.0.17\" -DSHAREDIR=\"/usr/local/mysql-4.0.17/share/mysql\" -DHAVE_CONFIG_H -I./../include -I../include -I.. -I. -O -DDBUG_OFF -Xa -fast -xstrconst -mt -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -DMAIN ./test_thr_alarm.c libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lthread -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread
cc: Warning: -xarch=native has been explicitly specified, or implicitly specified by a macro option, -xarch=native on this architecture implies -xarch=v8plusa which generates code that does not run on pre UltraSPARC processors
Undefined first referenced
symbol in file
strend libmysys.a(mf_pack.o)
bmove_upp libmysys.a(mf_pack.o)
strnmov libmysys.a(mf_pack.o)
strmake libmysys.a(mf_pack.o)
strmov libmysys.a(my_error.o)
ld: fatal: Symbol referencing errors. No output written to test_thr_alarm
*** Error code 1
make: Fatal error: Command failed for target `test_thr_alarm'
===================








--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to