On Sun, Feb 01, 2004 at 09:35:48AM +1000, Ian Latter wrote:
> Hi Dan,
>
> See below, using the colinux-20040131 patch, I am getting a kernel
> compile error, regarding the variable "data" in cooperative.h ("putcs"
> structure within the co_console_message_t structure).
>
> I have decided that if you haven't seen this in your compiles, then it
> may be compiler related - this is my compiler version;
>
> [root@host]# gcc --version
> 2.96
>
> Has anyone else seen this issue? If not, which compiler version
> are you using?
Please use gcc version 3.
[07:35 pts/5,callisto ~]% gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu
--enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.3 20040125 (prerelease) (Debian)
> Alternatively, if this is supposed to be a single char (put-char-screen?)
> then how about redefining data[] as data[2]?
You can define it as data[0] and it may fix the problem for your compiler.
--
Dan Aloni
da...@gm...
|