[uClinux-dev] The problem for compiling microwindows

From: aavan@263.net
Date: Sun Jul 15 2001 - 23:05:21 EDT


Hi,

I got a trouble when I compiling microwindows by using m68k-pic-coff-gcc. The compiling information are follow:

...

Compiling mine.c ...
m68k-pic-coff-gcc -c   -DMWPIXEL_FORMAT=MWPF_PALETTE -DLINUX=1 -DUNIX=1   -I. -I/opt/microwin/src/include -Wall  -fomit-frame-pointer -fPIC  -o mine.o mine.c
mine.c: In function `TestMyWinProc':
mine.c:720: warning: implicit declaration of function `srandom'
mine.c:724: warning: implicit declaration of function `random'
/tmp/ccnDQOHN.s: Assembler messages:
/tmp/ccnDQOHN.s:214: Error: Signed .word overflow; switch may be too large; 36340 at 0x242
/tmp/ccnDQOHN.s:228: Error: Signed .word overflow; switch may be too large; 36340 at 0x266
/tmp/ccnDQOHN.s:242: Error: Signed .word overflow; switch may be too large; 36340 at 0x28a
/tmp/ccnDQOHN.s:253: Error: Signed .word overflow; switch may be too large; 36340 at 0x2a4
/tmp/ccnDQOHN.s:275: Error: Signed .word overflow; switch may be too large; 36384 at 0x2dc
/tmp/ccnDQOHN.s:579: Error: Signed .word overflow; switch may be too large; 36340 at 0x5fe
/tmp/ccnDQOHN.s:593: Error: Signed .word overflow; switch may be too large; 36340 at 0x622
/tmp/ccnDQOHN.s:607: Error: Signed .word overflow; switch may be too large; 36340 at 0x646
/tmp/ccnDQOHN.s:619: Error: Signed .word overflow; switch may be too large; 36340 at 0x662
/tmp/ccnDQOHN.s:641: Error: Signed .word overflow; switch may be too large; 36384 at 0x69a
/tmp/ccnDQOHN.s:690: Error: Signed .word overflow; switch may be too large; 36384 at 0x716
/tmp/ccnDQOHN.s:1064: Error: Signed .word overflow; switch may be too large; 36340 at 0xaf8

...

Can you give me a hint? Thanks in advance.

Regards.

Aavan.
欢迎使用263天下邮免费信箱






--Boundary-=_QGVNMBueDIOudhUJltVqHHzeAkKs
Content-Type: Text/HTML
Content-Transfer-Encoding: 8bit

Hi,<br><br>I got a trouble when I compiling microwindows by using m68k-pic-coff-gcc. The compiling information are follow:<br><br>...<br><br>Compiling mine.c ...<br>m68k-pic-coff-gcc -c   -DMWPIXEL_FORMAT=MWPF_PALETTE -DLINUX=1 -DUNIX=1   -I. -I/opt/microwin/src/include -Wall  -fomit-frame-pointer -fPIC  -o mine.o mine.c<br>mine.c: In function `TestMyWinProc':<br>mine.c:720: warning: implicit declaration of function `srandom'<br>mine.c:724: warning: implicit declaration of function `random'<br>/tmp/ccnDQOHN.s: Assembler messages:<br>/tmp/ccnDQOHN.s:214: Error: Signed .word overflow; switch may be too large; 36340 at 0x242<br>/tmp/ccnDQOHN.s:228: Error: Signed .word overflow; switch may be too large; 36340 at 0x266<br>/tmp/ccnDQOHN.s:242: Error: Signed .word overflow; switch may be too large; 36340 at 0x28a<br>/tmp/ccnDQOHN.s:253: Error: Signed .word overflow; switch may be too large; 36340 at 0x2a4<br>/tmp/ccnDQOHN.s:275: Error: Signed .word overflow; switch may be too large!
 ; 36384 at 0x2dc<br>/tmp/ccnDQOHN.s:579: Error: Signed .word overflow; switch may be too large; 36340 at 0x5fe<br>/tmp/ccnDQOHN.s:593: Error: Signed .word overflow; switch may be too large; 36340 at 0x622<br>/tmp/ccnDQOHN.s:607: Error: Signed .word overflow; switch may be too large; 36340 at 0x646<br>/tmp/ccnDQOHN.s:619: Error: Signed .word overflow; switch may be too large; 36340 at 0x662<br>/tmp/ccnDQOHN.s:641: Error: Signed .word overflow; switch may be too large; 36384 at 0x69a<br>/tmp/ccnDQOHN.s:690: Error: Signed .word overflow; switch may be too large; 36384 at 0x716<br>/tmp/ccnDQOHN.s:1064: Error: Signed .word overflow; switch may be too large; 36340 at 0xaf8<br><br>...<br><br>Can you give me a hint? Thanks in advance.<br><br>Regards.<br><br>Aavan.<br><font color=blue>欢迎使用263天下邮免费信箱</font><br><br><br><br><br><br><br><br>
--Boundary-=_QGVNMBueDIOudhUJltVqHHzeAkKs--
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:56 EDT