[ace-users] professor Schmidt, Would you give me some help for some ACE link error when i study it?
Douglas C. Schmidt
d.schmidt at vanderbilt.edu
Wed Jun 28 13:58:36 CDT 2017
> i'm a student from china, Would you give me some help, please.
Thanks very much for your email. Please make sure to send all questions
related to ACE to the appropriate mailing list or newsgroup, rather than
to me directly since I travel frequently and often don't have ready
access to email. See
for more info on how to access these resources.
In addition, to ensure that we have proper version/platform/compiler
information, please make sure you fill out the appropriate problem
report form (PRF), which is in
in older versions of ACE. Make sure to include this information when
asking any questions since otherwise we have to "guess" what
version/platform/compiler/options you've using, which is very
error-prone and slows down our responsiveness. If you don't use the
PRF, therefore, it is less likely that someone from the core developer
team will be able to answer your question. Naturally, we encourage and
appreciate other members of the ACE user community who can respond to
questions that they have the answers to.
Please note, moreover, that the DOC group at Vanderbilt University
only provides "best effort" support for non-sponsors who are using the
latest release, as described in
Therefore, please make sure you are using ACE 6.4.3, which you can
If you need more "predictable" help or need help for earlier versions of
ACE please see
for a list of companies that will provide you with ACE commercial
> * i compile ace like this:
> export ACE_ROOT=/DevelopPack/01.ACE_wrappers
> cd $ACE_ROOT/include/makeinclude
> ln -s platform_hpux_gcc.GNU platform_macros.GNU
> cd $ACE_ROOT
> ace/config.h: include "$(ACE_ROOT)/ace/config-hpux-11.00.h"
> ok, libACE.so in lib dir.
> * my test code like this:
> #include "ace/pre.h"
> #include "ace/ACE_export.h"
> #include <iostream>
> using namespace std;
> #include "ace/OS_NS_sys_stat.h"
> #include "ace/Date_Time.h"
> int main()
> #ifdef ACE_HAS_THREADS
> cout << 1 << endl;
> cout << 0 << endl;
> ACE_Date_Time datetime;
> cout << datetime.year() << "-" << datetime.month() << "-" << datetime.day
> () << endl;
> return 1;
> * i study ACE like this:
> 1. on Linux(Ubuntu) os: my code compile ok and it work.
> 2. on unix(hpux) os: some link error occured when i comile my code:
> ld: Unsatisfied symbol "ACE_Date_Time::day() const" in file
> ld: Unsatisfied symbol "ACE_Date_Time::year() const" in file /var/tmp//
> ld: Unsatisfied symbol "ACE_Date_Time::ACE_Date_Time()" in file /var/
> ld: Unsatisfied symbol "ACE_OS::mkdir(char const*, unsigned short)" in
> file /var/tmp//ccE4pM3K.o
> ld: Unsatisfied symbol "ACE_Date_Time::month() const" in file /var/tmp/
> 5 errors.
> collect2: ld returned 1 exit status
> Would you tell me, how can i fix this?
> Best Wishes!
More information about the ace-users