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 General > Duplicate Symbo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 15308 of 17602
Post > Topic >>

Duplicate Symbols - Compiler Warnings

by terry@[EMAIL PROTECTED] (Terry Lee Tucker) Apr 17, 2008 at 10:03 AM

Greetings:

We are converting from 7.4.19 to 8.3. While compiling our application
using 
version 8.3, I have noticed the following warning from the compiler when 
compiling perlAPI.c:

gcc -ggdb -Wall -Wmissing-prototypes -Wmissing-declarations -fforce-addr 
-DUNIX-DSTDERR_MSG  -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING 
-fno-strict-aliasing -pipe-I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  
-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE  -I/usr/X11R6/include 
-I/usr/local/pg83/include -I/usr/local/pg83/include/server 
-I/esc/logpro/4.0/pgrnd/prog -c utility/perlAPI.c
In file included 
from /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/perl.h:37,
                 from /esc/logpro/4.0/pgrnd/prog/utility/perlAPI.h:10,
                 from utility/perlAPI.c:11:
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/config.h:2183:1:
warning: 
"_"redefined
In file included from
/usr/local/pg83/include/postgresql/server/postgres.h:48,
                 from /esc/logpro/4.0/pgrnd/prog/logpro.h:35,
                 from /esc/logpro/4.0/pgrnd/prog/utility/perlAPI.h:8,
                 from utility/perlAPI.c:11:
/usr/local/pg83/include/postgresql/server/c.h:94:1: warning: this is the 
location of the previous definition

In config.h, the symbol in question on line 2183 is:
#define _(args) args

In c.h (postgres) the offending symbol on line 94 is:
#define _(x) gettext((x))

I expect this to cause random core dumps when putting the application into

production and it concerns me greatly. So, my question is, do you see this
as 
a serious problem and, if so, what shall I do to resolve it? By the way,
this 
problem does not exist when compiling with 7.4.19.

TIA
-- 
Terry Lee Tucker
Turbo's IT Manager
Turbo, division of Ozburn-Hessey Logistics
2251 Jesse Jewell Pkwy NE
Gainesville, GA 30501
Tel: (336) 372-6812  Fax: (336) 372-6812  Cell: (336) 404-6987
terry@[EMAIL PROTECTED]
 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 4 Posts in Topic:
Duplicate Symbols - Compiler Warnings
terry@[EMAIL PROTECTED]   2008-04-17 10:03:41 
Re: Duplicate Symbols - Compiler Warnings
terry@[EMAIL PROTECTED]   2008-04-17 17:33:40 
Re: Duplicate Symbols - Compiler Warnings
tgl@[EMAIL PROTECTED] (T  2008-04-17 19:32:56 
Re: Duplicate Symbols - Compiler Warnings
terry@[EMAIL PROTECTED]   2008-04-17 20:04:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Mon Dec 1 19:19:15 CST 2008.