HOST MACHINE and OPERATING SYSTEM:
LFS machine with Linux kernel 2.4.10
gcc version 2.95.3 20010315 (release)
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL):
CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform-
specific file, simply state which one]:
#include "ace/config-linux.h"
CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless
this isn't used in this case, e.g., with Microsoft Visual C++):
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
// $Id$
// This is an automatically generated file.
ssl=0
qos=1
cidl=0
rwho=0
sctp=0
AREA/CLASS/EXAMPLE AFFECTED:
GNUmakefile: /usr/local/ACE_wrappers/apps/gperf/tests/GNUmakefile.cppinset
MAKEFLAGS=w
g++ -W -Wall -Wpointer-arith -O3 -g -pipe -D_REENTRANT -DACE_HAS_AIO_CALLS
-D_GNU_SOURCE -I/usr/local/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__
-I../../.. -Wl,-E -L/usr/local/ACE_wrappers/ace -L./ -L../../../lib -o cppout
.obj/test.o .obj/cpp.o -lACE -ldl -lpthread -lrt
.obj/test.o: In function `main':
/usr/local/ACE_wrappers/apps/gperf/tests/test.cpp:28: undefined reference to
`in_word_set(char const *, unsigned int)'
collect2: ld returned 1 exit status
make[4]: *** [cppout] Error 1
make[4]: Leaving directory `/usr/local/ACE_wrappers/apps/gperf/tests'
DOES THE PROBLEM AFFECT:
LINKING.
On Unix systems, did you run make realclean first? No because this
was from a fresh untar of the distribution.
[Please indicate whether ACE, your application, or both are affected.]
SYNOPSIS:
[Brief description of the problem]
see above
DESCRIPTION:
[Detailed description of problem. Don't just say "<blah>
doesn't work, here's a fix," explain what your program does
to get to the <blah> state. ]
build of gperf tests fails
REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible. ]
untar and build ace/tao
SAMPLE FIX/WORKAROUND:
[If available ]
Steve Prior 写道:
Thanks for responding, but it already was.
Here are my build notes:
export TAO_ROOT=/usr/local/ACE_wrappers/TAO
export ACE_ROOT=/usr/local/ACE_wrappers
Create a configuration file, $ACE_ROOT/ace/config.h, that includes the
appropriate platform/compiler-specific header configuration from the ACE source
directory:
#include "ace/config-linux.h"
Create a build configuration file,
$ACE_ROOT/include/makeinclude/platform_macros.GNU, that contains the
platform/compiler-specific Makefile configurations:
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
export LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib
cd $ACE_ROOT
make
cd TAO
make
Steve