• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » BIOS » BIOS forum » could not open xdc/std.h error while compiling in sys/bios6
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

could not open xdc/std.h error while compiling in sys/bios6

This question is answered
aparna subramaniam
Posted by aparna subramaniam
on Mar 13 2012 08:09 AM
Prodigy110 points

Hi,
we are migrating our system from dspbios 5.x to sysbios6.
I converted .tcf file to .cfg file successfully.
I am using bios version  6.32.05.54
code composer studio version is bios5.41.11.38
and the xdc tools version is xdctools3.22.04.46
I am getting the following error while trying to build
the workspace

1.could not open source file "xdc/std.h" at two different places
2. package/cfg/BiosSetup_p64Pcfg.cmd

Please help .

Aparna

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Mar 13 2012 15:42 PM
    Genius15070 points

    Can you go to Project Properties->CCS Build->XDCtools->Advanced Options, and turn on -v option? Then please post the whole console log output.

    If my reply answers your question please mark the thread as answered.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • aparna subramaniam
    Posted by aparna subramaniam
    on Mar 14 2012 03:03 AM
    Prodigy110 points

    Hi Sasha:

                        The -v option was already  on. The whole console log out is attached with this post.

    Thanks

    Aparna

    0447.log_out.txt

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Mar 14 2012 12:46 PM
    Suggested Answer
    Genius15070 points

    It seems that you have multiple projects referencing each other. The rule in Debug/subdir_rules.mk that should create configPkg/compiler.opt is overridden with the content of the same rule in other projects you are referencing, and that file is not created. All other errors are consequences of that file missing.

    I don't know why CCS picks up makefiles from other projects, but you can try to work around it. How are your various projects related? Can you try cleaning BiosSetup project and then build your Lmuvob project?

    If my reply answers your question please mark the thread as answered.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • aparna subramaniam
    Posted by aparna subramaniam
    on Mar 16 2012 06:33 AM
    Prodigy110 points

    HI Sasha :

                       BiosSetup is a folder that contains the *.cfg file ,*cfg.h and the platform folder. As suggested by you i have tried cleaning the project and rebuilding it. I have a peculiar problem now. Normally, the xdc/std.h error seems to occur even after explicitely including the xdc folder path . However, if i either add ( or exclude) some repositories under the RTSC tab of Build Options ,  I get SYS/bios 6 specific errors even though i am not using any Sys/bios 6 modules or APIs.

    I am attaching with this post the list of the errors and the build log.

    Aparna

    1513.error_1.txt

    2112.b1_no_std.rtf

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Mar 16 2012 15:31 PM
    Verified Answer
    Verified by David Friedland
    Genius15070 points

    After you converted your config script, even though you are not calling SYS/BIOS 6 API directly, you are using SYS/BIOS 6 and any C error will refer to SYS/BIOS 6 modules.

    These error messages
    #137 struct "ti_sysbios_heaps_HeapBuf_Struct" has no field "size" bioslapi.c /Lmuvob_14_1_SysBios line 2812 C/C++ Problem
    #137 struct "ti_sysbios_heaps_HeapBuf_Struct" has no field "size" bioslapi.c /Lmuvob_14_1_SysBios line 2814 C/C++ Problem
    #137 struct "ti_sysbios_heaps_HeapBuf_Struct" has no field "size" bioslapi.c /Lmuvob_14_1_SysBios line 2835 C/C++ Problem
    #137 struct "ti_sysbios_heaps_HeapBuf_Struct" has no field "size" bioslapi.c /Lmuvob_14_1_SysBios line 2837 C/C++ Problem
    #137 struct "ti_sysbios_knl_Semaphore_Struct" has no field "pendQ" bioslapi.c /Lmuvob_14_1_SysBios line 2388 C/C++ Problem
    #137 struct "ti_sysbios_knl_Task_Struct" has no field "environ" LMUMain.c /Lmuvob_14_1_SysBios line 608 C/C++ Problem
    #137 struct "ti_sysbios_knl_Task_Struct" has no field "environ" LMUMain.c /Lmuvob_14_1_SysBios line 617 C/C++ Problem
    #137 struct "ti_sysbios_knl_Task_Struct" has no field "name" bioslapi.c /Lmuvob_14_1_SysBios line 3063 C/C++ Problem
    #137 struct "ti_sysbios_knl_Task_Struct" has no field "stack" LMUMain.c /Lmuvob_14_1_SysBios line 526 C/C++ Problem
    #137 struct "ti_sysbios_knl_Task_Struct" has no field "stacksize" LMUMain.c /Lmuvob_14_1_SysBios line 527 C/C++ Problem
    would happen if you accessed properties of BIOS objects directly. BIOS objects are meant to be opaque, and you should be using functions that access these objects. If you are only invoking functions, but still getting these errors, please post the code from your files that causes these errors.

    The following errors are all referencing the same local symbol:
    #20 identifier "sL2Blk1" is undefined bioslapi.c /Lmuvob_14_1_SysBios line 2764 C/C++ Problem
    #20 identifier "sL2Blk1" is undefined bioslapi.c /Lmuvob_14_1_SysBios line 2924 C/C++ Problem
    #20 identifier "sL2Blk2" is undefined bioslapi.c /Lmuvob_14_1_SysBios line 2766 C/C++ Problem
    #20 identifier "sL2Blk2" is undefined bioslapi.c /Lmuvob_14_1_SysBios line 2926 C/C++ Problem
    Where is that symbol supposed to be defined? Is that a global referencing a BIOS object?

     

    If my reply answers your question please mark the thread as answered.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • aparna subramaniam
    Posted by aparna subramaniam
    on Mar 19 2012 23:09 PM
    Prodigy110 points

    Hi:

               After making certain code changes  the previous errror messages have gone . Thanks. I now have linker error messages.

    How to interpret error messages that go something like this - unresolved symbol - first referenced in  bioslapi.obj. Attached with the post is the build and error log

    thanks

    Aparna

    8080.b_20_03.txt

    7266.err_20_03.txt

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • aparna subramaniam
    Posted by aparna subramaniam
    on Mar 21 2012 01:50 AM
    Prodigy110 points

    Hi Sasha :

                               Thanks for your timely inputs . With a little help i can compile my application in sysbios.

    thanks

    Aparna

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use