ACE VERSION: 5.6.8
HOST MACHINE and OPERATING SYSTEM:
Intel(R) Core(TM)2 Du0 CPU
Fedora 11
Linux Kernel 2.6.29.4-167.fc11.x86-64
GNOME 2.26.1
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL):
g++ ( GCC ) 4.4.0 20050506 ( Red Hat 4.4.0-4 )
THE $ACE_ROOT/ace/config.h FILE
# include "ace/config-linux.h"
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
BUILD METHOD USED:
[Experimental ./configure or traditional makefile/project file?]
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
AREA/CLASS/EXAMPLE AFFECTED:
[What example failed? What module failed to compile?]
DOES THE PROBLEM AFFECT:
Linking : Cann't perform ACE library building
SYNOPSIS:
libACE.so library building fail .
DESCRIPTION:
Hello!
I am trying to build ACE in Linux environment . I haven't experience working with Linux before.
Then I followed the instruction "Building and installing ACE and its Auxiliary Libraries and Services" ,
chapter "Building and Installing ACE on Unix" , part 2 "Traditional ACE/GNU MAKE Configuration"
After running make command all files were compiled without errors:
For example:
g++ -fvisibility=hidden -fvisibility-inline-hidden -W -Wall -Wpointer-arith -O3 -ggdb -pipe -D_REENTRANT
-DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/home/dp17486/Projects/ACE_Wrapper -DACE_HAS_EXCEPTIONS -D__ACE_INLINE -I.. -DACE_BUILD_DLL -c -fPic -o .shobj/Task.o Task.cpp
After that process start to build library
g++ -Wl,-O3 -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/home/dp17486/workspace/ACE/ACE_5_6_8/ACE_wrappers
-DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I.. -DACE_BUILD_DLL -shared -Wl,-h -Wl,libACE.so.5.6.8 -o libACE.so.5.6.8
.shobj/Local_Name_Space.o .shobj/Name_Proxy.o
.shobj/Name_Request_Reply.o
………….
List of all objects
………..
-Wl,-E -L../lib -L. -L../lib -ldl -lpthread -lrt rm -f libACE.so
/home/dp17486/workspace/ACE/ACE_5_6_8/ACE_wrappers/bin/add_rel_link.sh libACE.so.5.6.8 libACE.so
make[1]: /home/dp17486/workspace/ACE/ACE_5_6_8/ACE_wrappers/bin/add_rel_link.sh: Command not found
make[1]: [libACE.so.5.6.8] Error 127 (ignored)
chmod a+rx libACE.so.5.6.8
Installing libACE.so -> ../lib
/bin/sh: /home/dp17486/workspace/ACE/ACE_5_6_8/ACE_wrappers/bin/add_rel_link.sh: /bin/sh^M: bad interpreter: No such file or directory
Installing libACE.so.5.6.8 -> ../lib
/bin/sh: /home/dp17486/workspace/ACE/ACE_5_6_8/ACE_wrappers/bin/add_rel_link.sh: /bin/sh^M: bad interpreter: No such file or directory
make[1]: *** [../lib/libACE.so.5.6.8] Error 126
make[1]: Leaving directory `/home/dp17486/workspace/ACE/ACE_5_6_8/ACE_wrappers/ace'
make: *** [ACE] Error 2
Here I receive errors that I cann't understand. The system has problem to run add_rel_link.sh script.
In additions as I understand in this step of the building file libACE.so.5.6.8 should be created on the disk. I cann't find it too.
1. What is wrong during building or in my environment ?
2. What I need to change to build static library ?
Thanks
Alexander Kordonsky
Senior Software Engineer
Elbit Systems Group
e-mail : alexander...@elbitsystems.com
tel : 972-4-831-6229
mobile: 972-54-999-6229
I think you downloaded the .zip package, use the .gz/.bz2 version. This
seems a linefeed problem.
Johnny
> .............
> List of all objects
> ...........
> _______________________________________________
> ace-users mailing list
> ace-...@list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/ace-users