[Barrelfish-users] Interface types

Georgios Varisteas yorgos at kth.se
Wed Nov 2 13:57:30 CET 2011


Hi,

I'm trying to create an interface (*.if) file and it seems that the documentation is contrasting the version of flounder in the repository. Specifically I get error messages like the following when I try to use typedef and arrays:

./tools/bin/flounder -i ../src/if/platform/x86_64.if -i ../src/if/arch/x86_64.if -i ../src/if/types.if --generic-header ../src/if/bdis.if ./x86_64/include/if/bdis_defs.h 
Parse error at: "../src/if/bdis.if" (line 26, column 39):
unexpected "["
expecting letter or digit, "," or ")"

./tools/bin/flounder -i ../src/if/platform/x86_64.if -i ../src/if/arch/x86_64.if -i ../src/if/types.if --generic-header ../src/if/bdis.if ./x86_64/include/if/bdis_defs.h 
Parse error at: "../src/if/bdis.if" (line 11, column 9):
unexpected "t"
expecting "alias", identifier, "message", "call", "response" or "rpc"
make: *** [x86_64/include/if/bdis_defs.h] Error 1

I really need to have some complex types in the messages, so how can I fix this?

cheers,
Georgios Varisteas


More information about the Barrelfish-users mailing list