aMule Forum
English => en_Bugs => Topic started by: trumpton on May 04, 2004, 10:01:30 PM
-
When Compiling amule, I get an error message as shown below:
make[2]: Entering directory `/home/steve/src/amule/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -MT amule-muuli_wdr.o -MD -MP -MF ".deps/amule-muuli_wdr.Tpo" \
-c -o amule-muuli_wdr.o `test -f 'muuli_wdr.cpp' || echo './'`muuli_wdr.cpp; \
then mv ".deps/amule-muuli_wdr.Tpo" ".deps/amule-muuli_wdr.Po"; \
else rm -f ".deps/amule-muuli_wdr.Tpo"; exit 1; \
fi
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See for instructions.
make[2]: *** [amule-muuli_wdr.o] Error 1
make[2]: Leaving directory `/home/steve/src/amule/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/src/amule'
make: *** [all] Error 2
It's not very helpful, but in my case, was caused by insufficient memory. Hint is to start the perf meter, and watch its resource usage climb until crash.
Solution is to add more memory, or swapspace:
dd if=/dev/zero of=/swapfile bs=1024 count=512000
mkswap -p 1 /swapfile
swapon /swapfile
And then try a re-compile.
Note that the swap adding shown above is purely temporary, and won't survive a reboot (well, the file will stay, but it will need to be re-swaponned next time). To make this permanent, a swapfile entry needs to go in /etc/fstab.
Steve
-
hiya and thanky,
other solution would be to reboot without X and recompile amule
greets