[RPL/2] 4.1.17 compilation failed on linux

Laurent Laborde kerdezixe at gmail.com
Fri May 16 11:57:33 CEST 2014


i swapped -lrt and -lpthread, compilation failed too.

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
  CC     rpl-algebre_lineaire1-conv.o
interface_cas-conv.cpp:416:1: warning: unused parameter 'commande'
[-Wunused-parameter]
make[3]: *** [librpl_a-interface_cas-conv.o] Error 1
make[3]: *** Waiting for unfinished jobs....
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



-- 
Laurent "ker2x" Laborde
Bigdata hacker @ Ebuzzing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.systella.fr/pipermail/rpl2/attachments/20140516/489c5f39/attachment.html>


More information about the RPL2 mailing list