contrib/ compile warnings

Started by Neil Conwayover 21 years ago3 messages
#1Neil Conway
neilc@samurai.com

I see the following on this machine: (OSX 10.3.4, gcc 3.3)

[neilc:/Users/neilc/build-pgsql/contrib]% make -s all
ld: warning multiple definitions of symbol _nextval
pending.o definition of _nextval in section (__TEXT,__text)
../../src/backend/postgres definition of _nextval
ld: warning multiple definitions of symbol _setval
pending.o definition of _setval in section (__TEXT,__text)
../../src/backend/postgres definition of _setval
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:3: warning:
`pow_tab' defined but not used
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:22: warning:
`log_tab' defined but not used
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:41: warning:
`sbx_tab' defined but not used
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:60: warning:
`isb_tab' defined but not used

-Neil

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#1)
Re: contrib/ compile warnings

Neil Conway <neilc@samurai.com> writes:

I see the following on this machine: (OSX 10.3.4, gcc 3.3)

Interesting. There are no warnings in contrib at all on my machines
(probably could duplicate the OS X failure on my laptop, but no time
today). Any theories why this would be platform-specific?

regards, tom lane

#3Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Neil Conway (#1)
Re: contrib/ compile warnings

Strange, compiled here fine.

---------------------------------------------------------------------------

Neil Conway wrote:

I see the following on this machine: (OSX 10.3.4, gcc 3.3)

[neilc:/Users/neilc/build-pgsql/contrib]% make -s all
ld: warning multiple definitions of symbol _nextval
pending.o definition of _nextval in section (__TEXT,__text)
../../src/backend/postgres definition of _nextval
ld: warning multiple definitions of symbol _setval
pending.o definition of _setval in section (__TEXT,__text)
../../src/backend/postgres definition of _setval
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:3: warning:
`pow_tab' defined but not used
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:22: warning:
`log_tab' defined but not used
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:41: warning:
`sbx_tab' defined but not used
/Users/neilc/pgsql/contrib/pgcrypto/rijndael.tbl:60: warning:
`isb_tab' defined but not used

-Neil

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

-- 
  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