celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Petri <bjoern.pe...@sundevil.de>
Subject remote_services/discovery does not compile
Date Fri, 11 Jan 2013 13:39:46 GMT
Hello everyone,


As this is my first mail, hence I'll shortly introduce myself: I'm a 
Bjoern Petri, a sofware engineer working for Thales and currently 
investigating the capabilities of celix.

Unfortunately I ran into some minor problems while building celix. More 
precisely, it complains that it can't find the slp.h file although I set 
the SLP_INCLUDE_DIR Option:

[...]
[ 61%] Built target remote_service_admin
[ 61%] Building C object 
remote_services/discovery/CMakeFiles/discovery.dir/private/src/discovery.c.o
/home/dm513/dev/machine_service/celix-0.0.1-incubating/remote_services/discovery/private/src/discovery.c:29:17:

error: slp.h: No such file or directory
/home/dm513/dev/machine_service/celix-0.0.1-incubating/remote_services/discovery/private/src/discovery.c:73:

error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘discovery_pollSLPCallback’
/home/dm513/dev/machine_service/celix-0.0.1-incubating/remote_services/discovery/private/src/discovery.c:74:

error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘discovery_attributesCallback’
/home/dm513/dev/machine_service/celix-0.0.1-incubating/remote_services/discovery/private/src/discovery.c:77:

error: expected ‘)’ before ‘hslp’
/home/dm513/dev/machine_service/celix-0.0.1-incubating/remote_services/discovery/private/src/discovery.c:

In function ‘discovery_deregisterEndpoint’:
[...]

I could fix that by adding "include_directories(${SLP_INCLUDE_DIRS})" 
to remote_services/discovery/CMakeLists.txt.
But I am not sure whether this is the correct solution. Maybe you could 
give me a little hint?!

Regards,
   Bjoern

Mime
View raw message