Results 1 to 2 of 2

Thread: error while Make

  1. #1
    Join Date
    Aug 2009
    Posts
    47
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded PyQt3 PyQt4
    Platforms
    Unix/X11 Symbian S60

    Default error while Make

    Hi,

    I written a sample code in Qt4.5 while make it giving following error

    <error>
    /usr/include/c++/4.4/iostream:39:28: error: bits/c++config.h: No such
    file or directory
    In file included from /usr/include/c++/4.4/iosfwd:41,
    from /usr/include/c++/4.4/ios:39,
    from /usr/include/c++/4.4/ostream:40,
    from /usr/include/c++/4.4/iostream:40,
    from test.c:3:
    /usr/include/c++/4.4/bits/stringfwd.h: In function
    ‘_GLIBCXX_BEGIN_NAMESPACE’:
    /usr/include/c++/4.4/bits/stringfwd.h:44: error: expected declaration
    specifiers before ‘template’
    /usr/include/c++/4.4/bits/stringfwd.h:47: error: expected declaration
    specifiers before ‘template’
    /usr/include/c++/4.4/bits/functexcept.h:51: error: declaration for
    parameter ‘__throw_bad_cast’ but no such parameter
    /usr/include/c++/4.4/bits/functexcept.h:47: error: declaration for
    parameter ‘__throw_bad_alloc’ but no such parameter
    test.c:7: error: expected ‘{’ at end of input
    </error>

    pls Help me

    SivaKumar

  2. #2
    Join Date
    Nov 2008
    Posts
    142
    Thanks
    3
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: error while Make

    Looks like you system is missing some header files, in this case c++config.h. It seems to belong to libstdc++, so make sure you have that and any devel packages belonging to it installed.

Similar Threads

  1. Need advice for a best way to make this application
    By frenk_castle in forum Newbie
    Replies: 3
    Last Post: 25th September 2009, 18:55
  2. make QMAKE_CLEAN delete whole directories?
    By akos.maroy in forum Qt Tools
    Replies: 2
    Last Post: 25th June 2009, 19:48
  3. QT4 for kde 4 beta 2 configure problem: make not found
    By marcomangiante in forum Installation and Deployment
    Replies: 1
    Last Post: 5th September 2007, 20:35
  4. Window OS make distclean && qmake && make one line
    By patrik08 in forum General Programming
    Replies: 4
    Last Post: 22nd March 2007, 10:43
  5. Qt4.1.4 make errors.
    By impeteperry in forum Installation and Deployment
    Replies: 11
    Last Post: 1st July 2006, 17:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.