MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Kimmo Mustonen Date:January 1 1970 12:00am
Subject:Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)
View as plain text  
On Tue, 31 Aug 1999, Michael Widenius wrote:

> You can ignore the above (Wonder if this is fixed in gcc 2.95.1)

I'll download and compile that newer one.

> I agree.  Can you find out in which library this is definied?
> (with 'nm' and 'grep')

alpha2> nm /lib/libc.a | fgrep fflush
__fflush_unlocked                | 0000000000000000 | U | 0000000000000008
__fflush_unlocked                | 0000000000001104 | T | 0000000000000008
fflush                           | 0000000000001888 | T | 0000000000000008
fflush_unlocked                  | 0000000000001104 | T | 0000000000000008
__fflush_unlocked                | 0000000000000000 | U | 0000000000000008
__fflush_unlocked                | 0000000000000000 | U | 0000000000000008
fflush                           | 0000000000000000 | U | 0000000000000008
__fflush_unlocked                | 0000000000000000 | U | 0000000000000008
fflush                           | 0000000000000000 | U | 0000000000000008
fflush                           | 0000000000000000 | U | 0000000000000008
fflush                           | 0000000000000000 | U | 0000000000000008
fflush                           | 0000000000000000 | U | 0000000000000008
fflush                           | 0000000000000000 | U | 0000000000000008

> What configure options did you use in this case?

Hmm... sorry, I cannot remember any more. It was one of those configure 
lines that I tried from INSTALL-SOURCE.

> Kimmo> cc -std1 -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I..
> Kimmo> -O -DDBUG_OFF -c  -DPIC libmysql.c -o .libs/libmysql.lo
> Kimmo> cc: Warning: ./../include/mysql.h, line 76: In this declaration, type
> Kimmo> "unsigned long long" is a language extension.
> Kimmo> typedef unsigned long long my_ulonglong;
> Kimmo> --------^
> 
> Which cc compiler are you using?  You must probably add a flag to
> CFLAGS and CXXFLAGS to get it to understand longlong.

That cc is the default one that comes with Digital Unix. It does optimizes
better than gcc (for Alpha chip) and is probably made (or changed) by the
staff at Digital.

> The above is probably a bug in the cc compiler;  It's not compatible
> with it's own include files :(

:( Well, I should try to get this working with gcc then.

> Last time I succeeded in building MySQL on Dec, I used gcc.  Any
> change you can try with gcc 2.95  and try to find out why the 'fflush' 
> wasn't found (try man fflush).

LIBRARY

  Standard C Library (libc.so, libc.a)

Kimmo

Thread
Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Kimmo Mustonen31 Aug
  • Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Jani Tolonen31 Aug
    • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Kimmo Mustonen31 Aug
      • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Jani Tolonen31 Aug
        • UnixWare Threads... From SCO...801) 250-O795 Work31 Aug
        • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Kimmo Mustonen1 Sep
    • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Yan Zhang Chen31 Aug
      • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Michael Widenius1 Sep
  • Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Michael Widenius31 Aug
    • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Kimmo Mustonen1 Sep