- **status**: review --> fixed
- **Comment**:

default(5.2) :

changeset:   8437:1a479e952a20
tag:         tip
user:        Zoran Milinkovic <[email protected]>
date:        Thu Dec 08 16:42:57 2016 +0100
summary:     build: add top build directory to include path [#2221]




---

** [tickets:#2221] build: OpenSAF fails to build outside the source tree**

**Status:** fixed
**Milestone:** 5.2.FC
**Created:** Thu Dec 08, 2016 03:29 PM UTC by Zoran Milinkovic
**Last Updated:** Thu Dec 08, 2016 03:52 PM UTC
**Owner:** Zoran Milinkovic


~~~
build for SLES12 with OpenSAF 5.2 CS8417 outside the source tree fails

make[9]: Leaving directory 
`/home/user/git/build/opensaf/osaf/libs/core/cplusplus/base/tests'
make[9]: Entering directory 
`/home/user/git/build/opensaf/osaf/libs/core/cplusplus/base'
  CXX      libbase_la-file_notify.lo
  CXX      libbase_la-log_message.lo
  CXX      libbase_la-getenv.lo
  CXX      libbase_la-process.lo
  CXX      libbase_la-mutex.lo
  CXX      libbase_la-condition_variable.lo
  CXX      libbase_la-unix_client_socket.lo
  CXX      libbase_la-unix_server_socket.lo
  CXX      libbase_la-unix_socket.lo
../../../../../../../coremw/opensaf/osaf/libs/core/cplusplus/base/mutex.cc:19:22:
 fatal error: ./config.h: No such file 
or directory
 #include "./config.h"
                      ^
compilation terminated.
make[9]: *** [libbase_la-mutex.lo] Error 1
make[9]: *** Waiting for unfinished jobs....
make[9]: Leaving directory 
`/home/user/git/build/opensaf/osaf/libs/core/cplusplus/base'
~~~

After ./configure, config.h is created in the build directory.
The root of build directory needs to be added to the include path list.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to