Make sure you have zlib installed and add -lz to your linking options.

Regards
Jorge

MySQL Development Team
    __  ___     ____ __   __
   /  |/  /_ __/ __/ __ \/ /   Jorge del Conde <[EMAIL PROTECTED]>
  / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\____/ Mexico City, Mexico
        <___/



----- Original Message -----
From: "Henker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 3:46 AM
Subject: ld: cannot linking


> >Description:
>         gcc -O2 -s -I/usr/include/ncurses -DNCURSES
> -I/usr/local/mysql/include -I/usr/local/iceb/include
> -DCONFIG_PATH=\"./\" sozs
> qlbaz.o -o sozsqlbaz  -lncurses -L/usr/local/iceb/lib  -ldev -lbuh
> -lutil -lscr  -lsql -lconfig -L/usr/local/mysql/lib -lmysqlclient -lm
>         /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In
> function `my_uncompress':
>         my_compress.o(.text+0x97): undefined reference to `uncompress'
>         /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In
> function `my_compress_alloc':
>         my_compress.o(.text+0x12b): undefined reference to `compress'
>         collect2: ld returned 1 exit status
> >How-To-Repeat:
>         nothing
> >Fix:
>         i don't know :)
>
> >Submitter-Id:  <submitter ID>
> >Originator:
> >Organization:
>  <organization of PR author (multiple lines)>
> >MySQL support: none
> >Synopsis:      none
> >Severity:      serious
> >Priority:      medium
> >Category:      mysql
> >Class:         sw-bug
> >Release:       mysql-3.23.30-gamma (Official MySQL binary)
>
> >Environment:
>         Intel Pentium III (Katmai), redhat 6.2, i386, standart distrib
>         without any upgrade
> System: Linux plumzyk 2.2.15-net-snd-zip #4 Sat Jan 6 19:06:34 MSK 2001
> i686 unknown
> Architecture: i686
>
> Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
> /usr/bin/cc
> GCC: Reading specs from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> Compilation info: CC='gcc'  CFLAGS='-O6 -mpentium -fomit-frame-pointer'
> CXX='gcc'  CXXFLAGS='-O6 -mpentium -fomit-frame-pointer
> -felide-constructors'  LDFLAGS='-static'
> LIBC:
> lrwxrwxrwx    1 root     root           13 mAJ  4  2000 /lib/libc.so.6
> -> libc-2.1.3.so
> -rwxr-xr-x    1 root     root      4101324 fEW 29  2000
> /lib/libc-2.1.3.so
> -rw-r--r--    1 root     root     20272704 fEW 29  2000 /usr/lib/libc.a
> -rw-r--r--    1 root     root          178 fEW 29  2000 /usr/lib/libc.so
> Configure command: ./configure  --prefix=/usr/local/mysql
> '--with-comment=Official MySQL binary' --with-extra-charsets=complex
> --enable-assembler --with-mysqld-ldflags=-all-static
> --with-client-ldflags=-all-static --disable-shared
> Perl: This is perl, version 5.005_03 built for i386-linux
>
> ---------------------------------------------------------------------
> 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


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