[ace-users] ACE+TAO Build Problem

Douglas C. Schmidt d.schmidt at vanderbilt.edu
Sat Feb 10 16:16:00 CST 2018

Hi Bob,

> Dr  Schmidt, you appear to the be the defacto expert on all things ACE+TAO.

Thanks very much for your email.  Please make sure to send all questions
related to ACE+TAO mailing list or newsgroup, rather than to me directly
since I travel frequently and often don't have ready access to email.


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


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+TAO user community who can respond to questions that they have the
answers to.

If you need more "predictable" help ACE+TAO please see


for a list of companies that will provide you with ACE+TAO commercial



> I am trying to do a build from source on a Ubuntu 16.04 64-bit distribution,
> and am failing the build during the make process.  I want only support for
> the TAO library for development, so presumably not all of the ACE libraries.
> There are no .deb files for ACE or TAO that I am aware of already bundled that
> are the current version/release.
> I am hoping you can point in the correct direction with your knowledge of the
> system and build process.  The build issue is with one of the test files.
> Attached is my script file setEnv.sh to set the build environment which results
> are
> described below.
> My intention longer term is to set rpath=0 for the build and place the
> libraries into thesame folders as the Ubuntu distribution of ACE with a base
> folder of
> /usr,   The official Ubuntu .deb uses this base folder for all libraries, but
> I am not using the older libace-dev.deb and libace-6.3.3.because it is not the
> most recent version, and there is no official libtao-dev.deb for this version
> of Ubuntu.
> I am hoping you can point me in the right direction.  There is a description of
> this build issue on stack overflow.  I updated by version of gperf to 3.1, did
> a "make clean" followed by a make with the same result.
> https://stackoverflow.com/questions/34468126/
> why-am-i-getting-an-undefined-reference-in-this-c-code
> Note that a build of the ACE libraries from within the ACE folder seems to
> work, and I do have a generated shared library as libACE.so.6.4.6 as well as a
> symbolic link as libACE.so.
> -------------------------------
> GNUmakefile: /home/girduser/ACE_wrappers/apps/gperf/GNUmakefile.gperf_docs
> make[1]: Leaving directory '/home/girduser/ACE_wrappers/apps/gperf'
> make[1]: Entering directory '/home/girduser/ACE_wrappers/apps/gperf/src'
> GNUmakefile: /home/girduser/ACE_wrappers/apps/gperf/src/GNUmakefile.gperf
> make[1]: Leaving directory '/home/girduser/ACE_wrappers/apps/gperf/src'
> make[1]: Entering directory '/home/girduser/ACE_wrappers/apps/gperf/tests'
> GNUmakefile: /home/girduser/ACE_wrappers/apps/gperf/tests/GNUmakefile.m3inset
> g++ -fvisibility=hidden -fvisibility-inlines-hidden -Wnon-virtual-dtor -O3
> -ggdb -pthread -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe
> -D_GNU_SOURCE   -I/home/girduser/ACE_wrappers -D__ACE_INLINE__ -I../../.. 
> -Wl,-E -L/home/girduser/ACE_wrappers/lib -L.  -L../../../lib  -Wl,-rpath,/usr/
> lib -Wl,--enable-new-dtags -o m3out .obj/modula3.o .obj/test.o -lACE -ldl -lrt
> .obj/test.o: In function `main':
> /home/girduser/ACE_wrappers/apps/gperf/tests/test.cpp:24: undefined reference
> to `in_word_set(char const*, unsigned int)'
> /home/girduser/ACE_wrappers/apps/gperf/tests/test.cpp:24: undefined reference
> to `in_word_set(char const*, unsigned int)'
> collect2: error: ld returned 1 exit status
> GNUmakefile.m3inset:196: recipe for target 'm3out' failed
> make[1]: *** [m3out] Error 1
> make[1]: Leaving directory '/home/girduser/ACE_wrappers/apps/gperf/tests'
> GNUmakefile:1238: recipe for target 'm3inset' failed
> make: *** [m3inset] Error 2

More information about the ace-users mailing list