2 messages in com.mysql.lists.mysqlUnresolved symbols compiling mySQL-3....| From | Sent On | Attachments |
|---|---|---|
| jo...@cs.york.ac.uk | 15 Feb 2000 08:56 | |
| sin...@mysql.com | 16 Feb 2000 04:32 |
| Subject: | Unresolved symbols compiling mySQL-3.22.30 from source on SGI Irix 5.3![]() |
|---|---|
| From: | jo...@cs.york.ac.uk (jo...@cs.york.ac.uk) |
| Date: | 02/15/2000 08:56:59 AM |
| List: | com.mysql.lists.mysql |
Description:
I have tried to compile mySQL-3.22.30 on an SGI Irix 5.3 system as I cannot find any binary distribution for that platform. (We have a number of old SGI Indy workstations still in use which require an uneconomic hardware upgrade to take them from Irix 5.3 to Irix 6.5.) The Irix 6.3 binary distribution works fine on our newer Irix 6.5 workstations here (which is where I'm running the mysqlbug from, hence mention of gcc 2.8.1 etc. rather than the gcc 2.7.2 of the Irix 5.3 workstations), but the compile/link from source produced:
...
rm -f libmysys.a
ar cru libmysys.a my_init.o my_getwd.o mf_getdate.o mf_path.o mf_loadpath.o
my_open.o my_create.o my_seek.o my_read.o my_pread.o my_write.o mf_reccache.o
mf_keycache.o mf_iocache.o mf_cache.o my_lock.o mf_brkhant.o my_alarm.o
my_malloc.o my_realloc.o my_o
ranlib libmysys.a
gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql-3.22.30\"
-DDATADIR="\"/usr/local/mysql-3.22.30/var\"" -DHAVE_CONFIG_H
-I../mit-pthreads/include -I./../include -I../include -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF
/bin/sh ../libtool --mode=link gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -o testhash testhash.o libmysys.a
../dbug/libdbug.a ../strings/libmystrings.a
../mit-pthreads/obj/libpthread.a -ldl
mkdir .libs
gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6
-DDBUG_OFF -o testhash testhash.o libmysys.a ../dbug/libdbug.a
../strings/libmystrings.a ../mit-pthreads/obj/libpthread.a -ldl -lm -lsocket -lz
-lcrypt -lgen
collect2: ld returned 1 exit status
/usr/bin/../lib/ld:
The shared object /usr/lib/libdl.so did not resolve any symbols.
You may want to remove it from your link line.
The shared object /usr/lib/libsocket.so did not resolve any symbols.
You may want to remove it from your link line.
The shared object /usr/lib/libcrypt.so did not resolve any symbols.
You may want to remove it from your link line.
The shared object /usr/lib/libgen.so did not resolve any symbols.
You may want to remove it from your link line.
Unresolved:
machdep_sys_sigprocmask
machdep_sys_sigpause
machdep_sys_waitsys
machdep_sys_getdents
machdep_sys_flock
make[2]: *** [testhash] Error 1
make[2]: Leaving directory `/usr/local/src/cmd/mySQL/mysql-3.22.30/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cmd/mySQL/mysql-3.22.30'
make: *** [all-recursive-am] Error 2
Since the MIT threads package seems to have configuration for Irix 5.2 (but not 5.3) I thought this should work.
If I can't build from the source, has anyone got an Irix 5.* binary distribution we could have?
John A. Murdie Department of Computer Science University of York England
How-To-Repeat: Get and unpack mysql-3.22.30.tar.gz on Irix 5.3, ./configure; make Fix:
N/A
Submitter-Id: john Originator: John A. Murdie Organization:
Department of Computer Science University of York England
MySQL support: none
Synopsis: Unresolved symbols compiling mySQL-3.22.30 from source on SGI
Irix 5.3
Severity: serious
Priority: low
Category: mysql
Class: support
Release: mysql-3.22.30 (TCX binary)
Environment:
System: IRIX indy003 6.5 IP22
Some paths: /usr/gnu/bin/perl /usr/bin/make /usr/gnu/bin/gmake
/usr/local/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/gnu/lib/gcc-lib/mips-sgi-irix6-o32/2.8.1/specs
gcc version 2.8.1
Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='-O3' LDFLAGS=''
Configure command: ./configure --prefix=/usr/local/mysql '--with-comment=TCX
binary' --with-thread-safe-client --with-named-z-libs=not-used --disable-shared
Perl: This is perl, version 5.004_04 built for mips-irix




