Opened 14 years ago

Closed 14 years ago

#42 closed helpdesk (fixed)

caba-vgmn-mutekh_soclib_tutorial platform compilation error

Reported by: silicomp Owned by: Nicolas Pouillon
Priority: N/A Component: utils
Keywords: Cc:

Description

I experienced problems using caba-vgmn-mutekh_soclib_tutorial

Please see the attached log

Attachments (3)

soclib-cc-debug.log (23.6 KB) - added by silicomp 14 years ago.
make.log (1.3 KB) - added by silicomp <jrouland@…> 14 years ago.
THe log when i do a make
make.2.log (1.3 KB) - added by silicomp <jrouland@…> 14 years ago.

Download all attachments as: .zip

Change History (10)

Changed 14 years ago by silicomp

Attachment: soclib-cc-debug.log added

comment:1 Changed 14 years ago by Nicolas Pouillon

Priority: majorN/A
Status: newassigned
Summary: MUTEKH errorcaba-vgmn-mutekh_soclib_tutorial platform compilation error
Type: defecthelpdesk

Your build is missing cpu_type.h, which is created by the platform's Makefile.

Are-you sure you ran make ?

Could you provide the output of

$ make 2>&1 > make.log

Thanks

Changed 14 years ago by silicomp <jrouland@…>

Attachment: make.log added

THe log when i do a make

comment:2 Changed 14 years ago by Nicolas Pouillon

Resolution: fixed
Status: assignedclosed

From the log:

make[2]: /home/jrouland/soclib/soclib/soclib/platform/topcells/caba-vgmn-mutekh_soclib_tutorial/~/soclib/mutekh/scripts/rules_main.mk: No such file or directory

Your shell didn't correctly expand MUTEKH_SRC_DIR=~/soclib/mutekh. Try to set an absolute path in the variable.

Changed 14 years ago by silicomp <jrouland@…>

Attachment: make.2.log added

comment:3 Changed 14 years ago by silicomp <jrouland@…>

In fact i have also seen the problem with this path. I have not been able to use an absolute path. I have tried with a relative path (../../../../../mutekh ). I think this not really the correct way to do it, but with an absolute path it use concat(plateformpath+absolutepath) and so it failed. With the relative path i have a new error. I have updated the make.log file In fact i have a mutekh directory created, but .config.mk created in.

comment:4 Changed 14 years ago by silicomp <jrouland@…>

Resolution: fixed
Status: closedreopened

comment:5 Changed 14 years ago by Joel Porquet

Please, checkout a vanilla soclib (and mutekh). Define MUTEKH_DIR variable in the config.mk file (in the caba-vgmn-mutekh_soclib_tutorial directory) with the absolute path of mutekh. Run make and attach the log if any error occurs.

comment:6 Changed 14 years ago by silicomp <jrouland@…>

Thank you it works. I have not understand why it does not work but it is ok now.

Thank you

comment:7 Changed 14 years ago by silicomp <jrouland@…>

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.