Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 10:25 PM
тАО02-18-2007 10:25 PM
Query
We are using QT 3.3.7 on the HP-UX server 11i and the compiler version
is aCC: HP ANSI C++ B3910B A.03.70 when we compiled , using aCC and
without -w option, the compilation shows warning messages for some of
the files as "# External symbol too long, truncated from 4308 to 4000 Bytes,"
How we can overcome these warnings?
I think due to these warning, wer are getting the error of "ld:
Unsatisfied symbol" in linking with those files.
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 10:49 PM
тАО02-18-2007 10:49 PM
Re: Query
and welcoem to the forums !
are you compiling with or without optimisation (-O) ? Try it with optimisation.
If you are using debug option, please switch that off as well.
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 11:48 PM
тАО02-18-2007 11:48 PM
Re: Query
The -O option is already there, and we didn't added any debug (-g) options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 02:48 PM
тАО02-19-2007 02:48 PM
Re: Query
You ignore them. You can use +W### where ### is the message number.
- Tags:
- suppress warnings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 08:32 PM
тАО02-19-2007 08:32 PM
Re: Query
I tried out the compilation by giving the +W### option ,well the warning's got suppressed and still we are getting the same "unSatisfied symbols" error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 08:51 PM
тАО02-19-2007 08:51 PM
Re: Query
Of course, these are completely unrelated.
You need to give some examples of your unsat error messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 09:04 PM
тАО02-19-2007 09:04 PM
Re: Query
This is the error I got when compiling
aCC -AA -Aa +DAportable -Wl,+s -O -Wl,+b,/usr/local/qt/32/lib -O -Wl,+b,/usr/local/qt/32/lib -o ../bin/2dPatRec_cmd ../obj/2dPatRec.o ../obj/Configuration.o ../obj/Controller.o ../obj/Erro
r.o ../obj/DataLoader.o ../obj/DataLoaderAlio.o ../obj/DataLoaderBma.o ../obj/DataLoaderEff.o ../obj/DataLoaderWrk.o ../obj/DataLoaderCp.o ../obj/DataLogger.o ../obj/DataLoggerAlio.o ../obj/D
ataLoggerBma.o ../obj/DataLoggerBmaoth.o ../obj/DataLoggerBmaout.o ../obj/DataLoggerBmasout.o ../obj/DataLoggerBmawaf.o ../obj/DataLoggerClr.o ../obj/DataLoggerOldClr.o ../obj/DataLoggerClr2.o
../obj/DataLoggerCpr.o ../obj/DataLoggerCpr2.o ../obj/DataLoggerCpl.o ../obj/DataLoggerEff.o ../obj/DataLoggerWrk.o ../obj/FAMatchFunctions.o ../obj/Functions.o ../obj/Grid.o ../obj/Level0Cat
Definition.o ../obj/Level0CatLog.o ../obj/Level0DataSet.o ../obj/MatchFunctions.o ../obj/StructDefs.o ../obj/matchrule_lex.o ../obj/matchrule_tab.o -L/usr/local/qt/32/lib -L/usr/lib/X11R6 -lm
-lqt-mt -lXext -lX11 -lSM -lICE
/usr/ccs/bin/ld: Unsatisfied symbols:
loginName() (first referenced in ../obj/Controller.o) (code)
DataLoaderBvf::setChipList(const QStringList &) (first referenced in ../obj/Controller.o) (code)
checkLicense(const char *,const char *,const char *) (first referenced in ../obj/2dPatRec.o) (code)
typeid*
DataLoggerAprc::DataLoggerAprc(const std::basic_string
eferenced in ../obj/Controller.o) (code)
DataLoaderBvf::DataLoaderBvf(const std::basic_string
ed in ../obj/Controller.o) (code)
DataOp::ByteDataUncompress(unsigned short *,long,long &) (first referenced in ../obj/Level0CatLog.o) (code)
Database::Database(const DBUrl &) (first referenced in ../obj/Controller.o) (code)
Database::Entry::Val(const QString &,bool *) const (first referenced in ../obj/Controller.o) (code)
alloca (first referenced in ../obj/matchrule_tab.o) (code)
DataOp::DataOp()%1 (first referenced in ../obj/Level0CatLog.o) (code)
DBUrl::fromString(const QString &) (first referenced in ../obj/Controller.o) (code)
DataOp::~DataOp() (first referenced in ../obj/Level0CatLog.o) (code)
*** Error exit code 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 03:33 PM
тАО02-20-2007 03:33 PM
Re: Query
(Well, really during linking.)
>-AA -Aa
If you have -AA, you don't need -Aa.
>-lqt-mt
Did you want a space there? (-mt is also an option.)
>/usr/ccs/bin/ld: Unsatisfied symbols:
loginName() Controller.o)
DataLoaderBvf::setChipList(const QStringList &) (Controller.o)
checkLicense(const char*,const char*,const char*) (2dPatRec.o)
Basically, where do you think these should be defined?? Did you forget an object file or lib on the link line?
Your libs are after your objects, good. You could have an archive lib ordering problem. You can solve this by adding -Wl,+n.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 05:26 PM
тАО02-20-2007 05:26 PM
Re: Query
-lqt-mt is the single option,there is no space between -lqt-mt.
I tried by compiling with the -lqt option alone but at that point it will give some error like
/usr/ccs/bin/ld: Can't find library: "qt"
But all the paths regarding QT is correctly configured only, could you please suggest some solutions for this error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 05:48 PM
тАО02-20-2007 05:48 PM
Re: Query
I did. Try -Wl,+n. If that doesn't help you will have to scan your source for definitions of those functions and find out why they aren't being compiled.
I assume you know you can't mix aC++ and g++ sources and will get unsats like this?