I am having troubles running 'make' with mysql-3.23.49 on;

SunOS  5.8 Generic_108528-12 sun4u sparc

my configure looks something like this;

setenv CFLAGS "-O3"
setenv CXX gcc
setenv CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti"

./configure --prefix=/lycra/homes/fike/bugz/mysql --enable-assembler --with-
mysqld-ldflags=-all-static

then gmake returns;

ld: fatal: library -ldl: not found
ld: fatal: library -lpthread: not found
ld: fatal: library -lthread: not found
ld: fatal: library -lpthread: not found
ld: fatal: library -lthread: not found

I can't seem to locate these library's.  So I tried using
he  --with-mit-threads and received new errors below;

In file included from include/pthread.h:69,
                 from
/lycra/homes/fike/bugz_src/mysql-3.23.49/mit-pthreads/net/gethostbyaddr.c:40
:
include/pthread/pthread_attr.h:96: conflicting types for `pthread_attr_t'
/usr/include/sys/types.h:393: previous declaration of `pthread_attr_t'
In file included from
/lycra/homes/fike/bugz_src/mysql-3.23.49/mit-pthreads/net/gethostbyaddr.c:40
:
include/pthread.h:267: conflicting types for `pthread_t'
/usr/include/sys/types.h:349: previous declaration of `pthread_t'

Any help greatly apprectiated,

Don [EMAIL PROTECTED]



---------------------------------------------------------------------
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