On 3 March 2015 at 15:44, Philippe Gerum <r...@xenomai.org> wrote:

> On 03/03/2015 04:40 PM, Helder Daniel wrote:
> > I did not set --prefix.
> > I assumed the default value will be applied: /usr/xenomai
>
> This is the case, unless something goes wrong while configuring. Can you
> check the value reported in the config log when running the configure
> script?
>


this is the last 20 lines of config.log. Exit status is 0.
SO it appear that configuring was done properly.
but: #define CONFIG_XENO_PREFIX "NONE"
maybe that's the problem?

#define HAVE_SHM_UNLINK 1
#define CONFIG_XENO_VERSION_MAJOR 2
#define CONFIG_XENO_VERSION_MINOR 99
#define CONFIG_XENO_REVISION_LEVEL 12
#define CONFIG_XENO_UAPI_LEVEL 10
#define CONFIG_XENO_VERSION_STRING "3.0-rc3"
#define CONFIG_XENO_VERSION_NAME "Exact Zero"
#define CONFIG_XENO_PREFIX "NONE"
#define CONFIG_XENO_BUILD_ARGS " '--with-core=mercury' '--enable-registry'"
#define CONFIG_XENO_X86_VSYSCALL 1
#define CONFIG_SMP 1
#define CONFIG_MMU 1
#define CONFIG_XENO_DEFAULT_PERIOD 100000
#define CONFIG_XENO_TLSF 1
#define HAVE_RECENT_SETAFFINITY 1
#define CONFIG_XENO_TLS_MODEL "initial-exec"
#define HAVE_TLS 1
#define CONFIG_XENO_FORTIFY 1

configure: exit 0



> Also, which setting is output by the following command?
>
> $ smokey --dump-conf|grep PREFIX
>
>
root@LinuxSTR:~/helloXeno# smokey --dump-conf|grep PREFIX
CONFIG_XENO_PREFIX="NONE"

The same "NONE" again.

OK. So I configure explicitly the --prefix=/usr/xenomai.

Now on the config.log we have the value of the prefix:

(...)
#define CONFIG_XENO_PREFIX "/usr/xenomai"
#define CONFIG_XENO_BUILD_ARGS " '--with-core=cobalt' '--enable-registry'
'--prefix=/usr/xenomai'"
(...)

and with
root@LinuxSTR:~/helloXeno# smokey --dump-conf|grep PREFIX
CONFIG_XENO_PREFIX="/usr/xenomai"


After make install I tried to run the hello app again.
It ran.

Now there is an entry in /var/run/xenomai/ ....

I made some changes an recompile another App, than tried to run it, but now
I got several times:

sysregd: create_directory_recursive("/var/run/xenomai/anon/system"):
Transport endpoint is not connected

and then again:

   3"008.480| WARNING: [main] cannot connect to registry daemon
   3"008.891| BUG: [main] initialization failed, EAGAIN

I checked for the daemon and it is loaded:

$> ps aux | grep rsyslogd
root      2328  0.0  0.3  28840  1660 ?        Sl   16:03   0:00
/usr/sbin/rsyslogd -c5
_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to