Package: ogre
Version: 0.15.2-1
Severity: normal

ogre fails to build from source on sparc, duplicated on sparc pbuilder.

if sparc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../../OgreMain/include -I../../.
./OgreMain/include -I../../../Tools/LightwaveConverter/include    -g -O2  -MT Li
ghtwaveConverter-main.o -MD -MP -MF ".deps/LightwaveConverter-main.Tpo" -c -o Li
ghtwaveConverter-main.o `test -f 'main.cpp' || echo './'`main.cpp; \
then mv -f ".deps/LightwaveConverter-main.Tpo" ".deps/LightwaveConverter-main.Po
"; else rm -f ".deps/LightwaveConverter-main.Tpo"; exit 1; fi
In file included from /usr/include/asm-sparc/io.h:9,
                 from /usr/include/asm/io.h:11,
                 from main.cpp:12:
/usr/include/linux/ioport.h:91: error: parse error before `new'
/usr/include/linux/ioport.h:92: error: parse error before `new'
/usr/include/linux/ioport.h:93: error: parse error before `new'
/usr/include/linux/ioport.h:94: error: parse error before `new'
/usr/include/linux/ioport.h:99: error: `allocate_resource' declared as function 
   returning a function
/usr/include/linux/ioport.h:100: error: parse error before `void'
In file included from /usr/include/linux/thread_info.h:20,
                 from /usr/include/asm-sparc/system.h:10,
                 from /usr/include/asm/system.h:11,
                 from /usr/include/asm-sparc/io.h:12,
                 from /usr/include/asm/io.h:11,
                 from main.cpp:12:
/usr/include/linux/bitops.h: In function `int get_bitmask_order(unsigned int)':
/usr/include/linux/bitops.h:78: error: `fls' undeclared (first use this 
   function)
/usr/include/linux/bitops.h:78: error: (Each undeclared identifier is reported 
   only once for each function it appears in.)
In file included from /usr/include/asm/io.h:11,
                 from main.cpp:12:
/usr/include/asm-sparc/io.h: At global scope:
/usr/include/asm-sparc/io.h:16: error: syntax error before `(' token
/usr/include/asm-sparc/io.h:21: error: syntax error before `(' token
/usr/include/asm-sparc/io.h:39: error: syntax error before `(' token
/usr/include/asm-sparc/io.h:44: error: syntax error before `(' token
/usr/include/asm-sparc/io.h:49: error: syntax error before `(' token
/usr/include/asm-sparc/io.h:54: error: `u8' was not declared in this scope
/usr/include/asm-sparc/io.h:54: error: parse error before `,' token
/usr/include/asm-sparc/io.h: In function `void __raw_writeb(...)':
/usr/include/asm-sparc/io.h:56: error: parse error before `*' token
/usr/include/asm-sparc/io.h: At global scope:
/usr/include/asm-sparc/io.h:59: error: `u16' was not declared in this scope
/usr/include/asm-sparc/io.h:59: error: parse error before `,' token
/usr/include/asm-sparc/io.h: In function `void __raw_writew(...)':
/usr/include/asm-sparc/io.h:61: error: parse error before `*' token
/usr/include/asm-sparc/io.h: At global scope:
/usr/include/asm-sparc/io.h:64: error: `u32' was not declared in this scope
/usr/include/asm-sparc/io.h:64: error: parse error before `,' token
/usr/include/asm-sparc/io.h: In function `void __raw_writel(...)':
/usr/include/asm-sparc/io.h:66: error: parse error before `*' token
/usr/include/asm-sparc/io.h: At global scope:
/usr/include/asm-sparc/io.h:121: error: syntax error before `(' token
/usr/include/asm-sparc/io.h:126: error: syntax error before `(' token
/usr/include/asm-sparc/io.h:131: error: syntax error before `(' token
/usr/include/asm-sparc/io.h:136: error: `u8' was not declared in this scope
/usr/include/asm-sparc/io.h:136: error: parse error before `,' token
/usr/include/asm-sparc/io.h: In function `void _sbus_writeb(...)':
/usr/include/asm-sparc/io.h:138: error: parse error before `*' token
/usr/include/asm-sparc/io.h: At global scope:
/usr/include/asm-sparc/io.h:141: error: `u16' was not declared in this scope
/usr/include/asm-sparc/io.h:141: error: parse error before `,' token
/usr/include/asm-sparc/io.h: In function `void _sbus_writew(...)':
/usr/include/asm-sparc/io.h:143: error: parse error before `*' token
/usr/include/asm-sparc/io.h: At global scope:
/usr/include/asm-sparc/io.h:146: error: `u32' was not declared in this scope
/usr/include/asm-sparc/io.h:146: error: parse error before `,' token
/usr/include/asm-sparc/io.h: In function `void _sbus_writel(...)':
/usr/include/asm-sparc/io.h:148: error: parse error before `*' token
make[4]: *** [LightwaveConverter-main.o] Error 1
make[4]: Leaving directory `/tmp/buildd/ogre-0.15.2/build-tree/ogre-free/Tools/L
ightwaveConverter/src'



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to