[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


Hi,

>     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

http://www.dre.vanderbilt.edu/~schmidt/ACE-mail.html

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

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

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

http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html

Therefore, please make sure you are using ACE 6.4.3, which you can
download from

http://download.dre.vanderbilt.edu

If you need more "predictable" help or need help for earlier versions of
ACE please see

http://www.dre.vanderbilt.edu/support.html

for a list of companies that will provide you with ACE commercial
support.

Thanks,

        Doug


> 
>   * 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"
> 
>     gmake
> 
>     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;
>     #else
>        cout << 0 << endl;
>     #endif
> 
>       ACE_OS::mkdir("./aaaaaaaaaa");
>       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
> /var/tmp//ccE4pM3K.o
> 
> 
>         ld: Unsatisfied symbol "ACE_Date_Time::year() const" in file /var/tmp//
>         ccE4pM3K.o
> 
>         ld: Unsatisfied symbol "ACE_Date_Time::ACE_Date_Time()" in file /var/
>         tmp//ccE4pM3K.o
> 
>         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/
>         /ccE4pM3K.o
> 
>         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 mailing list