Project

General

Profile

DSP Link example not working

Added by Christian Rückl over 11 years ago

I were able to follow the DSP Hello World tutorial succesfull until the point when i had to execute the program on the omapL138.

I always get this error:
./HelloWorldDSP: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./HelloWorldDSP)

i checked the available/installed versions on the system and found out the latest version of GLIBCXX is 3.4.10.

How can I install the missing one or what can I do to let the example run?

I tried opkg update and opkg install libstdc++6 but the returned answer is: Package libstdc++6 (4.3.3-r24.2.6) installed in root is up to date.

The secound issue i have is:
Unfortunately I tried the command opkg upgrade und now I the opkg update dosn't work anymore. Is there anyway to restore the original "opkg-setup"?

Thanks for your help!


Replies (4)

RE: DSP Link example not working - Added by Michael Williamson over 11 years ago

Hello,

What version of the kernel and filesystem are you using? The one delivered from factory (loading from NOR and filesystem off NAND?)? Or are you using one of the more recent Board Support Packages?

I would recommend using a more recent board support package as a starting point.

-Mike

RE: DSP Link example not working - Added by Christian Rückl over 11 years ago

Mike,

sorry for my really late response....

I was using the factory installed filesystem with the associated kernel. Then i installed the newest base-filesystem with the kernel from MDK 2012-08 on my module. But after installation i wasn't longer able to use the networkinterface...

I put therfore a new issue in the forum: http://support.criticallink.com/redmine/boards/10/topics/2204

Now I changed back to the filesystem and kernel of the MDK 2012-03-31 and i can use the networkinterface again, but I get the same error then befor when I want to start the HelloWorldDSP example.

BR
Christian

RE: DSP Link example not working - Added by Michael Williamson over 11 years ago

Ok,

I will post to your other topic for enabling the network on the newer MDK.

Are you building the example software or using precompiled binary images from our wiki?

For this error, the main issue is that the newer filesystems are built against an updated GCC toolchain (gcc 4 vs. gcc 3) and associated libraries. Information about the toolchains built by CL is found on this wiki page.

For the most recent MDK, you should use the most recent toolchain. This should provide you with consistent libraries on the example root filesystems vs. the host software development libraries.

I am very sorry for the confusion.

-Mike

RE: DSP Link example not working - Added by Christian Rückl about 11 years ago

Mike,

I got it and it's working now :)

Thanks.
Christian

    (1-4/4)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)