Problem in Running Qt On Fedora Core 2

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

 



 hello buddies,
>   i am very new in linux and Qt Designing.
> I install Linux on my computer and made a program in Qt. according to
> mannual help provided with Qt..
>      i have made 'Makefile' of it...
>  but not able to run this program...
>  
> when i type 'make' on terminal window..it gives me so many erroers...
>  
> i am not even in mode that i could understand where exactly problem exists..
>  
> plz help me or give me some links that helps me out...
 
These Errors i am facing....
 
[root@localhost QtPrograms]# qmake -o Makefile AddPro.pro
[root@localhost QtPrograms]# make
g++ -c -pipe -Wall -W -O2 -g -pipe -march=i386 -mcpu=i686  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp
In file included from /usr/include/c++/3.3.3/backward/iostream.h:31,
                 from main.cpp:1:
/usr/include/c++/3.3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/include/c++/3.3.3/i386-redhat-linux/bits/c++config.h:35,
                 from /usr/include/c++/3.3.3/iostream:44,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/i386-redhat-linux/bits/os_defines.h:39:22: features.h: No such file or directory
/usr/include/c++/3.3.3/i386-redhat-linux/bits/os_defines.h:46:23: gnu/types.h: No such file or directory
In file included from /usr/include/c++/3.3.3/i386-redhat-linux/bits/c++config.h:35,
                 from /usr/include/c++/3.3.3/iostream:44,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/i386-redhat-linux/bits/os_defines.h:47: error: syntax
   error before `;' token
In file included from /usr/include/c++/3.3.3/i386-redhat-linux/bits/c++locale.h:41,
                 from /usr/include/c++/3.3.3/iosfwd:46,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/clocale:49:20: locale.h: No such file or directory
In file included from /usr/include/c++/3.3.3/i386-redhat-linux/bits/c++locale.h:41,
                 from /usr/include/c++/3.3.3/iosfwd:46,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/clocale:57: error: `lconv' not declared
/usr/include/c++/3.3.3/clocale:58: error: `setlocale' not declared
/usr/include/c++/3.3.3/clocale:59: error: `localeconv' not declared
In file included from /usr/include/c++/3.3.3/iosfwd:46,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/i386-redhat-linux/bits/c++locale.h:42:47: langinfo.h: No such file or directory
/usr/include/c++/3.3.3/i386-redhat-linux/bits/c++locale.h:43:68: iconv.h: No such file or directory
/usr/include/c++/3.3.3/i386-redhat-linux/bits/c++locale.h:44:48: libintl.h: No such file or directory
In file included from /usr/include/c++/3.3.3/iosfwd:46,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/i386-redhat-linux/bits/c++locale.h:59: error: syntax
   error before `;' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/c++locale.h:73: error: syntax
   error before `&' token
In file included from /usr/include/c++/3.3.3/iosfwd:47,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/cctype:49:19: ctype.h: No such file or directory
In file included from /usr/include/c++/3.3.3/iosfwd:47,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/cctype:68: error: `isalnum' not declared
/usr/include/c++/3.3.3/cctype:69: error: `isalpha' not declared
/usr/include/c++/3.3.3/cctype:70: error: `iscntrl' not declared
/usr/include/c++/3.3.3/cctype:71: error: `isdigit' not declared
/usr/include/c++/3.3.3/cctype:72: error: `isgraph' not declared
/usr/include/c++/3.3.3/cctype:73: error: `islower' not declared
/usr/include/c++/3.3.3/cctype:74: error: `isprint' not declared
/usr/include/c++/3.3.3/cctype:75: error: `ispunct' not declared
/usr/include/c++/3.3.3/cctype:76: error: `isspace' not declared
/usr/include/c++/3.3.3/cctype:77: error: `isupper' not declared
/usr/include/c++/3.3.3/cctype:78: error: `isxdigit' not declared
/usr/include/c++/3.3.3/cctype:79: error: `tolower' not declared
/usr/include/c++/3.3.3/cctype:80: error: `toupper' not declared
In file included from /usr/include/c++/3.3.3/i386-redhat-linux/bits/c++io.h:35,
                 from /usr/include/c++/3.3.3/bits/fpos.h:44,
                 from /usr/include/c++/3.3.3/iosfwd:49,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/cstdio:52:19: stdio.h: No such file or directory
In file included from /usr/include/c++/3.3.3/i386-redhat-linux/bits/c++io.h:35,
                 from /usr/include/c++/3.3.3/bits/fpos.h:44,
                 from /usr/include/c++/3.3.3/iosfwd:49,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/cstdio:99: error: `FILE' not declared
/usr/include/c++/3.3.3/cstdio:100: error: `fpos_t' not declared
/usr/include/c++/3.3.3/cstdio:102: error: `clearerr' not declared
/usr/include/c++/3.3.3/cstdio:103: error: `fclose' not declared
/usr/include/c++/3.3.3/cstdio:104: error: `feof' not declared
/usr/include/c++/3.3.3/cstdio:105: error: `ferror' not declared
/usr/include/c++/3.3.3/cstdio:106: error: `fflush' not declared
/usr/include/c++/3.3.3/cstdio:107: error: `fgetc' not declared
/usr/include/c++/3.3.3/cstdio:108: error: `fgetpos' not declared
/usr/include/c++/3.3.3/cstdio:109: error: `fgets' not declared
/usr/include/c++/3.3.3/cstdio:110: error: `fopen' not declared
/usr/include/c++/3.3.3/cstdio:111: error: `fprintf' not declared
/usr/include/c++/3.3.3/cstdio:112: error: `fputc' not declared
/usr/include/c++/3.3.3/cstdio:113: error: `fputs' not declared
/usr/include/c++/3.3.3/cstdio:114: error: `fread' not declared
/usr/include/c++/3.3.3/cstdio:115: error: `freopen' not declared
/usr/include/c++/3.3.3/cstdio:116: error: `fscanf' not declared
/usr/include/c++/3.3.3/cstdio:117: error: `fseek' not declared
/usr/include/c++/3.3.3/cstdio:118: error: `fsetpos' not declared
/usr/include/c++/3.3.3/cstdio:119: error: `ftell' not declared
/usr/include/c++/3.3.3/cstdio:120: error: `fwrite' not declared
/usr/include/c++/3.3.3/cstdio:121: error: `getc' not declared
/usr/include/c++/3.3.3/cstdio:122: error: `getchar' not declared
/usr/include/c++/3.3.3/cstdio:123: error: `gets' not declared
/usr/include/c++/3.3.3/cstdio:124: error: `perror' not declared
/usr/include/c++/3.3.3/cstdio:125: error: `printf' not declared
/usr/include/c++/3.3.3/cstdio:126: error: `putc' not declared
/usr/include/c++/3.3.3/cstdio:127: error: `putchar' not declared
/usr/include/c++/3.3.3/cstdio:128: error: `puts' not declared
/usr/include/c++/3.3.3/cstdio:129: error: `remove' not declared
/usr/include/c++/3.3.3/cstdio:130: error: `rename' not declared
/usr/include/c++/3.3.3/cstdio:131: error: `rewind' not declared
/usr/include/c++/3.3.3/cstdio:132: error: `scanf' not declared
/usr/include/c++/3.3.3/cstdio:133: error: `setbuf' not declared
/usr/include/c++/3.3.3/cstdio:134: error: `setvbuf' not declared
/usr/include/c++/3.3.3/cstdio:135: error: `sprintf' not declared
/usr/include/c++/3.3.3/cstdio:136: error: `sscanf' not declared
/usr/include/c++/3.3.3/cstdio:137: error: `tmpfile' not declared
/usr/include/c++/3.3.3/cstdio:138: error: `tmpnam' not declared
/usr/include/c++/3.3.3/cstdio:139: error: `ungetc' not declared
/usr/include/c++/3.3.3/cstdio:140: error: `vfprintf' not declared
/usr/include/c++/3.3.3/cstdio:141: error: `vprintf' not declared
/usr/include/c++/3.3.3/cstdio:142: error: `vsprintf' not declared
/usr/include/c++/3.3.3/cstdio:167: error: `snprintf' not declared
/usr/include/c++/3.3.3/cstdio:168: error: `vfscanf' not declared
/usr/include/c++/3.3.3/cstdio:169: error: `vscanf' not declared
/usr/include/c++/3.3.3/cstdio:170: error: `vsnprintf' not declared
/usr/include/c++/3.3.3/cstdio:171: error: `vsscanf' not declared
/usr/include/c++/3.3.3/cstdio:177: error: `snprintf' not declared
/usr/include/c++/3.3.3/cstdio:178: error: `vfscanf' not declared
/usr/include/c++/3.3.3/cstdio:179: error: `vscanf' not declared
/usr/include/c++/3.3.3/cstdio:180: error: `vsnprintf' not declared
/usr/include/c++/3.3.3/cstdio:181: error: `vsscanf' not declared
In file included from /usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr.h:98,
                 from /usr/include/c++/3.3.3/i386-redhat-linux/bits/c++io.h:37,
                 from /usr/include/c++/3.3.3/bits/fpos.h:44,
                 from /usr/include/c++/3.3.3/iosfwd:49,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:37:21: pthread.h: No such file or directory
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:38:20: unistd.h: No such file or directory
In file included from /usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr.h:98,
                 from /usr/include/c++/3.3.3/i386-redhat-linux/bits/c++io.h:37,
                 from /usr/include/c++/3.3.3/bits/fpos.h:44,
                 from /usr/include/c++/3.3.3/iosfwd:49,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from /usr/include/c++/3.3.3/backward/iostream.h:32,
                 from main.cpp:1:
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:40: error: syntax
   error before `;' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:41: error: syntax
   error before `;' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:42: error: syntax
   error before `;' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h: In function `int
   __gthread_active_p()':
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:90: error: `
   pthread_create' undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:90: error: (Each
   undeclared identifier is reported only once for each function it appears
   in.)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h: At global scope:
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:450: error: `
   __gthread_once_t' was not declared in this scope
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:450: error: `once'
   was not declared in this scope
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:450: error: `func'
   was not declared in this scope
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:450: error: syntax
   error before `)' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:450: error: `
   __gthread_once' declared as an `inline' variable
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:450: error: initializer
   list being treated as compound _expression_
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:450: error: syntax
   error before `)' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:459: error: `
   __gthread_key_t' was not declared in this scope
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:459: error: `key'
   was not declared in this scope
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:459: error: `dtor'
   was not declared in this scope
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:459: error: syntax
   error before `*' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h: In function `int
   __gthread_key_create(...)':
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:465: error: `
   __gthread_key_t' undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:465: error: syntax
   error before `,' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:466: error: cannot
   declare static function inside another function
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h: In function `int
   __gthread_key_dtor(...)':
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:468: error: `ptr'
   undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:469: error: `key'
   undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:469: error: `
   pthread_setspecific' undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:475: error: syntax
   error before `)' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:476: error: cannot
   declare static function inside another function
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h: In function `int
   __gthread_key_delete(...)':
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:477: error: `
   pthread_key_delete' undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:481: error: syntax
   error before `)' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:482: error: cannot
   declare static function inside another function
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h: In function `
   void* __gthread_getspecific(...)':
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:483: error: `
   pthread_getspecific' undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:487: error: syntax
   error before `,' token
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:488: error: cannot
   declare static function inside another function
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h: In function `int
   __gthread_setspecific(...)':
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:489: error: `
   pthread_setspecific' undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:493: error: `
   __gthread_mutex_t' undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:493: error: `mutex
   ' undeclared (first use this function)
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:494: error: `
   __gthread_mutex_lock' declared as an `inline' variable
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:494: confused by earlier errors, bailing out
make: *** [.obj/main.o] Error 1
 
 
 


 

        [DEV'H]

   Devesh Sharma

"Have A Nice Time"

 

 



5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.

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

  Powered by Linux