#64 closed helpdesk (fixed)
soclib-cc (Platform compilation)
Reported by: | Owned by: | Nicolas Pouillon | |
---|---|---|---|
Priority: | major | Component: | soclib-cc |
Keywords: | compilation soclib-cc | Cc: |
Description
Hi,
It's my first time using soclib, then I would like to know exactly how to use soclib-cc ?
I tired to compile the example described by site (http://www.soclib.fr/trac/dev/wiki/SoclibCc) just to understand the process of compilation and running the system.
I attached the log.
Thanks,
Jussara.
Attachments (1)
Change History (4)
Changed 14 years ago by
Attachment: | soclib-cc-debug.log added |
---|
comment:1 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
You invoked it correctly, you just used a non-existing component in your platform_desc file. (hint: you should write 'common:mapping_table' rather than 'mapping_table' in this file).
Cheers
comment:2 Changed 14 years ago by
Keywords: | compilation soclib-cc added |
---|
Ok, thanks ! but, I have problems with variable mapping_table yet.
platform_desc file: I declared as 'common:mapping_table' top.cc file: the include was declared as common/mapping_table.h
look the message:
sh-3.2$ soclib-cc -p platform_desc soclib-cc: Entering directory `/export/TMP/jussara/install/soclib/utils/bin'
/export/TMP/jussara/install/soclib/utils/bin/top.cc:3:34: error: common/mapping_table.h: Aucun fichier ou répertoire de ce type
soclib-cc: * Action failed with return value `Unable to compute dependencies'. Stop.
regards,
comment:3 Changed 14 years ago by
Ok, now I see where you get this code from. I fixed the example code.
Soclib-cc debug log