svgalib

Auke Kok sofar at lunar-linux.org
Tue Jun 7 22:17:17 UTC 2005


Dennis Veatch wrote:
> On Tuesday 07 June 2005 05:46 pm, Auke Kok 

wrote:
> 
>>Dennis Veatch wrote:
>>
>>>On Tuesday 07 June 2005 04:35 pm, Terry Chan wrote:
>>>
>>>>Your patch is NOT necessary.  svgalib compiles just fine the way it is.
>>>
>>>Then I am clueless why it does not like this system.
>>
>>I seem to be suffering the same problem: svgalib hasn't compiled for me
>>for over a year now on many systems. No clue... I gave up on it
>>
>>sofar
>>_______________________________________________
> 
> 
> :) Thanks sofar, at least I don't feel like an idiot anymore. 

actually it took me 4 boxes to reproduce, I ALMOST thought I was crazy 
myself. Here's the error I get on that last machine:

cc -I/var/build/svgalib-1.4.3/include -I. -MM 
/var/build/svgalib-1.4.3/gl/grlib.c /var/build/svgalib-1.4.3/gl/driver.c 
/var/build/svgalib-1.4.3/gl/line.c /var/build/svgalib-1.4.3/gl/palette.c 
/var/build/svgalib-1.4.3/gl/scale.c /var/build/svgalib-1.4.3/gl/text.c 
/var/build/svgalib-1.4.3/gl/font8x8.c 
/var/build/svgalib-1.4.3/gl/cbitmap.c /var/build/svgalib-1.4.3/gl/mem.c 
 >>.depend.gl
cc -Wall -Wstrict-prototypes -fPIC -I/var/build/svgalib-1.4.3/include 
-I. -Wall -Wstrict-prototypes -fPIC -I/var/build/svgalib-1.4.3/include 
-I. -O2 -mcpu=i686 -march=i686   -c -o grlib.o 
/var/build/svgalib-1.4.3/gl/grlib.c
cc -Wall -Wstrict-prototypes -fPIC -I/var/build/svgalib-1.4.3/include 
-I. -Wall -Wstrict-prototypes -fPIC -I/var/build/svgalib-1.4.3/include 
-I. -O2 -mcpu=i686 -march=i686   -c -o driver.o 
/var/build/svgalib-1.4.3/gl/driver.c
/tmp/cc43vSRz.s: Assembler messages:
/tmp/cc43vSRz.s:156: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:224: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:259: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:328: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:461: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:493: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:547: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:2375: Warning: using `%dx' instead of `%edx' due to `w' 
suffix
/tmp/cc43vSRz.s:2377: Warning: using `%dx' instead of `%edx' due to `w' 
suffix
/tmp/cc43vSRz.s:2415: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:2417: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:2504: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:2506: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:2554: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:2556: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:2616: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:2618: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:2728: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:2770: Warning: using `%dx' instead of `%edx' due to `w' 
suffix
/tmp/cc43vSRz.s:2772: Warning: using `%dx' instead of `%edx' due to `w' 
suffix
/tmp/cc43vSRz.s:3044: Warning: using `%dx' instead of `%edx' due to `w' 
suffix
/tmp/cc43vSRz.s:3046: Warning: using `%dx' instead of `%edx' due to `w' 
suffix
/tmp/cc43vSRz.s:3176: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:3222: Warning: using `%cx' instead of `%ecx' due to `w' 
suffix
/tmp/cc43vSRz.s:3224: Warning: using `%cx' instead of `%ecx' due to `w' 
suffix
/tmp/cc43vSRz.s:3608: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:3641: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:3688: Error: suffix or operands invalid for `movzbl'
/tmp/cc43vSRz.s:4530: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:4532: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:4548: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:4550: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:4566: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:4568: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:4584: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:4586: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:4610: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
/tmp/cc43vSRz.s:4612: Warning: using `%ax' instead of `%eax' due to `w' 
suffix
make[1]: *** [driver.o] Error 1
make[1]: Leaving directory `/var/build/svgalib-1.4.3/sharedlib'
make: *** [sharedlib/libvgagl.so.1.4.3] Error 2


as you can see my optimizations are quite modest. also PSAFE and other 
flag don't see to have any effect as this even breaks compile outside of 
lunar tools/optimizations. The only remainder is kernel headers or 
something similar, because they are different per selected kernel 
(especially with 2.4). What kernel are your /usr/include/asm|linux from ?

sofar


More information about the Lunar mailing list