Okay, got no clue at the moment, you should nm or strings your lib to ensure the 
system you are using is within.

I requested gcc -V because RedHat 7 (Mandrake is based on RedHat) is made with a 
RedHat invented gcc (2.96) not from GNU and creating many many problems.

Sorry to be able to help more.

@+/L


At 19:52 07/01/2001 +0100, FL wrote:

>> gcc -V please...
>
>I try -v but -V says it is not the right version number.
>
>Francois
>
>gcc -v  ~/test.c -lz
>Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/specs
>gcc version 2.95.3 19991030 (prerelease)
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/cpp -lang-c -v -D__GNUC__=2 
>-D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ 
>-D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) 
>-Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium 
>-D__i586 -D__i586__ -D__pentium -D__pentium__ /home/lemy/test.c 
>/tmp/ccnoYY35.i
>GNU CPP version 2.95.3 19991030 (prerelease) (i386 Linux/ELF)
>#include "..." search starts here:
>#include <...> search starts here:
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/include
> /usr/include
>End of search list.
>The following default directories have been omitted from the search path:
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3
> /usr/local/include
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../i586-mandrake-linu
>x/include
>End of omitted list.
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/cc1 /tmp/ccnoYY35.i -quiet 
>-dumpbase test.c -version -o /tmp/ccsWEly1.s
>GNU C version 2.95.3 19991030 (prerelease) (i586-mandrake-linux) compiled 
>by GNU C version 2.95.3 19991030 (prerelease).
> as -V -Qy -o /tmp/cchUgxsY.o /tmp/ccsWEly1.s
>GNU assembler version 2.10.90 (i586-mandrake-linux) using BFD version 
>2.10.0.24
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/collect2 -m elf_i386 
>-dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o 
>/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/crtbegin.o 
>-L/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3 /tmp/cchUgxsY.o -lz -lgcc 
>-lc -lgcc /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/crtend.o 
>/usr/lib/crtn.o
>/usr/bin/ld: cannot find -lz
>collect2: ld returned 1 exit status
>
>
>
>
>>
>> At 14:16 07/01/2001 +0100, FL wrote:
>> >Hi!
>> >
>> >I have read the archive about a --with-mysql problem.
>> >
>> >During make I get :
>> >
>> >/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function
>> >`my_uncompress':
>> >my_compress.o(.text+0x9f): undefined reference to `uncompress'
>> >
>> >MySQL is Ver 10.11 Distrib 3.23.23-beta, for pc-linux-gnu (i686)
>> >
>> >I've read mailing list archive to try :
>> >
>> >1. LIBS="-lz" before configure
>> >2. CFLAGS=-lz before configure
>> >
>> >(of course I've make clean and rm config.cache)
>> >
>> >Both give the same error :(
>> >
>> >3. Try to compile a short c program :
>> >
>> >"main() { compress();}"
>> >
>> >and to try cc test.c -lz
>> >
>> >Result :
>> >
>> >[lemy@d078 mnogosearch-3.1.8]$ cc ~/test.c -lz
>> >/usr/bin/ld: cannot find -lz
>> >collect2: ld returned 1 exit status
>> >
>> >I've in /usr/lib/
>> >
>> >[lemy@d078 lib]$ ls libz*
>> >libz.so.1@  libz.so.1.1.3*  libzvt.so.2@  libzvt.so.2.2.7*
>> >
>> >Distribution is a Linux-Mandrake 7.2, wich seems to cause problem with
>> > the make.
>> >
>> >MnoGoSearch version is either the stable and the 3.1.8.
>> >
>> >Any idea ?
>> >
>> >Thanks
>> >
>> >Francois
>> >
>> >
>> >______________
>> >If you want to unsubscribe send "unsubscribe udmsearch"
>> >to [EMAIL PROTECTED]
>>
>> Laurent LEVIER
>> IT Systems & Networks, Unix System Engineer
>> Security Specialist
>>
>> Argosnet Security Server : http://www.Argosnet.com
>> "Le Veilleur Technologique", "The Technology Watcher"
>>
>> ______________
>> If you want to unsubscribe send "unsubscribe udmsearch"
>> to [EMAIL PROTECTED]
>______________
>If you want to unsubscribe send "unsubscribe udmsearch"
>to [EMAIL PROTECTED]

Laurent LEVIER
IT Systems & Networks, Unix System Engineer
Security Specialist

Argosnet Security Server : http://www.Argosnet.com
"Le Veilleur Technologique", "The Technology Watcher"

______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to