public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Gcc 32-bits or 64-bits
@ 2001-11-18 18:16 Gerardo Javier Oliva Galvan
  2001-11-18 18:40 ` Gerardo Javier Oliva Galvan
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Gerardo Javier Oliva Galvan @ 2001-11-18 18:16 UTC (permalink / raw)
  To: gcc, gcc

Hi
Usually i ran gcc generated on HP-UX porting center (hpux.cs.utah.edu, or its mirrors).

People of our staff ran into a problem because he get an error like this:

*************************************************************************************
        g++ -DANSI -I/inc21_ora01/app/oracle/product/9.0.1/precomp/public -c tt.trans.cpp
In file included from tt.trans.cpp:22:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28: warning: `__va__list'
redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the
location of the previ
ous definition
        g++ -DANSI -I/inc21_ora01/app/oracle/product/9.0.1/precomp/public -c tt.cpp
In file included from tt.cpp:21:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: `__va__list'
redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26: warning: this is the
location of the prev
ious definition
In file included from tt.cpp:22:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28: warning: `__va__list'
redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the
location of the previ
ous definition
In file included from tt.cpp:20:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:51: warning: declaration of
`int memcmp(const
 void *, const void *, long unsigned int)'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:51: warning: conflicts with
built-in declarat
ion `int memcmp(const void *, const void *, unsigned int)'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:116: warning: declaration of
`void * memcpy(v
oid *, const void *, long unsigned int)'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:116: warning: conflicts with
built-in declara
tion `void * memcpy(void *, const void *, unsigned int)'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:133: warning: declaration of
`size_t strlen(c
onst char *)'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:133: warning: conflicts with
built-in declara
tion `unsigned int strlen(const char *)'
        g++ -o tt.trans tt.trans.o tt.o -lenvironment -lfileaudit -lvaf -L/inc21_home/ltelco/lib
-L/inc21_ora01/
app/oracle/product/9.0.1/lib/ -lclntsh `cat /inc21_ora01/app/oracle/product/9.0.1/lib/ldflags`  
`cat /inc21_ora
01/app/oracle/product/9.0.1/lib/sysliblist`  -lm  -lpthread -lpthread
/usr/bin/ld: /inc21_ora01/app/oracle/product/9.0.1/lib//libclntsh.sl: Mismatched ABI. 64-bit PA
shared library f
ound in 32-bit link.
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.

*************************************************************************************

Since i'm the sysadmin have to investigate several posibilities.
We were using gcc 3.0.1 and downgraded to 2.95.3

One posibility is a mix of 32-bit/64-bit software.

My boss is bugging me to see if the compiler is compiled for 32-bit or 64-bit environment. 

Is this possible? is there a way to know how the compiler is running?
In your experience have you seen this kind of problem?
We opened a call with oracle , they have a week on this and i wan to finis them all.

Regards from Mexico

Blessings

Gerardo Oliva



=====
Salu2 y que Dios te bendiga
Gerardo

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-11-27 17:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-18 18:16 Gcc 32-bits or 64-bits Gerardo Javier Oliva Galvan
2001-11-18 18:40 ` Gerardo Javier Oliva Galvan
2001-11-18 21:16 ` Jack Cummings
2001-11-18 22:02   ` Jack Cummings
2001-11-19  1:54   ` Gerardo Javier Oliva Galvan
2001-11-19  2:55     ` Gerardo Javier Oliva Galvan
2001-11-27  9:49     ` Gerardo Javier Oliva Galvan
2001-11-27  9:37   ` Jack Cummings
2001-11-27  9:06 ` Gerardo Javier Oliva Galvan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).