> I keep getting errors trying to install Mysql 3.23.33 on a Digital
> Unix 4.0d alpha box. I am using gnumake 3.79.1 and gcc 2.95.2.
>
> The error message is as follow:
> g++ -O3 -DDBUG_OFF -fno-implicit-templates -o mysqlbinlog
> mysqlbinlog.o mini_cli
> ent.o net_serv.o mini_client_errors.o violite.o password.o
> ../isam/libnisam.a ..
> /merge/libmerge.a ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a
> ../heap/libh
> eap.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a
> ../strings/libmy
> strings.a -lm -lpthread -lmach -lexc
> /usr/bin/ld:
> /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95.2/libgcc.a(_eh.o):
> __throw: mu
> ltiply defined
> collect2: ld returned 1 exit status
> gnumake[3]: *** [mysqlbinlog] Error 1
> gnumake[3]: Leaving directory `/usr/local/mysql/mysql-3.23.33/sql'
> gnumake[2]: *** [all-recursive] Error 1
> gnumake[2]: Leaving directory `/usr/local/mysql/mysql-3.23.33/sql'
> gnumake[1]: *** [all-recursive] Error 1
> gnumake[1]: Leaving directory `/usr/local/mysql/mysql-3.23.33'
> gnumake: *** [all-recursive-am] Error 2
>
> My configure command was as follows:
> # CC="gcc" CXX="g++" \
> > ./configure --with-named-threads="-lpthread -lmach -lexc -lc" \
> > --prefix=/usr/local/mysql
>
> And here is exerps my config.log:
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:3901: gcc -o conftest     conftest.c -ldir   1>&5
> /usr/bin/ld:
> Can't locate file for: -ldir
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 3890 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char opendir();
>
> int main() {
> opendir()
> ; return 0; }
> configure:4126: floatingpoint.h: No such file or directory
> configure: failed program was:
> #line 4125 "configure"
> #include "confdefs.h"
> #include <floatingpoint.h>
> configure:4120: checking for ieeefp.h
> configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:4126: ieeefp.h: No such file or directory
> configure: failed program was:
> #line 4125 "configure"
> #include "confdefs.h"
> #include <ieeefp.h>
> configure:4120: checking for limits.h
> configure:4126: select.h: No such file or directory
> configure: failed program was:
> #line 4125 "configure"
> #include "confdefs.h"
> #include <select.h>
> configure:4126: synch.h: No such file or directory
> configure: failed program was:
> #line 4125 "configure"
> #include "confdefs.h"
> #include <synch.h>
> configure:4126: sys/utime.h: No such file or directory
> configure: failed program was:
> #line 4125 "configure"
> #include "confdefs.h"
> #include <sys/utime.h>
> configure:4618: gcc -o conftest     conftest.c -lm  1>&5
> /usr/bin/ld:
> Unresolved:
> p2open
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 4595 "configure"
> #include "confdefs.h"
> /* System header to define __stub macros and hopefully few prototypes,
>
>     which can conflict with char p2open(); below.  */
> #include <assert.h>
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char p2open();
>
> int main() {
>
> /* The GNU C library defines this for functions which it implements
>     to always fail with ENOSYS.  Some functions are actually named
>     something starting with __ and the normal name is an alias.  */
> #if defined (__stub_p2open) || defined (__stub___p2open)
> choke me
> #else
> p2open();
> #endif
>
> ; return 0; }
> configure:4636: checking for p2open in -lgen
> configure:4655: gcc -o conftest     conftest.c -lgen  -lm  1>&5
> /usr/bin/ld:
> Can't locate file for: -lgen
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 4644 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char p2open();
>
> int main() {
> p2open()
> ; return 0; }
> configure:4686: checking for bind
> configure:4714: gcc -o conftest     conftest.c -lm  1>&5
> configure:4782: checking for crypt in -lcrypt
> configure:4801: gcc -o conftest     conftest.c -lcrypt  -lm  1>&5
> /usr/bin/ld:
> Can't locate file for: -lcrypt
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 4790 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char crypt();
>
> int main() {
> crypt()
> ; return 0; }
> configure:4829: checking for crypt
> configure:4857: gcc -o conftest     conftest.c -lm  1>&5
> configure:4885: checking if libz with compress
> configure:4902: gcc -o conftest     conftest.c -lz -lm  1>&5
> configure:4891: zlib.h: No such file or directory
> configure: failed program was:
> #line 4890 "configure"
> #include "confdefs.h"
> #include <zlib.h>
> #ifdef __cplusplus
> extern "C"
> #endif
>
> int main() {
>  return compress(0, (unsigned long*) 0, "", 0);
>
> ; return 0; }
> configure:5199: checking for int8
> configure:5226: gcc -o conftest     conftest.c -lm  1>&5
> configure: In function `main':
> configure:5220: `int8' undeclared (first use in this function)
> configure:5220: (Each undeclared identifier is reported only once
> configure:5220: for each function it appears in.)
> configure:5220: parse error before `i'
> configure: failed program was:
> #line 5204 "configure"
> #include "confdefs.h"
>
> #ifdef HAVE_STDLIB_H
> #include <stdlib.h>
> #endif
>
> #ifdef HAVE_STDDEF_H
> #include <stddef.h>
> #endif
>
> #ifdef HAVE_SYS_TYPES_H
> #include <sys/types.h>
> #endif
>
> int main()
> {
>   int8 i;
>   return 0;
> }
>
> configure:5367: checking LinuxThreads
> configure:5408: checking DEC threads
> configure:5636: checking named thread libs:
>
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 8010 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char tgetent();
>
> int main() {
> tgetent()
> ; return 0; }
> configure:8040: checking for tgetent in -lcurses
> configure:8059: gcc -o conftest -O6 -DDBUG_OFF     conftest.c
> -lcurses  -lm  -lpthread -lmach -lexc 1>&5
> configure:8125: checking for termcap functions library
> configure:8149: checking for unistd.h
> configure:8188: checking for getpagesize
> configure:8216: gcc -o conftest -O6 -DDBUG_OFF     conftest.c -lm
> -lpthread -lmach -lexc 1>&5
> configure:8241: checking for working mmap
> configure:8389: gcc -o conftest -O6 -DDBUG_OFF     conftest.c -lm
> -lpthread -lmach -lexc 1>&5
> configure: In function `main':
> configure:8359: warning: cast from pointer to integer of different
> size
>
>
>
> --
> __________________________________________________________________
> Terry Babbey
> Technical Support Specialist
> Lambton College, Sarnia, Ontario, Canada
> __________________________________________________________________

--
__________________________________________________________________
Terry Babbey
Technical Support Specialist
Lambton College, Sarnia, Ontario, Canada
__________________________________________________________________



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to