Go to the first, previous, next, last section, table of contents.


Alpha-DEC-OSF1 notes.

If you have problems compiling and have Dec CC and gcc installed you can try the following compile line (with sh or bash):

CC=cc CFLAGS=-O CXX=gcc CXXFLAGS=-O3 ./configure --prefix=/usr/local/mysql

On OSF1 V4.0D and compiler "DEC C V5.6-071 on Digital UNIX V4.0 (Rev. 878)" the compiler had some strange behaviour (One gets undefined 'asm' symbols). /bin/ld appears also to be broken (one gets _exit undefined when linking mysqld). On this we have managed to compile MySQL with the following configure line, after replacing /bin/ld from OSF 4.0C:

CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure --prefix=/usr/local/mysql

In some versions of OSF1, the alloca() functions is broken. Fix this by removing 'HAVE_ALLOCA' from config.h.

The alloca() function can also have a wrong prototype in /usr/include/alloca.h. This warning can be ignored.

Configure will automaticly use the following thread libraries: -with-named-thread-libs="-lpthread -lmach -lexc -lc"

When using gcc you can also try to use:

CFLAGS=-D_PTHREAD_USE_D4 CXX=gcc CXXFLAGS=-O3 ./configure ....


Go to the first, previous, next, last section, table of contents.