7.0beta1: bugs appearing on cygwin - Mailing list pgsql-bugs
From | Marko Kreen |
---|---|
Subject | 7.0beta1: bugs appearing on cygwin |
Date | |
Msg-id | 20000228134124.G30339@l-t.ee Whole thread Raw |
Responses |
Re: [BUGS] 7.0beta1: bugs appearing on cygwin
|
List | pgsql-bugs |
----- Forwarded message from owner-bugs@postgreSQL.org ----- From: owner-bugs@postgreSQL.org Date: Mon, 28 Feb 2000 06:08:12 -0500 (EST) To: owner-bugs@postgreSQL.org, marko@l-t.ee Subject: BOUNCE pgsql-bugs@postgreSQL.org: Non-member submission from [Marko Kreen <marko@l-t.ee>] From: Marko Kreen <marko@l-t.ee> To: pgsql-bugs@postgresql.org Subject: 7.0beta1: bugs appearing on cygwin ============================================================================ POSTGRESQL BUG REPORT TEMPLATE ============================================================================ Your name : Marko Kreen Your email address : marko@l-t.ee System Configuration --------------------- Architecture (example: Intel Pentium) : Intel Pentium 100 Operating System (example: Linux 2.0.26 ELF) : winnt4/cygwin 20.1 PostgreSQL version (example: PostgreSQL-6.5.2): PostgreSQL-7.0beta1 Compiler used (example: gcc 2.8.0) : egcs-2.91.57 (cygwin default) Please enter a FULL description of your problem: ------------------------------------------------ 1) ecpg does not honour HAVE_SNPRINTF being undefined. make fails :( ---- gcc -o ecpg preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o keywords.o c_keywords.o ../lib/typename.o descriptor.ovariable. -L/usr/local/lib -lcrypt -lm -lreadline -ltermcap -lncurses -lcygipc -g descriptor.o: In function `ECPGnumeric_lvalue': /home/src/pgsql/src/interfaces/ecpg/preproc/descriptor.c:55: undefined reference to `snprintf' descriptor.o: In function `ECPGstring_buffer': /home/src/pgsql/src/interfaces/ecpg/preproc/descriptor.c:78: undefined reference to `snprintf' descriptor.o: In function `ECPGstring_length': /home/src/pgsql/src/interfaces/ecpg/preproc/descriptor.c:94: undefined reference to `snprintf' /home/src/pgsql/src/interfaces/ecpg/preproc/descriptor.c:101: undefined reference to `snprintf' descriptor.o: In function `ECPGdata_assignment': /home/src/pgsql/src/interfaces/ecpg/preproc/descriptor.c:152: undefined reference to `snprintf' descriptor.o:/home/src/pgsql/src/interfaces/ecpg/preproc/descriptor.c:165: more undefined references to `snprintf' follow collect2: ld returned 1 exit status make[3]: *** [ecpg] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 ---- 2) gcc warns about redefine of CURRENT_TIME. Nothing serious (I mean the compile does not fail..), I just thought I mention. defined in backend/parse.h & <sys/ipc.h> (cygwin32_ipc-1.03) ok, I chacked. In different .c files they are included in different order. ipc.h: #define CURRENT_TIME time(0) parse.h: #define CURRENT_TIME 287 How it affects the program, I do not know. Maybe this is serious... Please describe a way to repeat the problem. Please try to provide a concise reproducible example, if at all possible: ---------------------------------------------------------------------- snoopy$ uname -a CYGWIN_NT-4.0 SNOOPY 20.1 (0.3/1/1) 1998-12-3 20:39:18 i586 unknown snoopy$ make If you know how this problem might be fixed, list the solution below: --------------------------------------------------------------------- Somebody with a clue should look into it. ----- End forwarded message ----- <offtopic> <!-- well, you can ignore it --> Is this really the Right Thing(tm) to have bug-reporting list available only to subscribers? I mean it should be encouraged to be on list but enforced? There should be decent anti-spam software floating around? </offtopic>
pgsql-bugs by date: