From owner-freebsd-small Tue Aug 14 9:27:31 2001 Delivered-To: freebsd-small@freebsd.org Received: from sv.compuland.com.br (sv.compuland.com.br [200.255.96.21]) by hub.freebsd.org (Postfix) with ESMTP id 6390837B405 for ; Tue, 14 Aug 2001 09:27:26 -0700 (PDT) (envelope-from helio@compuland.com.br) Received: (from mailler@localhost) by sv.compuland.com.br (8.11.4/8.11.4) id f7EGUDB20915 for freebsd-small@freebsd.org; Tue, 14 Aug 2001 13:30:13 -0300 (BRT) Received: from fuzzy (fuzzy.compuland.com.br [200.255.96.29]) by sv.compuland.com.br (8.11.4/8.11.4) with ESMTP id f7EGUCw20902 for ; Tue, 14 Aug 2001 13:30:12 -0300 (BRT) From: helio@compuland.com.br Organization: CompuLand ISP To: Date: Tue, 14 Aug 2001 13:28:28 -0300 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Subject: libc issue Message-ID: <3B79277C.28167.7F27C9@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi: I=B4m trying to build a picobsd floppy with an aplication that depends on libmysqlclient ( I sent another message but without error messages). If I use the shared library, libmysqlclient.so the build is completed but the INIT panics when the floppy boots. Seems to me that crypt somehow conflicts. If I use the static libmysqlclient.a , I got a conflict with LIBC (I suppo= se): /usr/lib/libc.a(getopt.o)(.data+0x0): multiple definition of `opterr' /usr/local/lib/mysql/libmysqlclient.a(getopt.o)(.data+0x8): first defined = here /usr/lib/libc.a(getopt.o)(.data+0x4): multiple definition of `optind' /usr/local/lib/mysql/libmysqlclient.a(getopt.o)(.data+0x4): first defined = here /usr/lib/libc.a(getopt.o): In function `getopt': getopt.o(.text+0x0): multiple definition of `getopt' /usr/local/lib/mysql/libmysqlclient.a(getopt.o)(.text+0x84c): first define= d here /usr/libexec/elf/ld: Warning: size of symbol `getopt' changed from 31 to 4= 26 in getopt.o /usr/local/lib/mysql/libmysqlclient.a(password.o): In function `scramble': password.o(.text+0x1cc): undefined reference to `floor' password.o(.text+0x261): undefined reference to `floor' /usr/local/lib/mysql/libmysqlclient.a(password.o): In function `check_scramble': password.o(.text+0x3fe): undefined reference to `floor' password.o(.text+0x490): undefined reference to `floor' /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress ': my_compress.o(.text+0x9d): undefined reference to `uncompress' /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x130): undefined reference to `compress' *** Error code 1 Is there any solution for that - maybe change something in the build proce= ss of the mysqlclientlibrary ? Any tip would be greatly appreciated. Thanks, Helio. - CompuLand ISP Admin GnuPG Public Key: http://www.compuland.com.br/helio/gpgpublic.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message