C++ errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, All

I am new to linux and trying to compile my program. I
get these basic C++ errors.

**************************************************
/usr/include/c++/3.2.3/cstring:79: `memcpy' not
declared
/usr/include/c++/3.2.3/cstring:80: `memmove' not
declared
/usr/include/c++/3.2.3/cstring:81: `strcpy' not
declared
/usr/include/c++/3.2.3/cstring:82: `strncpy' not
declared
/usr/include/c++/3.2.3/cstring:83: `strcat' not
declared
/usr/include/c++/3.2.3/cstring:84: `strncat' not
declared
/usr/include/c++/3.2.3/cstring:85: `memcmp' not
declared
/usr/include/c++/3.2.3/cstring:86: `strcmp' not
declared
/usr/include/c++/3.2.3/cstring:87: `strcoll' not
declared
/usr/include/c++/3.2.3/cstring:88: `strncmp' not
declared
/usr/include/c++/3.2.3/cstring:89: `strxfrm' not
declared
/usr/include/c++/3.2.3/cstring:90: `strcspn' not
declared
/usr/include/c++/3.2.3/cstring:91: `strspn' not
declared
/usr/include/c++/3.2.3/cstring:92: `strtok' not
declared
/usr/include/c++/3.2.3/cstring:93: `memset' not
declared
/usr/include/c++/3.2.3/cstring:94: `strerror' not
declared
/usr/include/c++/3.2.3/cstring:95: `strlen' not
declared
/usr/include/c++/3.2.3/cstring:97: `memchr' not
declared
/usr/include/c++/3.2.3/cstring: In function `void*
std::memchr(void*, int,
   unsigned int)':
/usr/include/c++/3.2.3/cstring:101: invalid conversion
from `const void*' to `
   void*'
/usr/include/c++/3.2.3/cstring: At global scope:
/usr/include/c++/3.2.3/cstring:103: `strchr' not
declared
/usr/include/c++/3.2.3/cstring:109: `strpbrk' not
declared
/usr/include/c++/3.2.3/cstring:115: `strrchr' not
declared
/usr/include/c++/3.2.3/cstring:121: `strstr' not
declared
In file included from /usr/include/c++/3.2.3/ios:46,
                 from
/usr/include/c++/3.2.3/ostream:45,
                 from
/usr/include/c++/3.2.3/iostream:45,
                 from includes.h:12,
                 from DwfFileReader.h:1,
                 from DwfFileReader.cpp:1:
/usr/include/c++/3.2.3/bits/char_traits.h: In static
member function `static
   int std::char_traits<char>::compare(const char*,
const char*, unsigned
   int)':
/usr/include/c++/3.2.3/bits/char_traits.h:131:
`memcmp' undeclared (first use
   this function)
/usr/include/c++/3.2.3/bits/char_traits.h:131: (Each
undeclared identifier is
   reported only once for each function it appears
in.)
/usr/include/c++/3.2.3/bits/char_traits.h: In static
member function `static
   size_t std::char_traits<char>::length(const
char*)':
/usr/include/c++/3.2.3/bits/char_traits.h:135:
`strlen' undeclared (first use
   this function)
/usr/include/c++/3.2.3/bits/char_traits.h: In static
member function `static
   const char* std::char_traits<char>::find(const
char*, unsigned int, const
   char&)':
/usr/include/c++/3.2.3/bits/char_traits.h:139: invalid
conversion from `const
   void*' to `void*'
/usr/include/c++/3.2.3/bits/char_traits.h: In static
member function `static
   char* std::char_traits<char>::move(char*, const
char*, unsigned int)':
/usr/include/c++/3.2.3/bits/char_traits.h:143:
`memmove' undeclared (first use
   this function)
/usr/include/c++/3.2.3/bits/char_traits.h: In static
member function `static
   char* std::char_traits<char>::copy(char*, const
char*, unsigned int)':
/usr/include/c++/3.2.3/bits/char_traits.h:147:
`memcpy' undeclared (first use
   this function)
/usr/include/c++/3.2.3/bits/char_traits.h: In static
member function `static
   char* std::char_traits<char>::assign(char*,
unsigned int, char)':
/usr/include/c++/3.2.3/bits/char_traits.h:151:
`memset' undeclared (first use
   this function)
In file included from /usr/include/c++/3.2.3/ios:48,
                 from
/usr/include/c++/3.2.3/ostream:45,
                 from
/usr/include/c++/3.2.3/iostream:45,
                 from includes.h:12,
                 from DwfFileReader.h:1,
                 from DwfFileReader.cpp:1:
/usr/include/c++/3.2.3/bits/localefwd.h: In member
function `bool
   std::locale::_Impl::_M_check_same_name()':
/usr/include/c++/3.2.3/bits/localefwd.h:375: `strcmp'
undeclared (first use
   this function)
In file included from
/usr/include/c++/3.2.3/bits/codecvt.h:334,
                 from
/usr/include/c++/3.2.3/bits/locale_facets.h:425,
                 from
/usr/include/c++/3.2.3/bits/basic_ios.h:41,
                 from /usr/include/c++/3.2.3/ios:51,
                 from
/usr/include/c++/3.2.3/ostream:45,
                 from
/usr/include/c++/3.2.3/iostream:45,
                 from includes.h:12,
                 from DwfFileReader.h:1,
                 from DwfFileReader.cpp:1:
/usr/include/c++/3.2.3/i386-redhat-linux/bits/codecvt_specializations.h:
In
   constructor `std::__enc_traits::__enc_traits(const
char*, const char*, int,
   int)':
/usr/include/c++/3.2.3/i386-redhat-linux/bits/codecvt_specializations.h:86:
`
   strncpy' undeclared (first use this function)


Any ideas??

Thanks
Archana


		
__________________________________ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux