[ace-users] ACE+TAO Build Problem

Adam Mitz mitza at objectcomputing.com
Mon Feb 12 09:13:21 CST 2018


Hi Bob,

On 2/10/2018 4:16 PM, Douglas C. Schmidt wrote:
>> 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.
>> [...]
>> GNUmakefile: /home/girduser/ACE_wrappers/apps/gperf/tests/GNUmakefile.m3inset
>> MAKEFLAGS=w
>>
>> 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

Since you are interested in using TAO, you can skip building gperf's tests.
$ACE_ROOT/bin/mwc.pl -type gnuace $TAO_ROOT/TAO_ACE.mwc
cd $TAO_ROOT
make

Thanks,
Adam Mitz
Principal Software Engineer
Object Computing, Inc.


More information about the ace-users mailing list