Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <418DDA49.2080603@x-ray.at> Date: Sun, 07 Nov 2004 09:18:17 +0100 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927 MIME-Version: 1.0 To: cygwin Subject: gcc auto-import info (Was: cygwin build failure) Content-Type: multipart/mixed; boundary="------------080503030203040707060206" X-IsSubscribed: yes --------------080503030203040707060206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Does someone remember how to get rid of the new ld auto-import Info: resolving _optarg by linking to __imp__optarg (auto-import) Info: resolving _optind by linking to __imp__optind (auto-import) messages? I guess it's no -W, just a diagnostic message, for which not so many options to supress exist. Or can you easily declare them on the cmdline to be imported somehow? Otherwise we'll have to decorate the src'es with DLLIMPORT. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ --------------080503030203040707060206 Content-Type: message/rfc822; name="[HACKERS] cygwin build failure" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="[HACKERS] cygwin build failure" X-Account-Key: account1 Return-path: Delivery-date: Sat, 06 Nov 2004 19:38:49 +0100 Received: from [213.229.60.33] (helo=smartmx-01.inode.at) by mailhub-01.inode.at with esmtp id 1CQVSb-0001cl-00; Sat, 06 Nov 2004 19:38:49 +0100 Envelope-to: ru AT x-ray DOT at Received: from [213.229.59.242] (port=53791 helo=mailcheck1.inode.at) by smartmx-01.inode.at with esmtp (Exim 4.30) id 1CQVSc-0000rS-SZ for ru AT x-ray DOT at; Sat, 06 Nov 2004 19:38:50 +0100 Received: from [213.229.60.33] (helo=smartmx-01.inode.at) by mailcheck1.inode.at with esmtp (Exim 4.10) id 1CQVSc-0002uE-00 for ru AT x-ray DOT at; Sat, 06 Nov 2004 19:38:50 +0100 Received: from [66.98.251.159] (port=3635 helo=svr4.postgresql.org) by smartmx-01.inode.at with esmtp (Exim 4.30) id 1CQVSc-0000qo-EF for rurban AT x-ray DOT at; Sat, 06 Nov 2004 19:38:50 +0100 Received: from postgresql.org (svr1.postgresql.org [200.46.204.71]) by svr4.postgresql.org (Postfix) with ESMTP id CE5755AF721; Sat, 6 Nov 2004 18:38:47 +0000 (GMT) X-Original-To: pgsql-hackers-postgresql DOT org AT localhost DOT postgresql DOT org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C2FF33A3E04 for ; Sat, 6 Nov 2004 18:35:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 26605-10 for ; Sat, 6 Nov 2004 18:35:32 +0000 (GMT) Received: from trolak.mydnsbox2.com (ns1.mydnsbox2.com [207.44.142.118]) by svr1.postgresql.org (Postfix) with ESMTP id 48CC53A4193 for ; Sat, 6 Nov 2004 18:35:32 +0000 (GMT) Received: from dunslane.net (cpe-024-211-141-025.nc.rr.com [24.211.141.25]) (authenticated (0 bits)) by trolak.mydnsbox2.com (8.11.6/8.11.6) with ESMTP id iA6Ifuh18090 for ; Sat, 6 Nov 2004 12:41:56 -0600 Message-ID: <418D1972 DOT 2090802 AT dunslane DOT net> Date: Sat, 06 Nov 2004 13:35:30 -0500 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 X-Accept-Language: en-us, en MIME-Version: 1.0 To: PostgreSQL-development Subject: [HACKERS] cygwin build failure Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner AT postgresql DOT org X-Inode-Forwarded: rurban AT x-ray DOT at X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *1CQVSc-0002uE-00*T2Hg6Mj5PMU* X-Inode-SpamScore: 0.0 As requested by Reini I set up a Cygwin buildfarm client, and immediately got this build failure: gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -g pg_dump.o common.o pg_dump_sort.o pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_files.o pg_backup_null.o pg_backup_tar.o dumputils.o ../../../src/backend/parser/keywords.o -L../../../src/interfaces/libpq -lpq -L../../../src/port -L/usr/local/lib -lpgport -lcrypt -o pg_dump.exe ../../../src/port/libpgport.a(pgstrcasecmp.o)(.text+0x1b0): In function `pg_tolower': /home/adunstan/pgbf/root/HEAD/pgsql.3200/src/port/pgstrcasecmp.c:119: multiple definition of `_pg_tolower' ../../../src/interfaces/libpq/libpq.a(dshcs00145.o)(.text+0x0): first defined here Info: resolving _optarg by linking to __imp__optarg (auto-import) Info: resolving _optind by linking to __imp__optind (auto-import) collect2: ld returned 1 exit status make[3]: *** [pg_dump] Error 1 see http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=gibbon&dt=2004-11-06%2018:11:58 (Is it possible to get rid of those Info lines?) cheers andrew ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend --------------080503030203040707060206 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------080503030203040707060206--