Re:Re: Problems compiling NDB-Cluster mysql-4.1.2

2004-05-13 Thread Steffen Moelter
Hello,

thanks for your response.
The zlib-Library was already installed on the machine. 
The command find / | grep zlib showed my the file zlib.h at
/usr/include/linux/zlib.h
I've update from zlib 1.1.4-105 to 1.1.4-232 and installed the
zlib-devel package too.
I've tried to compile with different flags (CXX=gcc and/or CC=gcc) and
configured with the flag: --include-dir=/usr/include/linux
Nothing worked, the error is still the same.

Steffen Moelter

-Ursprüngliche Nachricht-
Von: Anders Karlsson [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 10. Mai 2004 11:57
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Re: Problems compiling NDB-Cluster mysql-4.1.2

You have to have zlib installed. This seems to be a bug, which I have 
just reported. The fix is
simple: install zlib.
You can check with a simple C-program like this:

#include zlib.h
#include stdio.h

int main(int argc, char *argv[])
   {
   printf(Hello, World\n);
   return 0;
   }

If this refuses to compile (missing includefile) you are
missing zlib includes at least. You might want to link with -lz to check
that the library is there too, or even call one one the functions in 
zlib (compress
for example).
Install zlib and make sure this little program compiles, if it does, you
should be OK.

/Karlsson
[EMAIL PROTECTED] wrote:

Hello all,

i want to compile the development tree source from
bk://mysql.bkbits.net/mysql-4.1 on SuSE 8.2 Linux. The compiling of the
mysql-4.1 without the ndb-cluster works fine.

When set the configuration-option --with-ndbcluster, the compilation
fails with the error:

ha_ndbcluster.o(.text+0x3b5c): In function `packfrm(void const*,
unsigned, void const**, unsigned*)':
: undefined reference to `my_compress'
ha_ndbcluster.o(.text+0x3c34): In function `unpackfrm(void const**,
unsigned*, void const*)':
: undefined reference to `my_uncompress'
collect2: ld returned 1 exit status
make[4]: *** [mysqld] Error 1
make[4]: Leaving directory `/home/Steffen/mysql-4.1/sql'

I've tried to set the CXX and/or CC environment-variable to gcc, but
the
compilation fails with the same error.

Installed Software Versions:
Kernel: 2.4.22-33
gcc/cpp : 3.3-23
bison: 1.875
autoconf: 2.53
automake: 1.5
libtool: 1.5

Thanks
Steffen


  


-- 
__  ___ ___   __
   /  |/  /_ __/ __/ __ \/ /  Anders Karlsson ([EMAIL PROTECTED])
  / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Sales Engineer
 /_/  /_/\_, /___/\___\_\___/ Stockholm
___/   www.mysql.com Cellphone: +46 708 608121


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Problems compiling NDB-Cluster mysql-4.1.2

2004-05-10 Thread Anders Karlsson
You have to have zlib installed. This seems to be a bug, which I have 
just reported. The fix is
simple: install zlib.
You can check with a simple C-program like this:

#include zlib.h
#include stdio.h
int main(int argc, char *argv[])
  {
  printf(Hello, World\n);
  return 0;
  }
If this refuses to compile (missing includefile) you are
missing zlib includes at least. You might want to link with -lz to check
that the library is there too, or even call one one the functions in 
zlib (compress
for example).
Install zlib and make sure this little program compiles, if it does, you
should be OK.

/Karlsson
[EMAIL PROTECTED] wrote:
Hello all,

i want to compile the development tree source from
bk://mysql.bkbits.net/mysql-4.1 on SuSE 8.2 Linux. The compiling of the
mysql-4.1 without the ndb-cluster works fine.
When set the configuration-option --with-ndbcluster, the compilation
fails with the error:
ha_ndbcluster.o(.text+0x3b5c): In function `packfrm(void const*,
unsigned, void const**, unsigned*)':
: undefined reference to `my_compress'
ha_ndbcluster.o(.text+0x3c34): In function `unpackfrm(void const**,
unsigned*, void const*)':
: undefined reference to `my_uncompress'
collect2: ld returned 1 exit status
make[4]: *** [mysqld] Error 1
make[4]: Leaving directory `/home/Steffen/mysql-4.1/sql'
I've tried to set the CXX and/or CC environment-variable to gcc, but the
compilation fails with the same error.
Installed Software Versions:
Kernel: 2.4.22-33
gcc/cpp : 3.3-23
bison: 1.875
autoconf: 2.53
automake: 1.5
libtool: 1.5
Thanks
Steffen
 

--
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /  Anders Karlsson ([EMAIL PROTECTED])
 / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Sales Engineer
/_/  /_/\_, /___/\___\_\___/ Stockholm
   ___/   www.mysql.com Cellphone: +46 708 608121
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Problems compiling NDB-Cluster mysql-4.1.2

2004-05-05 Thread Tech
Hello all,

i want to compile the development tree source from
bk://mysql.bkbits.net/mysql-4.1 on SuSE 8.2 Linux. The compiling of the
mysql-4.1 without the ndb-cluster works fine.

When set the configuration-option --with-ndbcluster, the compilation
fails with the error:

ha_ndbcluster.o(.text+0x3b5c): In function `packfrm(void const*,
unsigned, void const**, unsigned*)':
: undefined reference to `my_compress'
ha_ndbcluster.o(.text+0x3c34): In function `unpackfrm(void const**,
unsigned*, void const*)':
: undefined reference to `my_uncompress'
collect2: ld returned 1 exit status
make[4]: *** [mysqld] Error 1
make[4]: Leaving directory `/home/Steffen/mysql-4.1/sql'

I've tried to set the CXX and/or CC environment-variable to gcc, but the
compilation fails with the same error.

Installed Software Versions:
Kernel: 2.4.22-33
gcc/cpp : 3.3-23
bison: 1.875
autoconf: 2.53
automake: 1.5
libtool: 1.5

Thanks
Steffen


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]