URGENT-Linker error-64bitcompilation(solaris5.7)



Hi Rahul,

I have already set the -xarch to v9 option in my cflags, have also set
the Cruntime library option to -lCstd
and in LD_LIBRARY_PATH as well as LD_LIBRARY_PATH64 have included the
path where libiostream.a is. but have included from SUnWspro-v6N1
instead of from V7N1
ie version 7.0 since compiling with the library from V7N1 gives me
another linker error which says this


The following argument files were compiled -K pic ::
/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(stdexcept.o)
/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(ios.o)
/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(ostream.o)
/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(char.o)
/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(charby.o)
/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(locale.o)
/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(vendor.o)
/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(wchar.o)
/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(2yi5kEpmEtUw_3Zz13e2.o)

/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(p5sENCGtegVU0sKcQaPp.o)

/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(8kues3QDCWMzncWm35iB.o)

/depot/SUNWspro-V7N1/SUNWspro/WS6/lib/v9//libCstd.a(lT5BlM90_H8LTBAJRTrt.o)
/
ild: global offset table too big for addressing mode of -K pic compiled
files; these should be recompiled with-K PIC or with neither
option
make: ***  Error 1

I am still getting the errors since I am using libraries from V6N1
What should I do? any suggestions.

Thanks again,
Radhika





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]