From: Warren Young Date: October 21 2004 9:13pm Subject: Re: Query returns substrings and zero-ints List-Archive: http://lists.mysql.com/plusplus/3575 Message-Id: <41782668.5010904@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Tobias Bergmann wrote: > > and finally I found the CXXFLAG -m32 but I cant compile this way: > /usr/bin/ld: skipping incompatible > /usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../../lib64/libz.so Plainly the -m32 flag only affects compilation, not linking. Somewhere you'll have to add a similar flag for linking. LDFLAGS?? Anyway, building a 32-bit executable is just avoiding the problem. Getting 64-bit support for 64-bit platforms is what is needed.