ps3dev / ps3toolchain

A script to autobuild an open source toolchain for the PS3.
BSD 2-Clause "Simplified" License
283 stars 92 forks source link

Compile Error (003-newlib-1.19.0-PPU.sh) #22

Closed nexys closed 13 years ago

nexys commented 13 years ago

I'm getting this Error on Ubuntu 10.10 64bit:

../../../../../../../newlib/libc/sys/lv2/autolock.c:16: error: wrong number of arguments specified for 'constructor' attribute

zeldin commented 13 years ago

Hi.

What version of ppu-gcc are you using?

nexys commented 13 years ago

ppu-gcc (GCC) 4.1.1

zeldin commented 13 years ago

Ok. Prioritized constructors were added in gcc 4.3, so you'll need to upgrade your gcc. I suggest using the gcc 4.5.2 which ps3toolchain automatically builds for you.

nexys commented 13 years ago

yes i did. now everythink works fine