List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:July 30 1999 12:30pm
Subject:Re: Mysql problem on Digital UNIX
View as plain text  
Colin Bruce writes:
 > On Thu, 29 Jul 1999 sinisa@stripped wrote:
 > 
 > > I see you have made MySQL out of source.
 > > 
 > > I think you should repeat a process, but this time, please follow
 > > precisely instructions in a manual, pertaining to Digital Unix.
 > > 
 > > If you follow the recommandations strictly, and if you have problems
 > > during make and running, please notify.
 > 
 > Hi There,
 > 
 > Thanks for the mail. Unfortunately the recommendations for Digital UNIX
 > are a bit vague. Several suggestions but nothing very concrete. I have
 > tried them all but with no success. For example, 
 > 
 > CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure --prefix=/usr/local/mysql
 > 
 > seems to be quite good until 
 > 
 > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include    -O6   -DDBUG_OFF -c
main.c
 > /bin/sh ../libtool --mode=link gcc  -O6   -DDBUG_OFF  -o re  split.o debug.o main.o
libregex.a ../strings/libmystrings.a -lm    -lpthread -lmach -lexc -lc
 > mkdir .libs
 > gcc -O6 -DDBUG_OFF -o re split.o debug.o main.o libregex.a ../strings/libmystrings.a
-lm -lpthread -lmach -lexc -lc
 > collect2: ld returned 1 exit status
 > /usr/bin/ld:
 > Unresolved:
 > fflush
 > abort
 > 
 > Now I have never seen a compile/load command using the C compiler which
 > specifically has to load the C library (-lc) but perhaps thats just lack
 > of experience. If I remove that though the thing builds ok although it
 > doesn't run.
 > 
 > Any thoughts?
 > 
 > Best wishes...
 > Colin
 > 

Sorry, but the manual says :

     shell> CC="cc -pthread" CXX="cxx -pthread -O" \
            ./configure --with-named-thread-libs="-lpthread -lmach -lexc -lc"

Try it this way, please !

Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@stripped            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped|
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+
Thread
Mysql problem on Digital UNIXccx00429 Jul
  • Mysql problem on Digital UNIXsinisa29 Jul
    • Re: Mysql problem on Digital UNIXColin Bruce29 Jul
      • Re: Mysql problem on Digital UNIXJani Tolonen30 Jul
      • Re: Mysql problem on Digital UNIXsinisa30 Jul
        • Re: Mysql problem on Digital UNIXColin Bruce30 Jul