Re: libgtop problem
- From: ZHAO Wei <zhaoway public1 ptt js cn>
- To: garnome-list gnome org
- Subject: Re: libgtop problem
- Date: Thu, 06 Nov 2003 05:35:07 +0800
Jens Bech Madsen wrote:
A warning normally shouldn't stop the compile. If it does, you can
remove -Werror from the Makefiles in the libgtop work directories. That
should stop errors from being treated as errors (it should say so right
before the warning if that is the case).
Oh yeah! Sorry me! 8) Now I went back some screens and I saw the error
now, but still I don't know how I could fix this. The system is Debian
unstable which just introduced a linux-kernel-headers package several
days ago. Don't know if it is related, though.
In file included from /usr/include/linux/timer.h:5,
/usr/include/linux/list.h:576:2: warning: #warning "don't include kernel
headers in userspace"
The above message is telling but I don't know how I could do the fix. 8(
In file included from /usr/include/linux/timer.h:6,
/usr/include/linux/spinlock.h: In function `bit_spin_lock':
/usr/include/linux/spinlock.h:413: error: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_trylock':
/usr/include/linux/spinlock.h:430: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: `TIF_NEED_RESCHED' undeclared
(first use in this function)
/usr/include/linux/spinlock.h:433: error: (Each undeclared identifier is
reported only once
And there're several more related to this ppp.c file which is
BTW, thanks for the quick reply! 8)
zhaoway public1 ptt js cn
] [Thread Prev