I get an error when my computer tries to compile QT.
Code: Select all
/usr/include/linux/resource.h:49: warning: `PRIO_PGRP' redefined
/usr/include/bits/resource.h:206: warning: this is the location of the previous definition
/usr/include/linux/resource.h:50: warning: `PRIO_USER' redefined
/usr/include/bits/resource.h:208: warning: this is the location of the previous definition
In file included from /usr/include/linux/resource.h:56,
from /usr/include/linux/sched.h:81,
from /usr/include/langinfo.h:23,
from ../codecs/qtextcodec.cpp:71:
/usr/include/asm/resource.h:8: warning: `RLIMIT_CPU' redefined
/usr/include/bits/resource.h:36: warning: this is the location of the previous definition
/usr/include/asm/resource.h:9: warning: `RLIMIT_FSIZE' redefined
/usr/include/bits/resource.h:40: warning: this is the location of the previous definition
/usr/include/asm/resource.h:10: warning: `RLIMIT_DATA' redefined
/usr/include/bits/resource.h:44: warning: this is the location of the previous definition
/usr/include/asm/resource.h:11: warning: `RLIMIT_STACK' redefined
/usr/include/bits/resource.h:48: warning: this is the location of the previous definition
/usr/include/asm/resource.h:12: warning: `RLIMIT_CORE' redefined
/usr/include/bits/resource.h:52: warning: this is the location of the previous definition
/usr/include/asm/resource.h:13: warning: `RLIMIT_RSS' redefined
/usr/include/bits/resource.h:59: warning: this is the location of the previous definition
/usr/include/asm/resource.h:14: warning: `RLIMIT_NPROC' redefined
/usr/include/bits/resource.h:73: warning: this is the location of the previous definition
/usr/include/asm/resource.h:15: warning: `RLIMIT_NOFILE' redefined
/usr/include/bits/resource.h:64: warning: this is the location of the previous definition
/usr/include/asm/resource.h:16: warning: `RLIMIT_MEMLOCK' redefined
/usr/include/bits/resource.h:77: warning: this is the location of the previous definition
/usr/include/asm/resource.h:17: warning: `RLIMIT_AS' redefined
/usr/include/bits/resource.h:69: warning: this is the location of the previous definition
/usr/include/asm/resource.h:18: warning: `RLIMIT_LOCKS' redefined
/usr/include/bits/resource.h:81: warning: this is the location of the previous definition
/usr/include/asm/resource.h:20: warning: `RLIM_NLIMITS' redefined
/usr/include/bits/resource.h:86: warning: this is the location of the previous definition
/usr/include/asm/resource.h:26: warning: `RLIM_INFINITY' redefined
/usr/include/bits/resource.h:91: warning: this is the location of the previous definition
In file included from /usr/include/linux/spinlock.h:39,
from /usr/include/linux/module.h:11,
from /usr/include/langinfo.h:20,
from ../codecs/qtextcodec.cpp:71:
/usr/include/asm/spinlock.h: In function `void read_lock(rwlock_t *)':
/usr/include/asm/spinlock.h:192: parse error before `::'
/usr/include/asm/spinlock.h:193: confused by earlier errors, bailing out
cpp0: output pipe has been closed
make[1]: *** [qtextcodec.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/qt-3.0.4.1/work/qt-copy-3.0.4/src/moc'
make: *** [src-moc] Error 2
I have been trying to fix this problem for weeks. So if you know what is wrong please tell me.



