bugSimulavr: an AVR simulator - Bugs: bug #40979, tcl examples do not works

 
 

bug #40979: tcl examples do not works

Submitter:  Paolo Patruno <pat1>
Submitted:  Fri 20 Dec 2013 10:46:10 AM UTC
   
 
Category:  Test Suite Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Component Version:  * simulavr
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 22 Feb 2014 11:42:17 AM UTC, comment #2: 

tcl examples work if tcl is installed. Can not reproduce problem. Feel free to reopen again if problem still occurs.

Klaus Rudolph <zfrdh>
Group administrator
Fri 27 Dec 2013 09:09:52 AM UTC, comment #1: 

The problem was due to a missing dependency.
In my Fedora 19 solved installing tcl-devel package.

Compile binutils-2.24 is reqested too.

Paolo Patruno <pat1>
Fri 20 Dec 2013 10:46:10 AM UTC, original submission:  

cd in examples/stdiodemo

make do

../simulavr.tcl -d atmega128 -f stdiodemo.elf -u -F 271
    -s ./stdiodemo.tcl
unable to locate libsimulavr.so
    while executing
"error "unable to locate ${name}""
    (procedure "locateInDirs" line 9)
    invoked from within
"locateInDirs libsimulavr.so
  [list ${libraryDir}
        . src/.libs ../src/.libs ../../src/.libs
        ${libdir}/lib /lib /usr/lib]"
    invoked from within
"set libraryFile [locateInDirs libsimulavr.so
  [list ${libraryDir}
        . src/.libs ../src/.libs ../../src/.libs
        ${libdir}/lib /lib /..."
    (file "../simulavr.tcl" line 264)
make: * [do] Errore 1


changing simulavr.tcl in :
#load the avr-simulator package
set libraryFile [locateInDirs libsim.so

 make do
../simulavr.tcl -d atmega128 -f stdiodemo.elf -u -F 271
    -s ./stdiodemo.tcl
couldn't find procedure Sim_Init
    while executing
"load ${libraryFile}"
    (file "../simulavr.tcl" line 269)
make: * [do] Errore 1


Paolo Patruno <pat1>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zfrdh (Posted a comment)
  • -email is unavailable- added by pat1 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-22 zfrdh StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code