Re: Global variables not getting initialised in vac 8 xlC compiler
- From: Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 14:17:15 -0700
"Mukundan N" <mukundan.narayanan@xxxxxxxxx> writes:
I tried xlC -o mystring mystring.cpp
This works on vac 7 compiler... however on vac 8, it throws the
following errors while linking
--------------
$ xlC -o mystring mystring.cpp
ld: 0711-317 ERROR: Undefined symbol: .__dl__FPv
ld: 0711-317 ERROR: Undefined symbol: __dl__FPv
.... lots more of libC.a functions ...
I think your installation of xlCv8 is corrupt.
You may want to check your /etc/vac.cfg. It should have xlC section
which looks like this:
xlC: use = DEFLT
crt = /lib/crt0.o
mcrt = /lib/mcrt0.o
gcrt = /lib/gcrt0.o
xlC = /usr/vacpp/bin/xlC
libraries2 = -L/usr/vac/lib,-lxlopt,-L/usr/vacpp/lib,-lC,-lm,-lc
proflibs = -L/usr/vacpp/lib/profiled,-L/lib/profiled,-L/usr/lib/profiled
hdlibs = -L/usr/vac/lib,-lhC,-lhmd
options = -qalias=ansi
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
You may want to add -bnoquiet as well, and check which (if any)
libC.a it actually loads.
Paul Pluzhnikov wrote:
"Mukundan N" <mukundan.narayanan@xxxxxxxxx> writes:
Please do not top-post.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.
- References:
- Global variables not getting initialised in vac 8 xlC compiler
- From: Mukundan N
- Re: Global variables not getting initialised in vac 8 xlC compiler
- From: Paul Pluzhnikov
- Re: Global variables not getting initialised in vac 8 xlC compiler
- From: Mukundan N
- Global variables not getting initialised in vac 8 xlC compiler
- Prev by Date: Re: I have sinned, need a guru, not a priest.
- Next by Date: Re: Computer specs I would like.
- Previous by thread: Re: Global variables not getting initialised in vac 8 xlC compiler
- Next by thread: what is /proc
- Index(es):
Relevant Pages
|
|