Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > BUG #4016: Buil...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3577 of 4193
Post > Topic >>

BUG #4016: Build fails in ecpglib on file extern.h

by samuel.gilbert@[EMAIL PROTECTED] ("Samuel Gilbert") Mar 6, 2008 at 08:01 PM

The following bug has been logged online:

Bug reference:      4016
Logged by:          Samuel Gilbert
Email address:      samuel.gilbert@[EMAIL PROTECTED]
 version: 8.3.0
Operating system:   Debian GNU/Linux Etch x86_64
Description:        Build fails in ecpglib on file extern.h
Details: 

I tried to build 8.3.0 on Debian GNU/Linux Etch x86_64 with the following
configure options :

../configure --prefix=/data/aq_ops/software/x86_64 --enable-thread-safety
--with-pg****t=5433 --with-tcl --with-perl --with-python --with-pam
--with-ldap --with-openssl --with-libxml --with-libxslt

Most of the build process works correctly until it gets to
postgresql-8.3.0/src/interfaces/ecpg/ecpglib.  It then fails while trying
to
compile extern.h.  Here is the output :

make[4]: Entering directory
`/data/aq_ops/software/src/postgresql-8.3.0/src/interfaces/ecpg/ecpglib'
gcc -march=opteron -mfpmath=sse -fomit-frame-pointer -Wall -pipe -O2
-I/data/odysseus/afsudev/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -pthread  -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -fpic -I../include
-I../../../../src/interfaces/ecpg/include
-I../../../../src/interfaces/libpq
-I../../../../src/****t -I../../../../src/include -D_GNU_SOURCE
-I/usr/include/libxml2   -c -o execute.o execute.c
In file included from execute.c:26:
extern.h:55: error: field 'statement_type' has incomplete type
execute.c: In function 'ecpg_execute':
execute.c:1277: error: 'ECPGst_execute' undeclared (first use in this
function)
execute.c:1277: error: (Each undeclared identifier is re****ted only once
execute.c:1277: error: for each function it appears in.)
execute.c: At top level:
execute.c:1428: error: conflicting types for 'ECPGdo'
/data/odysseus/afsudev/usr/include/ecpglib.h:47: error: previous
declaration
of 'ECPGdo' was here
execute.c: In function 'ECPGdo':
execute.c:1436: error: variable 'statement_type' has initializer but
incomplete type
execute.c:1436: error: conversion to incomplete type
execute.c:1436: error: storage size of 'statement_type' isn't known
execute.c:1490: error: 'ECPGst_prepnormal' undeclared (first use in this
function)
execute.c:1500: error: 'ECPGst_execute' undeclared (first use in this
function)
execute.c:1436: warning: unused variable 'statement_type'
make[4]: *** [execute.o] Error 1

--
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://mail.postgresql.org/mj/mj_wwwusr?domain=postgresql.org&extra=pgsql-bugs
 




 2 Posts in Topic:
BUG #4016: Build fails in ecpglib on file extern.h
samuel.gilbert@[EMAIL PRO  2008-03-06 20:01:49 
Re: BUG #4016: Build fails in ecpglib on file extern.h
tgl@[EMAIL PROTECTED] (T  2008-03-06 16:43:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 11:01:50 CST 2008.