Pagina 1 di 1

Compilazione fallita: virtual memory exhausted

Inviato: ven 12 mag 2006, 21:04
da whites11
Ciao.
sto cercando di compilare un firmware con una apposita toolchain e mi si blocca tutto a un certo punto con questo errore...ma che vuol dire???????

Codice: Seleziona tutto

make V=99
cp .config .config.test
scripts/configtest.pl
make toolchain/install target/compile package/compile root_clean package/install target/install package_index
make[1]: Entering directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt'
make -C toolchain install
make[2]: Entering directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt/toolchain'
make[2]: Leaving directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt/toolchain'
make -C target compile
make[2]: Entering directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt/target'
make -C linux prepare
make[3]: Entering directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt/target/linux'
make -C ar7-2.4 BOARD="ar7" prepare
make[4]: Entering directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt/target/linux/ar7-2.4'
make[4]: *** virtual memory exhausted.  Stop.
make[4]: Leaving directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt/target/linux/ar7-2.4'
make[3]: *** [2.4/ar7-prepare] Error 2
make[3]: Leaving directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt/target/linux'
make[2]: *** [linux-prepare] Error 2
make[2]: Leaving directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt/target'
make[1]: *** [target/compile] Error 2
make[1]: Leaving directory `/home/whites/Desktop/whites/openwrt/trunk/openwrt'
make: *** [world] Error 2
mandi

Inviato: ven 12 mag 2006, 22:08
da Sari
Durante l'operazione di compilazione il compilatore non ha trovato memoria libera da alloccare. Potrebbe essere un problema di ottimizzazioni troppo spinte o di codice realmente "complesso", magari qualche template particolarmente corposo. Se hai un Pc non proprio moderno è auspicabile che sia questo il motivo. Di fatto non mi è mai capitato un errore simile hehe. Comunque, se fossi in te prima di cercare una soluzione proverei a killare tutti i processi inutili per una compilazione, come X, per liberare più memoria possibile.

Inviato: ven 12 mag 2006, 22:30
da whites11
grazie per la risposta!
in ogni caso ho deciso di rinunciare al progetto...