[RPL/2] 4.1.17 compilation failed on linux

Joël BERTRAND joel.bertrand at systella.fr
Wed May 14 11:01:04 CEST 2014


Le 14/05/2014 10:53, Laurent Laborde a écrit :
>
>    CXX      librpl_a-interface_cas-conv.o
> In file included from interface_cas-conv.cpp:46:0:
> rpl-conv.h:346:16: error: ‘sem_t’ does not name a type
> rpl-conv.h:347:16: error: ‘sem_t’ does not name a type
> rpl-conv.h:348:16: error: ‘sem_t’ does not name a type
> rpl-conv.h:488:16: error: ‘sem_t’ does not name a type
> rpl-conv.h:498:1: error: ‘sem_t’ does not name a type
> rpl-conv.h:499:1: error: ‘sem_t’ does not name a type
> rpl-conv.h:500:18: error: ‘sem_t’ was not declared in this scope
> rpl-conv.h:500:25: error: ‘semaphore_p’ was not declared in this scope
> rpl-conv.h:500:44: error: expected primary-expression before ‘pid’
> rpl-conv.h:500:49: error: expected primary-expression before ‘int’
> rpl-conv.h:500:58: error: expression list treated as compound expression
> in initializer [-fpermissive]
> rpl-conv.h:501:18: error: ‘sem_t’ was not declared in this scope
> rpl-conv.h:501:25: error: ‘semaphore_p’ was not declared in this scope
> rpl-conv.h:501:44: error: expected primary-expression before ‘pid’
> rpl-conv.h:501:59: error: expected primary-expression before ‘tid’
> rpl-conv.h:501:64: error: expected primary-expression before ‘int’
> rpl-conv.h:501:73: error: expression list treated as compound expression
> in initializer [-fpermissive]
> rpl-conv.h:502:19: error: ‘sem_t’ was not declared in this scope
> rpl-conv.h:502:26: error: ‘semaphore’ was not declared in this scope
> rpl-conv.h:502:37: error: expected primary-expression before ‘int’
> rpl-conv.h:502:48: error: expression list treated as compound expression
> in initializer [-fpermissive]
> rpl-conv.h:503:1: error: ‘sem_t’ does not name a type
> In file included from interface_cas-conv.cpp:46:0:
> rpl-conv.h:1174:5: error: ‘sem_t’ does not name a type
> rpl-conv.h:2314:5: error: ‘sem_t’ does not name a type
> interface_cas-conv.cpp:416:1: warning: unused parameter ‘commande’
> [-Wunused-parameter]
> make[3]: *** [librpl_a-interface_cas-conv.o] Error 1
> make[3]: Leaving directory `/home/ker2x/rpl-4.1.17/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/ker2x/rpl-4.1.17/src'
> make[1]: *** [all-rpl] Error 2
> make[1]: Leaving directory `/home/ker2x/rpl-4.1.17'
> make: *** [all] Error 2
>
> need more info ? :)

	Yes. What is your operating system ? And please copy here DEFS variable 
you will find in src/Makefile.

	Regards,

	JKB


More information about the RPL2 mailing list