[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems building amarok 1.4.4 on sparc



Gah, looks like I totally screwed up with cutting and pasting, the 
relevant part of the message is included below. Sorry about the noise.

> Hi Ana,
> 
> The problem with amarok is not sparc-specific, it just gets triggered 
> on code which is only built on sparc. Here's the illustration of it on 
> i386 machine:
> 
> jurij@droopy:~$ gcc --version
> gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> jurij@droopy:~$ cat test.c
> static __inline__ void 
> flush_register_windows(void) { asm volatile ("ta 0x83"); }
> jurij@droopy:~$ gcc -c test.c
> jurij@droopy:~$ gcc -c test.c -std=iso9899:1990
> test.c: In function 'flush_register_windows':
> test.c:2: error: 'asm' undeclared (first use in this function)
> test.c:2: error: (Each undeclared identifier is reported only once
> test.c:2: error: for each function it appears in.)
> test.c:2: error: expected ';' before 'volatile'
> jurij@droopy:~$ 
> 
> So the test.c code (similar to one which triggers the error in the 
> actual build) is built fine with gcc, however fails to build with the
> -std=iso9899:1990 option, which amarok appears to be using. I don't 
> really know the effect of this option, figuring it out might help in 
> solving this bug.
> 
> Best regards,
> -- 
> Jurij Smakov                                           jurij@wooyd.org
> Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-sparc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Jurij Smakov                                           jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC



Reply to: