HEAD compile troubles
Kind people,
I just tried to compile HEAD on fedora, and it broke as per <http://rafb.net/paste/results/W1942548.html>
More info...
uname -a
Linux fetter.org 2.4.22-1.2166.nptl #1 Fri Jan 30 13:48:31 EST 2004 i686 i686 i386 GNU/Linux
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 9
cpu MHz : 3006.892
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips : 6003.09
Any ideas what i buggered up?
Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778
Remember to vote!
David Fetter <david@fetter.org> writes:
Kind people,
I just tried to compile HEAD on fedora, and it broke as per <http://rafb.net/paste/results/W1942548.html>
Looks to me like someone got confused about ifdef ENABLE_THREAD_SAFETY
versus ifdef USE_SSL ... too tired to figure it out exactly though ...
regards, tom lane
David Fetter wrote:
Kind people,
I just tried to compile HEAD on fedora, and it broke as per <http://rafb.net/paste/results/W1942548.html>
Any ideas what i buggered up?
Fixed. Not sure why I didn't see the problem because I do compile with
SSL. Anyway, patch attached and applied.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachments:
/bjm/difftext/plainDownload
Index: src/interfaces/libpq/libpq-int.h
===================================================================
RCS file: /cvsroot/pgsql-server/src/interfaces/libpq/libpq-int.h,v
retrieving revision 1.86
diff -c -c -r1.86 libpq-int.h
*** src/interfaces/libpq/libpq-int.h 24 Mar 2004 03:45:00 -0000 1.86
--- src/interfaces/libpq/libpq-int.h 25 Mar 2004 21:47:54 -0000
***************
*** 458,463 ****
--- 458,466 ----
#ifdef ENABLE_THREAD_SAFETY
extern void check_sigpipe_handler(void);
extern pthread_key_t thread_in_send;
+ #endif
+
+ #ifdef USE_SSL
extern bool pq_initssllib;
#endif
On Thu, Mar 25, 2004 at 04:48:59PM -0500, Bruce Momjian wrote:
David Fetter wrote:
Kind people,
I just tried to compile HEAD on fedora, and it broke as per
<http://rafb.net/paste/results/W1942548.html>Any ideas what i buggered up?
Fixed. Not sure why I didn't see the problem because I do compile
with SSL. Anyway, patch attached and applied.
Thanks!
Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778
Remember to vote!