From: | Reini Urban <rurban(at)x-ray(dot)at> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: cygwin build failure |
Date: | 2004-11-07 16:28:54 |
Message-ID: | 418E4D46.3040408@x-ray.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Reini Urban schrieb:
> Tom Lane schrieb:
>
>> Dunno about the optarg business; it sounds like a DLLIMPORT is needed
>> someplace, but maybe that is a bug in the Cygwin headers rather than
>> our bug?
>
>
> No, that's no bug, just diagnostic messages with the new linker.
>
> >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
> ...
> >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
>
> I'll check how to get rid of that if you want to get rid of it without
> grep -v :)
> But I don't think that is is easily possible to turn off these purely
> diagnostic messages, without cluttering the source with those
> __DLL_IMPORT declarations.
> And I found no easy ld cmdline override solution. But I'll backcheck.
ok, i'm sure now.
there's no way to ignore those diagnostics on the ld side.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Hallgren | 2004-11-07 16:50:07 | Re: pgxs under Win32 for PL/Java |
Previous Message | Dennis Bjorklund | 2004-11-07 15:20:24 | Re: adding and compiling new code |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Hallgren | 2004-11-07 16:50:07 | Re: pgxs under Win32 for PL/Java |
Previous Message | Alin Vaida | 2004-11-07 15:47:34 | New translation for 8.0: Romanian |