List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:May 11 1999 4:34am
Subject:Re: Probs Compiling MySql3.2.2.22 on Digital UNIX
View as plain text  
>>>>> "A" == A Brandic <ccx207@stripped> writes:

A> Douglas,  your configure did make a differece (thanx) but it failed with 
A> a different error this time.  I'm quite sure actualy that someone had a 
A> similar error in the past 2 weeks but I cannot seam to find it.

A> Does anyone remember?

A> cc -std1 -O -DDBUG_OFF -o thr_alarm 
A> -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DHAV
A> E_CONFIG_H -I./../include -I../include -I.. -O -DDBUG_OFF -DMAIN 
A> ./thr_alarm.c l
A> ibmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lm -lpthread 
A> -lmach -lexc
A>  -lc
A> ld:
A> Unresolved:
A> asm
A> make[2]: *** [thr_alarm] Error 1
A> make[2]: Leaving directory `/usr/local/src/MYSql/mysql-3.22.22/mysys'
A> make[1]: *** [all-recursive] Error 1
A> make[1]: Leaving directory `/usr/local/src/MYSql/mysql-3.22.22'
A> make: *** [all-recursive-am] Error 2         

The 'asm' comes probably from some 'unstandard' library file.

A> I've removed "config.cache" them "make clean" then "touch c_asm" then 
A>  setenv CC "cc -pthread"
>> setenv CXX "cxx -pthread -O"
>> ./configure --prefix=/usr/local/mysql\
>> --with-mysqld-ldflags=-all-static --disable-shared\
>> --with-named-thread-libs="-lmach -lexc -lc"
>> #       --with-named-thread-libs="-lpthread -lmach -lexc -lc"

A> Tried with and with out the last config line "#"

Try the following:

touch include/c_asm.h ; make clean ; make

Regards,
Monty

PS: As soon as I got 3.23 out, I will try to get access to some
    Digital Unix system to fix configure to automaticly detect this
    problem!
Thread
Probs Compiling MySql3.2.2.21 on Digital UNIXA. Brandic13 Apr
  • Probs Compiling MySql3.2.2.21 on Digital UNIXJani Tolonen14 Apr
  • Re: Probs Compiling MySql3.2.2.21 on Digital UNIXA. Brandic15 Apr
    • Re: Probs Compiling MySql3.2.2.21 on Digital UNIXA. Brandic15 Apr
    • Re: Probs Compiling MySql3.2.2.22 on Digital UNIXA. Brandic5 May
      • Re: Probs Compiling MySql3.2.2.22 on Digital UNIXDouglas B. Jones5 May
        • Re: Probs Compiling MySql3.2.2.22 on Digital UNIXA. Brandic5 May
          • Re: Probs Compiling MySql3.2.2.22 on Digital UNIXMichael Widenius11 May